What does gap mean? What is its importance? When can I tell which gap is good enough to stop the code?
AnsweredHello! I am new to gurobi and would like to learn. Now I am running a model and I would like to understand the information it gives me during the process. mainly what is the gap
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?. -
Some information about the gap and other MIP basics can be found here.
The question which gap is good enough to stop the code cannot be answered in general. A gap of 0 is obviously always good enough to stop the code, but the runtime might not be acceptable. If a larger gap is ok for you highly depends on your requirements. In many cases, the default settings might be ok, I guess.
Best regards,
Thomas0
Post is closed for comments.
Comments
2 comments