Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquimg committed Nov 23, 2024
1 parent 6c7df9e commit a3f3b5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ If you plan to use Xpress_jll, `Pkg.add("Xpress")` will fail because it cannot
find a local installation of Xpress. Therefore, you should set
`XPRESS_JL_SKIP_LIB_CHECK` before installing.

To add a specific version of Xpress with `Xpress_jll` do:

```julia
import Pkg
Pkg.add(name = "Xpress_jll", rev = "v8.14.0")
```

If the version is not found, please open and issue at https://github.com/jump-dev/Xpress_jll.jl

## Use with JuMP

To use Xpress with JuMP, use:
Expand Down
2 changes: 1 addition & 1 deletion src/Xpress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function __init__()
error("XPRESS cannot be loaded. Please run Pkg.build(\"Xpress\").")
end
if !haskey(ENV, "XPRESS_JL_NO_AUTO_INIT") &&
get(ENV, "JULIA_REGISTRYCI_AUTOMERGE", "false") != "true"
get(ENV, "JULIA_REGISTRYCI_AUTOMERGE", "false") != "true"
initialize()
end
return
Expand Down

0 comments on commit a3f3b5a

Please sign in to comment.