Creates an array of length n initialized to n new modeling variables of the type NumVarType.Float.

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

Syntax

C#
INumVar[] NumVarArray(
	int n,
	double lb,
	double ub
)

Parameters

n
Type: System..::..Int32
lb
Type: System..::..Double
The lower bound of the new modeling variable.
ub
Type: System..::..Double
The upper bound of the new modeling variable.

Return Value

The array new modeling variables.

Remarks

This method creates n new modeling variables of the type NumVarType.Float, each with the same specified bounds, and returns them in an array.

See Also