ILOG CPLEX .NET Reference Manual

IMPModeler.IntVar Method (Column, Int32, Int32, String)

Creates an integer modeling variable with specified upper bound, lower bound, and name for column-wise modeling.

IIntVar IntVar(
   Column column,
   int lb,
   int 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 integer modeling variable.

Remarks

This method returns an object representing a new modeling variable of type NumVarType.Int 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.IntVar Overload List