I am happy with the gap between Incumbent and BestBd, can I stop and get the result?
AnsweredDuring the solving process, often the gap between Incumbent and BestBd is good enough for me, say, at 2%. But since the OptimalityTol has to be at 0.01 or lower, it won't stop. Is there a way to tell the solver to stop so I can use the sub-optimal result?
Thanks,
Peter
0
-
Official comment
You can specify this behavior by setting the parameter MIPGap.
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Thanks Juan! It works very well.
0
Post is closed for comments.
Comments
3 comments