Can we reuse the presolve in a subsequent run?
AnsweredHi! I am wondering if it is possible to skip/reuse the presolve when solving the same model (with some objective function coefficient change) more than once? I am solving a model which has a very long presolve time but otherwise is efficient. As I solve it many times, I would like to speed up the presolve phase.
Thanks!
-
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
Please sign in to leave a comment.
Comments
1 comment