Skip to main content
FRAMES NO FRAMES

IloPulse

public IloCumulFunctionExpr IloPulse(const IloEnv env, IloInt start, IloInt end, IloInt v)
Definition file: ilconcert/ilosmodel.h
Elementary cumul function.

This function returns an elementary cumul function expression that is equal to v between start and end and equal to 0 everywhere else.

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


IloPulse

public IloCumulFunctionExpr IloPulse(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 v between the start and the end of interval variable a and equal to 0 everywhere else. 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.


IloPulse

public IloCumulFunctionExpr IloPulse(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 a value v such that vmin <= v <= vmax everywhere between the start and the end of interval variable a and equal to 0 everywhere else. 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.