Skip to main content
FRAMES NO FRAMES

IloSizeOf

public IloIntExprArg IloSizeOf(const IloIntervalVar a, IloInt absVal=0)
Definition file: ilconcert/ilosmodel.h
Returns an expression representing the size of the interval variable.

This function returns an integer expression that represents the size of interval variable a whenever the interval variable is present. When the interval variable is absent, it returns the constant integer value absVal (by default: 0).

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