Skip to main content

Making MIP converge faster

Answered

Comments

5 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jonasz Staszek
    • Community Moderator
    • Gurobi-versary
    • Thought Leader
    • First Question

    Hi Tanvir,

    recently Matthias wrote a great note about the MIP Gap. It should be able to clarify most of your questions.

    Best regards
    Jonasz

    0
  • Krypt
    • Gurobi-versary
    • Investigator
    • Conversationalist

    This helps indeed. However, I am still wondering if there is any way to terminate early, especially in cases where I know that the current optimal objective is good enough for me. I tried increasing the MIPGap for early termination, but it does not work. For example, in the above screenshot, I see that 44.5% gap gives me a good enough solution. So I tried MIPGap = 50% so that it terminates early. But it then gets stuck at 58% for a long time probably because the solver takes a different path according to the article you mentioned.

    Is there anything I can do to terminate early?

    0
  • Jonasz Staszek
    • Community Moderator
    • Gurobi-versary
    • Thought Leader
    • First Question

    Hi Tanvir,

    maybe changing MIPFocus to 1 could help?

    Best regards
    Jonasz

    0
  • Krypt
    • Gurobi-versary
    • Investigator
    • Conversationalist

    Thank you Jonasz, I will try it.

    0

Post is closed for comments.