The parameters section

The optional section parameters specifies the CP Optimizer parameters that should be used for solving the model.

For example, to use only one worker and not print the log:


parameters {
  Workers = 1;
  LogVerbosity = Quiet;
}

Syntax

The syntax for setting a parameter is parameter = value followed by a semicolon. The section can set zero or more parameter settings:

Depending on the parameter, its value can be a numerical constant (integer or floating point) or a predefined constant such as On, Off, Auto or Quiet. For lists of parameters and their possible values please consult the following sections of the C++ API Reference Manual:

A CPO file may contain multiple parameters sections. Each individual parameter can be set multiple times (even within one section); in this case, the new value overwrites the old value.

Parameter values can be changed both before and after importing a CPO file into CP Optimizer using the appropriate API (e.g. IloCP::setParameter in C++). During the import, only parameters that were explicitly specified in the file are changed.