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

Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)

Syntax

C#
public IConstraint First(
	IIntervalSequenceVar seq,
	IIntervalVar a
)
Visual Basic
Public Function First ( _
	seq As IIntervalSequenceVar, _
	a As IIntervalVar _
) As IConstraint

Remarks

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

See Also