After upgrading the gurobi version from 9.5 to 10.0.1, the model solution result is wrong? #1262
-
Hi Johan and everyone.
Attached is the program I have written for your reference.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 25 replies
-
Hello, according to the process of looking for the problem, I changed the solver version, replaced the original 10.0.1 with the 9.5.1 version, and found that the result is still not wrong.
I would like to ask if there is a mismatch between yalmip and the gurobi version. |
Beta Was this translation helpful? Give feedback.
-
if the only thing that differs is the YALMIP version, and you get the wrong solution in the latest version but correct in an older, then obviously something is wrong in the latest version of YALMIP, and you would have to reveal which old version you are using |
Beta Was this translation helpful? Give feedback.
What I am saying is that many solvers have bugs in their presolve routine, so it is always the first time I tweak when trying to understand why a solver computes the wrong thing. Set gurobi.presolve to 0