Skip to main content

What does gap mean? What is its importance? When can I tell which gap is good enough to stop the code?

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    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?.
  • Thomas Opfer
    • Gurobi-versary
    • Thought Leader

    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,
    Thomas

    0

Post is closed for comments.