Skip to main content

Can we reuse the presolve in a subsequent run?

Answered

Comments

2 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.
  • Riley Clement
    • Gurobi Staff

    Hi Gabrijela,

    The aim of presolve is to reduce the model size while ensuring at least one optimal solution still remains.  It may remove parts of the feasible region in doing so.  The effect of the presolve is therefore related to your objective function and so it cannot be "reused" between models with different objective functions (or between models in general).

    You can turn presolve off entirely by setting Presolve=0.  You could also see whether Presolve=1 (conservative presolve) or setting PrePasses to a low value (perhaps try 0 or 1 initially) has the desired effect.

    Also, if you're solving many models where only the objective function coefficients are changing then perhaps consider test-driving our Multi-Scenario functionality.

    - Riley

    0

Post is closed for comments.