Creates and returns integer modeling variables, all with the same specified upper bound and lower bound, with individually specified names, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, each with the same specified bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Each new variable is assigned a separate name, with variable i being assigned name[i]. The new variables are then installed in existing modeling objects as defined by the IColumnArray argument cols.

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

Syntax

C#
IIntVar[] IntVarArray(
	IColumnArray cols,
	int lb,
	int ub,
	string[] name
)

Parameters

cols
Type: ILOG.Concert..::..IColumnArray
lb
Type: System..::..Int32
ub
Type: System..::..Int32
name
Type: array<System..::..String>[]()[][]

Return Value

The array of new integer modeling variables.

See Also