Skip to main content

Presolve is successful in removing all binary variables

Answered

Comments

2 comments

  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    Hi Hussein,

    What does it mean when gurobi uses the Presolve, and now the Presolve removes all binary variables? Does that mean the problem can be formulated without binary variables? 

    Theoretically, yes, this means that your model could be formulated in an equivalent way without binaries. However, please note that Presolve does not consist of only simple aggregations or substitutions. There are presolve reductions which are more tedious and not at all trivial to execute by hand such as combining rows or probing. You can find more details in the Knowledge Base article How does presolve work?

    You can write out the presolved model to a file via the presolve and the write methods. Maybe you can deduce something from the presolved model.

    Best regards, 
    Jaromił

    1
  • Hussein Sharadga
    • Gurobi-versary
    • Investigator
    • Conversationalist

    Dear Dr. Jaromił Najman

    Thank you so much.

    Hussein

    0

Please sign in to leave a comment.