-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gurobi 9.5.0 -- Unable to locate Gurobi installation. Running some common diagnostics #440
Comments
You must be running an old version of Gurobi. Please update: import Pkg; Pkg.update() If you run Pkg.status() You should see Remember to restart Julia after updating for the changes to take effect. |
I assume people are running into this problem because |
Ah, probably. You can only use Gurobi 9.5 on the most recent release of JuMP (v0.22). |
Ok, so I did the following ] add MathOptInterface and got Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Some registries failed to update:
│ — /Users/berenz/.julia/registries/General — failed to fetch from repo
└ @ Pkg.Types /Applications/Julia-1.6.app/Contents/Resources/julia/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1246
Resolving package versions...
Updating `~/git/uczelnia/ewaluacja-optymalizacja/Project.toml`
[b8f27783] + MathOptInterface v0.9.22 Then I restarted julia and forced to use the newest version of ] add JuMP#master and got Updating git-repo `https://github.com/jump-dev/JuMP.jl.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package MathOptInterface [b8f27783]:
MathOptInterface [b8f27783] log:
├─possible versions are: 0.5.0-0.10.3 or uninstalled
└─restricted to versions 0.10.4-0.10 by JuMP [4076af6c] — no versions left
└─JuMP [4076af6c] log:
├─possible versions are: 0.22.1 or uninstalled
└─JuMP [4076af6c] is fixed to version 0.22.1 Here's the list of packages that I am using in this project [8be319e6] Chain v0.4.8
[a93c6f00] DataFrames v1.2.2
[1313f7d8] DataFramesMeta v0.10.0
[864edb3b] DataStructures v0.18.10
[da1fdf0e] FreqTables v0.4.5
[2e9cd046] Gurobi v0.9.14
[7073ff75] IJulia v1.23.2
[b6b21f68] Ipopt v0.7.0
[4076af6c] JuMP v0.21.10
[b8f27783] MathOptInterface v0.9.22
[86f7a689] NamedArrays v0.9.6
[b98c9c47] Pipe v1.3.0
[fdbf4ff8] XLSX v0.7.8 and my session info Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, haswell) |
No, you need Try ] rm JuMP MathOptInterface Gurobi Ipopt
] up
] add JuMP Gurobi Ipopt |
Did you resolve this problem? |
Closing as stale. Please install the latest version of Gurobi.jl. |
I installed
gurobi9.5.0_macos_universal2.pkg
for MacOS 11.6.1 (Macbook pro Late 2013, Quad-Core Intel Core i7) and then I wanted to installGurobi.jl
for Julia 1.6.2 as the readme file states thatGurobi.jl
supports 9.5.0. So I run the following code:and after the build command, I got the following errors listed below. I see that there is information
Gurobi.jl only supports the following versions: gurobi91, gurobi90
. So is the 9.5.0 supported? To verify I also installed GitHub version of your package and I got the same errors.The text was updated successfully, but these errors were encountered: