Skip to main content
FRAMES NO FRAMES

Enumeration NumParam

Definition file: ilcp/cp.h
Integer parameter for IloCP.

An enumeration for the class IloCP.

Floating-point parameters.

Fields

OptimalityTolerance = 1001

This parameter sets an absolute tolerance on the objective value for optimization models. This means that when CP Optimizer reports an optimal solution found, then there is no solution which improves the objective by more than the value of this parameter. The default value of this parameter is 0.

This parameter is used in conjunction with IloCP::RelativeOptimalityTolerance. The optimality of a solution is proven if either of the two parameters' criteria is fulfilled.

RelativeOptimalityTolerance = 1002

This parameter sets a relative tolerance on the objective value for optimization models. This means that when CP Optimizer reports an optimal solution found, then there is no solution which improves the objective by more than the absolute value of the objective times the value of this parameter. The default value of this parameter is 1e-4.

This parameter is used in conjunction with IloCP::OptimalityTolerance. The optimality of a solution is proven if either of the two parameters' criteria are fulfilled.

TimeLimit = 1003

This parameter limits the CPU time spent solving before terminating a search. The time is given in seconds. The possible values of this parameter range from 0 to IloInfinity. A value of IloInfinity does not set any limit. The value IloInfinity is the default value.

RestartGrowthFactor = 1004

When IloCP::SearchType is set to IloCP::Restart, a depth-first search is restarted after a certain number of failures. This parameter controls the increase of this number between restarts. If the last fail limit was f after a restart, for next run, the new fail limit will be f times the value of this parameter. Possible values of this parameter range from 1.0 to IloInfinity. The default value is 1.15. The initial fail limit can be controlled with the parameter IloCP::RestartFailLimit.

DynamicProbingStrength = 1005

This parameter controls the effort which is dedicated to dynamic probing. It determines the ratio P/R where P is the effort dedicated to dynamic probing, and R is the rest of the search effort. Changing this parameter has no effect unless the IloCP::DynamicProbing parameter is set to IloCP::Auto or IloCP::On. When IloCP::DynamicProbing has value IloCP::On, the probing strength is held constant throughout the search process. When IloCP::DynamicProbing has value IloCP::Auto, the probing strength starts off at the specified value and is thereafter adjusted automatically.

Possible values for this parameter range from 0.001 to 1000. A value of 1.0 indicates that dynamic probing will consume a roughly equal amount of effort as the rest of the search. The default value of this parameter is 0.03, meaning that around 3% of total search time is dedicated to dynamic probing.

ConflictRefinerTimeLimit = 1012

This parameter limits the CPU time spent before terminating the conflict refiner. The possible values of this parameter range from 0 to IloInfinity. A value of IloInfinity does not set any limit. The value IloInfinity is the default value.

FailureDirectedSearchEmphasis = 1018

This parameter controls how much time CP Optimizer invests into failure-directed search once it is started. The default value Auto means that CP Optimizer observes the performance of failure-directed search and decides automatically how much time is invested. Any other value means that once failure-directed search has started, it is used by the given number of workers. The value does not have to be integer. For example, a value of 1.5 means that the first worker spends 100% of its time on failure-directed search, the second worker spends 50% of its time on failure-directed search, and the remainder spend none of their time. See also Workers

For more information about failure-directed search see parameter FailureDirectedSearch

.