ILOG CPLEX .NET Reference Manual

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

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

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

Parameters

cols
An ColumnArray object defining where to install the new variables.
sclb
The semi-continuous lower bounds of the new modeling variables. Variable i is constructed with a semi-continuous lower bound of sclb[i].
ub
The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
type
The types of the new modeling variables. Variable i is constructed with a type of type[i].

Return Value

The array of new modeling variables.

Remarks

This method creates new semi-continuous modeling variables, each with its own bounds and type, and returns them in an array. The number of new variables is determined by the size of the ColumnArray argument cols. Variable i is constructed with bounds sclb[i] and ub[i] and type type[i]. The new variables will be installed in existing modeling objects as defined by the cols argument.

See Also

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