ILOG CPLEX .NET Reference Manual

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

Creates and returns a new modeling variable with the specified name, type, lower bound, and upper bound for column-wise modeling in the target column.

INumVar NumVar(
   Column column,
   double lb,
   double ub,
   NumVarType type,
   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.
type
The type of the new modeling variable.
name
The name 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, type, 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