Creates a continuous modeling variable, of type Float
with upper bound and lower bound as specified,
for column-wise modeling.
Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
INumVar NumVar( Column column, double lb, double ub ) |
| Visual Basic |
|---|
Function NumVar ( _ column As Column, _ lb As Double, _ ub As Double _ ) As INumVar |
Parameters
- column
- Type: ILOG.Concert..::..Column
The column object defining where to install the new variable.
- lb
- Type: System..::..Double
The lower bound of the new modeling variable.
- ub
- Type: System..::..Double
The upper bound 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. The newly created variable is then installed in existing modeling objects as defined by the Column argument column.