Skip to main content

MIP faster than its relaxation

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • 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?.
  • Eli Towle
    • Gurobi Staff

    Yes, the difference is probably due to presolve. LP presolve isn't exactly the same as MIP presolve. On the LP:

    Presolve removed 199711 rows and 197457 columns
    Presolve time: 1.49s
    Presolved: 62222 rows, 61266 columns, 252112 nonzeros

    On the MIP, Gurobi reduces the model even further:

    Presolve removed 223213 rows and 221193 columns
    Presolve time: 7.64s
    Presolved: 38720 rows, 37530 columns, 173928 nonzeros
    The presolved LP model is ~50% larger than the presolved MIP model and takes awhile to solve. Meanwhile, Gurobi solves the root relaxation of the presolved MIP model fairly quickly, then finds a near-optimal heuristic solution at the root node almost instantly. I agree this behavior is strange, but it makes sense when considering the size differences of the presolved models.
    1
  • Steffan Widemann
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks for the answer Eli!

    0

Post is closed for comments.