Skip to main content
FRAMES NO FRAMES

IloVarSuccessRate

public IloIntVarEval IloVarSuccessRate(IloEnv env)
Definition file: ilcp/cp.h
Returns a variable evaluator which evaluates the success rate of a variable.

This function returns a variable evaluator. The evaluation is the the success rate of the variable. Assuming the evaluated variable has been instantiated n times so far and this has resulted in f failures, the success rate is (n-f)/n.

See Also: