12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tuning and Time LimitsThe tuning process is affected by two time limit parameters.The overall time limit for the tuning process is set with the general time limit parameter(TiLim, CPX_PARAM_TILIM) .Tuning consists of a series of optimizations of each of the problems to be tuned. The timelimit on each of these optimizations is specified by the tuning time limit parameter(TuningTiLim, CPX_PARAM_TUNINGTILIM). The default value of this parameter is set to avalue much smaller than the default value of the overall time limit, so as to avoid runs ofindeterminate length.The per-problem, per-optimization time limit can also be set using the general time limitparameter (TiLim, CPX_PARAM_TILIM) in a fixed parameter set. Fixing Parameters andTuning Multiple Models in the Interactive Optimizer on page 165 explains more about thatapproach. You would want to set the per-problem, per-optimization time limit in this way ifyou are using a time limit in your usual (non-tuning) runs of the models.Tuning ResultsThe tuning tool selects the best suite of parameter settings based on the performance times ofthe several optimizations of the model or models. Because theperformance times cannot bemeasured exactly, the results of tuning can differ from one tuning run to another if the timesfor the individual optimizations are close.Invoking the Tuning ToolThe tuning tool is available in all components of <strong>ILOG</strong> <strong>CPLEX</strong>: Concert Technology,Callable Library, and Interactive Optimizer.In Concert Technology, you invoke the tuning tool through these methods:◆◆◆IloCplex::tuneParam in the C++ API; see also the example ilotuneset.cpp;IloCplex.tuneParam in the Java API; see also the example TuneSet.java;Cplex.TuneParam in the .NET API; see also the example TuneSet.cs orTuneSet.vb.The tool is also part of the Callable Library (C API) through separate routines for tuning asingle model or a group of models. For more detail about the C routine for tuning a singlemodel or a group of models, see Tuning Models in the Callable Library (C API) onpage 166. For a sample application, see examples/src/cplex/tuneset.c.<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 163

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!