How to set objective upper bound?
AnsweredIs there a way to manually set an objective upper bound for a minimization MIP model?
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 Wei -
Have you had a look at the Cutoff parameter? I think it should work for you.
Gwyneth
0 -
And how should I set it? It is not one of the model attributes where I can just do model.setAttr
0 -
This is because it is a parameter, not an attribute.
The various Gurobi APIs all provide routines for querying and modifying parameter values. Please refer to our Parameter Examples for additional information.
Gwyneth
0
Post is closed for comments.
Comments
4 comments