Skip to content

Commit a3f3b5a

Browse files
committed
Improve readme
1 parent 6c7df9e commit a3f3b5a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@ If you plan to use Xpress_jll, `Pkg.add("Xpress")` will fail because it cannot
9696
find a local installation of Xpress. Therefore, you should set
9797
`XPRESS_JL_SKIP_LIB_CHECK` before installing.
9898

99+
To add a specific version of Xpress with `Xpress_jll` do:
100+
101+
```julia
102+
import Pkg
103+
Pkg.add(name = "Xpress_jll", rev = "v8.14.0")
104+
```
105+
106+
If the version is not found, please open and issue at https://github.com/jump-dev/Xpress_jll.jl
107+
99108
## Use with JuMP
100109

101110
To use Xpress with JuMP, use:

src/Xpress.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function __init__()
7373
error("XPRESS cannot be loaded. Please run Pkg.build(\"Xpress\").")
7474
end
7575
if !haskey(ENV, "XPRESS_JL_NO_AUTO_INIT") &&
76-
get(ENV, "JULIA_REGISTRYCI_AUTOMERGE", "false") != "true"
76+
get(ENV, "JULIA_REGISTRYCI_AUTOMERGE", "false") != "true"
7777
initialize()
7878
end
7979
return

0 commit comments

Comments
 (0)