Skip to main content
FRAMES NO FRAMES

IloValueSuccessRate

public IloIntValueEval IloValueSuccessRate(IloEnv env)
Definition file: ilcp/cp.h
Returns a value evaluator giving the success rate when instantiating a variable.

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

See Also: