Skip to main content
FRAMES NO FRAMES

IloStepAtEnd

public IloCumulFunctionExpr IloStepAtEnd(const IloIntervalVar a, IloInt v)
Definition file: ilconcert/ilosmodel.h
Elementary cumul function.

This function returns an elementary cumul function expression that, whenever interval variable a is present, is equal to 0 before the end of a and equal to v after the end of a. When interval variable a is absent, the function is the constant zero function.

For more information on cumul function expressions, see the concept Cumul functions in CP Optimizer.


IloStepAtEnd

public IloCumulFunctionExpr IloStepAtEnd(const IloIntervalVar a, IloInt vmin, IloInt vmax)
Definition file: ilconcert/ilosmodel.h
Elementary cumul function.

This function returns an elementary cumul function expression that, whenever interval variable a is present, is equal to 0 before the end of a and equal to a value v such that vmin <= v <= vmax after the end of a. The choice of the value v in the range [vmin,vmax] is a decision of the problem. When interval variable a is absent, the function is the constant zero function.

For more information on cumul function expressions, see the concept Cumul functions in CP Optimizer.