Tunes the parameters for improved optimizer performance
on the current model while leaving some parameters unchanged.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 20.1.0.0
Syntax
| C# |
|---|
public virtual int TuneParam( Cplex..::..ParameterSet fixedset ) |
| Visual Basic |
|---|
Public Overridable Function TuneParam ( _ fixedset As Cplex..::..ParameterSet _ ) As Integer |
Parameters
- fixedset
- Type: ILOG.CPLEX..::..Cplex..::..ParameterSet
The parameters and their values which should not be changed by tuning.
Return Value
A value reporting the completion of tuning. The values will be from the enumeration TuningStatus.
Remarks
Tuning is carried out by CPLEX making a number of trial runs
with a variety of parameter settings.
Upon return, the values of the parameters in the Cplex
object will be set to their tuned values. These values
may be queried or written to a file. There will not be
a solution to the model.
The parameter TuningRepeat specifies how many problem variations to try while tuning. Using a number of variations can give more robust results when tuning is applied to a single model. The TuningMeasure is meaningful only when TuningRepeat is more than one.
The following parameters control the tuning process and all other parameter settings are ignored.
- TiLim: Limits the total time spent tuning
- DetTiLim: Limits the total deterministic time spent tuning
- TuningTiLim: Limits the time of each trial run
- TuningMeasure: Specifies how to compare tuning results
- TuningRepeat: Controls the number of problem variations to use
- TuningDisplay: Controls the level of the tuning display
All callbacks, except the tuning callback, will be ignored Tuning will monitor the method Cplex.Aborter.Abort and terminate when an abort has been issued, even in different threads.