Creates an array of length n
initialized to n new modeling variables
of type NumVarType.Float.
Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
INumVar[] NumVarArray( int n, double lb, double ub, string[] name ) |
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.
- name
- Type: array<System..::..String>[]()[][]
The names of the new modeling variables. Variable i is assigned the name name[i].
Return Value
The array of new modeling variables.Remarks
This method creates n new modeling variables of type NumVarType.Float, each with the same specified bounds, and returns them in an array. Each new variable is assigned a name, where variable i is assigned the name name[i].