ILOG CPLEX .NET Reference Manual

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

Creates a continuous modeling variable, of type Float with upper bound, lower bound, and name as specified, for column-wise modeling.

INumVar NumVar(
   Column column,
   double lb,
   double ub,
   string name
);

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.
name
The name of the new modeling variable.

Return Value

The new continuous modeling variable.

Remarks

This method returns an object representing a new modeling variable of type NumVarType.Float with the specified bounds and name. 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