Overview | Group | Index | Concepts |
The routine CPXtuneparamprobset
tunes the parameters of
the environment for improved optimizer performance for a set
of problems. Tuning is carried out by making a number
of trial runs with a variety parameter settings.
Parameters and associated values which should not be
changed by the tuning process (known as the fixed parameters) can be
specified as arguments.
After CPXtuneparamprobset
has finished, the environment will
contain the combined fixed and tuned parameter settings, which the user
can query or write to a file.
All callbacks, except the tuning
callback, will be ignored.
Tuning will monitor the value set by
CPXsetterminate
and terminate when this value is set.
A few of the parameter settings in the environment control the tuning process. They are specified in the table below; other parameter settings in the environment are ignored.
Parameter | Use |
CPX_PARAM_TILIM | Limits the total time spent tuning |
CPX_PARAM_TUNINGTILIM | Limits the time of each trial run |
CPX_PARAM_TUNINGMEASURE | Controls the tuning evaluation measure |
CPX_PARAM_TUNINGDISPLAY | Controls the level of the tuning display |
CPX_PARAM_SCRIND | Controls screen output |
The value tunestat
is 0 (zero) when tuning has completed
and nonzero when it has not. The two nonzero statuses are
CPX_TUNE_ABORT
, which will be set when the
terminate value passed to CPXsetterminate
is set,
and CPX_TUNE_TILIM
, which will be set when the time
limit specified by CPX_PARAM_TILIM
is reached.
Tuning will set any parameters which have been chosen even when
tuning is not completed.
env | A pointer to the CPLEX environment, as returned by |
filecnt | An integer that specifies the number of problem files. |
filename | An array of length |
filetype | An array of length |
intcnt | An integer that specifies the number of integer parameters to be fixed during tuning. This argument specifies the length of the arrays |
intval | An array containing the values for the parameters listed in |
dblcnt | An integer that specifies the number of double parameters to be fixed during tuning. This specifies the length of the arrays |
dblval | An array containing the values for the parameters listed in |
strcnt | An integer that specifies the number of string parameters to be fixed during tuning. This specifies the length of the arrays |
strval | An array containing the values for the parameters listed in |
tunestat_p | A pointer to an integer to receive the tuning status. |