Solution optimality gap inconsistency
Awaiting user inputHello guys, I am running a code and every time I run it I get a different result in terms of time to get the solution and also in terms of optimality gap. The objective function has a different result every time. Is this supposed to be normal?
-
Hi Iason,
Is this supposed to be normal?
If you solve the exact same model on the same machine with the same settings then the behavior you describe is not expected, see Is Gurobi deterministic?
Could you please share log files of different runs and in best case the model for which you observe the behavior? Note that uploading files in the Community Forum is not possible but we discuss an alternative in Posting to the Community Forum.
Best regards,
Jaromił0 -
Jaromił my bad, I had some parameters produced by a probabilistic process. I fixed it and I get deterministic results.
Kind regards
Iason0
Please sign in to leave a comment.
Comments
2 comments