Gurobi not working in v9.15 #5026
Replies: 4 comments 3 replies
-
|
I can confirm that the most recent combination of ortools and gurobi that works is ortools 9.14.6206 with gurobi 12.0.3 ortools 9.15.6206 does not seem to work with gurobi 13.0.1, 13.0.0, or 12.0.3, even when I specify the correct path for os.environ["GUROBI_HOME"] |
Beta Was this translation helpful? Give feedback.
-
|
If your code is not too big, can you try with ortools.linear_solver.python.model_builder ? |
Beta Was this translation helpful? Give feedback.
-
|
I can second that I can't get any Gurobi version (11.0.1, 12.0.2, or 13.0.0) to work with ortools v9.15.6755. I am running in python, and always receive a segmentation fault on trying to call Simplest example to cause seg fault: I tried running in gdb and got this at the end of the backtrace: |
Beta Was this translation helpful? Give feedback.
-
v9.15 can't detect gurobi 13.0.1 or-tools/ortools/third_party_solvers/gurobi_environment.cc Lines 340 to 341 in 551ad10 main should be able to: or-tools/ortools/third_party_solvers/gurobi_environment.cc Lines 341 to 342 in 5cf2345
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the Gurobi 13 license, and it works fine in my python when I use it with gurobipy
But there is an issue when I try to solve a problem with mathopt and the gurobi solver.
Here is my environment, built with uv
And here is my python code
And the output:
Any idea what the issue is?
Beta Was this translation helpful? Give feedback.
All reactions