If your problem is quickly resolved, you can try to limit the target from above. For example, if the objective value of the optimal solution is X , try restarting the problem with an additional restriction:
problem += objective <= X - eps, ""
where the eps recovery step depends on your knowledge of the problem.
Of course, if you just pick eps blindly and get a solution, you donβt know if the solution is second best, 10th best or 1000th best ... But you can do a systematic search (binary, grid) by eps parameter (if the problem is really quickly resolved).
source share