ILOG CPLEX .NET Reference Manual

IMPModeler.SemiContVarArray Method (Int32, Double, Double, NumVarType)

Creates and returns n semi-continuous modeling variables, all of the same type, with the same semi-continuous lower bound and upper bound.

ISemiContVar[] SemiContVarArray(
   int n,
   double sclb,
   double ub,
   NumVarType type
);

Parameters

n
The number of new semi-continuous variables to create.
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.

Return Value

The array of new modeling variables.

Remarks

This method creates n new semi-continuous modeling variables, each with the same specified bounds and type, and returns them in an array.

See Also

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