Creates and returns a new integer variable with a domain of possible values and a name.

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

Syntax

C#
public virtual IIntVar IntVar(
	int[] values,
	string name
)

Parameters

values
Type: array<System..::..Int32>[]()[][]
name
Type: System..::..String

See Also