Skip to main content
FRAMES NO FRAMES

IloLast

public IloConstraint IloLast(const IloEnv env, const IloIntervalSequenceVar seq, const IloIntervalVar a)
Definition file: ilconcert/ilosmodel.h
Returns constraint on order of sequenced intervals.

This function returns a constraint that states that whenever interval variable a is present, it must be ordered last in the sequence variable seq.

Note: This constraint cannot be used in a logical constraint.

For more information on interval variable sequencing, see the concept Interval variable sequencing in CP Optimizer.