This method creates an interval variable. The start, end and size of the new interval variable range from 0 to the constant CP.IntervalMax. If you need an optional interval variable, you need to use the method SetOptional. As no intensity function is specified, the size of the interval variable will be equal to its length.

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

Syntax

C#
public IIntervalVar IntervalVar(
	string name
)

Parameters

name
Type: System..::..String

See Also