Skip to main content

Presolve disabled leads to constraint violation

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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    Hi Max,

    My guess is that this could be due to my big-M, which is quite large and applies to all constraints and presolve cleans that up and thus no numerical errors show up.

    Yes, your guess is very likely correct. Presolve does not only reduce the number of columns and rows but it often improves the behavior of numerically difficult models by, e.g., scaling. Obviously, it is best to try to formulate a well-scaled model but Presolve can often handle some numerical issues.

    Our Guidelines for Numerical Issues are a good starting point to improve the numerical properties of a model.

    Best regards, 
    Jaromił

    0
  • Maximilian Roth
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks a lot Jaromił! :)

    0

Post is closed for comments.