Rosepy parameter name: presolve
Default value: On
The presolver option enables or disables the presolve phase of the optimization process. Presolve is a preprocessing step that attempts to simplify the mathematical model before it is passed to the main solver. This process can identify and eliminate redundant constraints, fix variable values through bounds tightening, detect infeasibilities early, and reduce the problem size, often improving solver efficiency.
On
Rosepy parameter value: on
When the presolver is set to on (the default), the solver applies a series of presolve routines automatically. This can lead to faster solve times, especially for large or complex models, by reducing the size and complexity of the problem passed to the solver. It is generally recommended to keep presolve enabled unless there is a specific reason to disable it.
Off
Rosepy parameter value: off
When the presolver is set to off, the solver skips all presolve steps and works directly with the original model as provided. This may be useful for debugging purposes, for educational demonstrations where preserving the original model structure is important, or in rare cases where presolve interferes with a model’s structure or intended behavior. Disabling presolve may result in longer solve times or difficulty solving certain models.
Comments
0 comments
Please sign in to leave a comment.