Overload List

  Name Description
Public method IntVarArray(Int32, Int32, Int32)
Returns a new array of n integer variables with the specified bounds.
(Inherited from IModeler.)
Public method IntVarArray(Int32, array<Int32>[]()[][], array<Int32>[]()[][])
Creates an array of length n initialized to n new integer variables, each variable with its own bounds.
(Inherited from IModeler.)
Public method IntVarArray(IColumnArray, Int32, Int32)
Creates and returns integer modeling variables, all with the same upper bound and with the same lower bound, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, 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. The new variables are then installed in existing modeling objects as defined by the IColumnArray argument cols.

Public method IntVarArray(IColumnArray, array<Int32>[]()[][], array<Int32>[]()[][])
Creates and returns integer modeling variables, with individually specified upper bound, lower bound, and name, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, 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.

Public method IntVarArray(Int32, Int32, Int32, array<String>[]()[][])
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.
(Inherited from IModeler.)
Public method IntVarArray(Int32, array<Int32>[]()[][], array<Int32>[]()[][], array<String>[]()[][])
Creates an array of length n initialized to n new integer variables, each variable with its own bounds.
(Inherited from IModeler.)
Public method IntVarArray(IColumnArray, Int32, Int32, array<String>[]()[][])
Creates and returns integer modeling variables, all with the same specified upper bound and lower bound, with individually specified names, for column-wise modeling.

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

Public method IntVarArray(IColumnArray, array<Int32>[]()[][], array<Int32>[]()[][], array<String>[]()[][])
Creates and returns integer modeling variables, each with individually specified upper bound, lower bound, and name, for column-wise modeling.

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

See Also