Feasible heuristic solution?
AnsweredMy apologies if doing this is simple and obvious, but I have been unable to find the appropriate documentation. I have a binary IP that takes a while to solve, and I'm interested instead in getting a quick feasible heuristic solution without taking the extra time to solve to optimality. Is this possible with Gurobi? Thank you.
0
-
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?. -
Hi Antonio,
Yes, you can do this by setting the SolutionLimit parameter to 1.
There are a variety of other ways you can direct Gurobi to terminate early. For example, you can tell Gurobi to terminate after a certain amount of time has elapsed or once a certain objective bound value has been reached. See the "Termination" section here for other ideas.
I hope this helps!
Eli
0
Post is closed for comments.
Comments
2 comments