Manually set a best bound
AnsweredHi,
Is there any way to manually set a best bound to a problem ? It might speed up computations if one has a way to find a more restrictive bound than the LP relaxation one.
Thank you very much,
Anthony
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 Anthony,
One way would be to add a constraint to bound your objective, e.g., \(obj \geq myBound\). Note that this is not guaranteed to accelerate the optimization process.
You could also try using callbacks to add user cuts in the case that you can somehow recompute better bounds than the ones provided by the solver.
Best regards,
Jaromił0 -
Hi Anthony,
Please also have a look at our Knowledge Base article How do I pass a lower bound to Gurobi?
Best regards,
Jaromił0
Post is closed for comments.
Comments
3 comments