During 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?
I use Yalmip and Matlab to model the MILP problem.
Here is my code to build solve problem
ops = sdpsettings('solver', 'gurobi');
How do I achieve my purpose?
Please sign in to leave a comment.