Creates and returns continuous modeling variables, all of the same type Float with individually specified upper bound, and individually specified lower bound, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Float, each with its own bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Variable i is constructed with bounds lb[i] and ub[i]. The new variables are installed in existing modeling objects as defined by the cols argument.

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

Syntax

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

Parameters

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

Return Value

The array of new continuous modeling variables

See Also