Skip to main content
FRAMES NO FRAMES

IloSizeEval

public IloNumExprArg IloSizeEval(const IloIntervalVar a, const IloNumToNumSegmentFunction f, IloNum absVal=0)
Definition file: ilconcert/ilosmodel.h
Returns expression based on the size of the interval variable.

This function returns a numerical expression that represents the value of function f evaluated on the size of interval variable a whenever the interval variable is present. When the interval variable is absent, it returns the constant numerical value absVal (zero by default).

For more information on expressions on interval variables, see the concept Expressions over Interval Variables.