-
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
Unable to Install Gurobi 10.0.1 version for julia #512
Comments
I also tried with 10.0.0 version .... It is still giving the following error. Please help |
I don't think version 10 is supported yet. It says as much when I try to add it.
Interestingly, it says it fails because
but it also does show that there is a similarly named .so file in the directory it searches. I wonder if there is anything fundamentally different in 10 vs 9 that keeps it from working, or if perhaps it's just a hardcoded constraint in the package installation pipeline.
|
Gurobi 10 is supported by Gurobi.jl, but you need a recent version of Gurobi.jl. Do: import Pkg
Pkg.pkg"add Gurobi@1" Then restart Julia. If you get an error, then there is likely another package that is preventing you from installing the latest version of Gurobi.jl. You'll need to delete it before you can install Gurobi. |
It's this: Lines 25 to 30 in 7145c28
We need to maintain a hard-coded list of supported versions because we generate the C API for each particular version: #488 |
using Gurobi@1 I am getting this error |
StochasticPrograms requires MOI v1.3.0: https://github.com/martinbiel/StochasticPrograms.jl/blob/ba8f82c6bd382339160d2e8d21150aaa53d1c17d/Project.toml#L30 Line 12 in 7145c28
Therefore, you cannot use Gurobi v10 with StochasticPrograms.jl. This has already been reported: martinbiel/StochasticPrograms.jl#46, but I don't know if you should expect a fix in the near term. I suggest you uninstall StochasticPrograms.jl, or use a different solver. |
Thanks a Lot. It is working fine now after removing StochasticPrograms.jl |
Glad to hear. Closing because this is not a bug in Gurobi.jl. |
Gurobi.txt
Please refer the attached file for error
The text was updated successfully, but these errors were encountered: