This constructor creates a no-overlap constraint on the
sequence variable seq. This constraint states that the
interval variables of the sequence do not overlap and that the
order of intervals in the sequence is the order implied by the
relative position of the start and end points of the
non-overlapping intervals. A transition distance
tdist is used to specify a minimal distance
between two interval variables in the sequence.
The transition distance holds between an interval and all its
successors in the sequence. By default, the
name of the no-overlap constraint is the empty string, but you
can specify a name of your own choice.
Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public INoOverlap NoOverlap( IIntervalSequenceVar seq, ITransitionDistance tdist, string name ) |
Remarks
For more information on interval variable sequencing, see the concept Interval variable sequencing in the C++ Reference Manual.
Note: This constraint cannot be used in a logical constraint.