Gurobi/matlab seems not working
AnsweredHi,
I am having some issues solving MILP models with the Gurobi solver. The problem has been occurring since a few days, before that I was always able to solve my models correctly, currently when I try to solve my models this message is produced:
Set parameter IntFeasTol to value 1e-06
Set parameter ScaleFlag to value 1
Set parameter BarIterLimit to value 2000000000
Set parameter CrossoverBasis to value 0
Set parameter MinRelNodes to value 0
Set parameter NodeMethod to value 1
Set parameter PumpPasses to value 0
Set parameter ZeroObjNodes to value 0
Set parameter AggFill to value 10
Set parameter PreSparsify to value 0
Set parameter TuneTrials to value 2
and the solution of the model is not produced. Do you have any suggestions for me?
Thank you, Cecilia
-
Hi Cecilia,
Could you please post the whole output you see?
Please note that the TuneTrials parameters only affects the Gurobi parameter tuning tool and has no effect on normal optimization.
Best regards,
Jaromił0 -
Dear Jaromił,
thank you very much for your reply, unfortunately this is the whole output, it seems that something is blocking the resolution of the model. I am currently using Gurobi 9.5.1 MacOS Universal2 with MatlabR2017b and until a few weeks ago I had no problem solving my models.
Thanks,
Cecilia
0 -
Hi Cecilia,
This makes helping hard. Do you see any error or similar? Did anything change in your setup? Could you try removing parts of your code to make the model work? This might help in isolating the source of error. Could you try executing one of the MATLAB examples provided with a Gurobi installation, e.g., the mip1.m example.
Best regards,
Jaromił0 -
Hi Jaromił,
I can't tell what wasn't working but after several attempts I decided to remove Gurobi and reinstall it and now it seems to be working.
Thanks for the support,
Cecilia0
Please sign in to leave a comment.
Comments
4 comments