Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

set tuning

iLab Assistant

Deprecated

Options/on, /off, /weak, /default, /aggressive
Value
LicenseSHOP_OPEN
Release version13.0.0.a

Tuning CPLEX and OSI

CPLEX and OSI do not have automatic MIP tuning, and so several tuning heuristics can be activated with the command below. In practice, OSI is the solver which has the greatest benefit of MIP tuning.

set tuning /<option>
Comment
onTurn on tuning, use “default” tuning heuristic or heuristic last used
offTurn off tuning
weakTurn on tuning, use “weak” tuning heuristic
defaultTurn on tuning, use “default” tuning heuristic
aggressiveTurn on tuning, use “aggressive” tuning heuristic

If command not set: Tuning is turned off

Turning tuning off and on again does not change the heuristic method used last time. The different heuristics use different values of the parameter ε, which affects the solver tolerance for integer variables. The table below shows the default epsilon values for the different heuristics:

Heuristicε
Default1.0e-5
Weak1.0e-8
Aggressive1.0e-3

This value of ε can also be set directly with the command set_epsilon.

If command not set: Epsilon according to heuristic.

Valid ε values are bounded by: 1.0e-8 ≤ ε ≤ 1.0e-3 .