This method returns a constraint that states that whenever
both interval variables prev and next are
present, interval variable prev must be ordered
immediately before interval variable next in the
sequence variable seq.
Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public IConstraint Previous( IIntervalSequenceVar seq, IIntervalVar prev, IIntervalVar next ) |
Remarks
Note: This constraint cannot be used in a logical constraint.