ILOG CPLEX .NET Reference Manual

IMPModeler.SemiContVarArray Method (ColumnArray, Double, Double, NumVarType, String[])

Creates and returns an array of semi-continuous modeling variables with individually specified type, semi-continuous lower bound, upper bound, and name, for column-wise modeling.

ISemiContVar[] SemiContVarArray(
   ColumnArray cols,
   double sclb,
   double ub,
   NumVarType type,
   string[] name
);

Parameters

cols
An ColumnArray object defining where to install the new variables.
sclb
The semi-continuous lower bound of the new modeling variables.
ub
The upper bound of the new modeling variables.
type
The type of the new modeling variables.
name
The names of the new modeling variables. Variable i is assigned name[i].

Return Value

The array of new modeling variables.

Remarks

This method creates an array of new semi-continuous modeling variables, each with the same specified bounds and type, and returns them in an array. The number of new variables is determined by the size of the ColumnArray argument cols. Each new variable is assigned a separate name, where variable i is assigned name[i]. The new variables are then installed in existing modeling objects as describe by the ColumnArray argument cols.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.SemiContVarArray Overload List