Tunes the parameters for improved optimizer performance
on a set of models.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual int TuneParam( string[] filenames ) |
| Visual Basic |
|---|
Public Overridable Function TuneParam ( _ filenames As String() _ ) As Integer |
Parameters
- filenames
- Type: array<System..::..String>[]()[][]
An array of fully-qualified file names of the models to be tuned.
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.
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
- 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.