Creates an array of length n initialized
to n new modeling integer
variables, each with the same specified bounds
and returns them in an array.
Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
IIntVar[] IntVarArray( int n, int min, int max, string[] name ) |
Parameters
- n
- Type: System..::..Int32
- min
- Type: System..::..Int32
The lower bound of the new modeling variable.
- max
- Type: System..::..Int32
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 new modeling variable object.Remarks
Each new variable is assigned a name, where variable i is assigned the name name[i].