integrality focus
AnsweredHello,
I keep getting non integral values for integral variables anf for continous variables about
-1,1E-07 |
how can i deal with this problem,how can i change the parameters such as Integrality focus and IntFeasTol
Thank you so much.
1
-
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 Hamza,
You can set any Gurobi parameter via the setParam method. An example would be
model.setParam("IntegralityFocus",1)
model.setParam("IntFeasTol",1e-9)Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments