Creates and returns continuous modeling variables, all of type Float, with the same specified bounds, but with individually specified names, for column-wise modeling.

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

Syntax

C#
INumVar[] NumVarArray(
	IColumnArray cols,
	double lb,
	double ub,
	string[] name
)

Parameters

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

Return Value

The array of new continuous modeling variables.

Remarks

This method creates new modeling variables of type INumVarType.Float, 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, where variable i is assigned name[i]. The new variables are then installed in existing modeling objects as describe by the IColumnArray argument cols.

See Also