ILOG CPLEX .NET Reference Manual

IMPModeler.NumVar Method (Column, Double, Double, NumVarType)

Creates and returns a new modeling variable for column-wise modeling.

INumVar NumVar(
   Column column,
   double lb,
   double ub,
   NumVarType type
);

Parameters

column
The column object defining where to install the new variable.
lb
The lower bound of the new modeling variable.
ub
The upper bound of the new modeling variable.
type
The type of the new modeling variable.

Return Value

The new modeling variable.

Remarks

This method returns an object representing a new modeling variable with the specified bounds and type. The newly created variable is then installed in existing modeling objects, as defined by the Column argument column.

See Also

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