Creates a continuous modeling variable, of type Float
with upper bound, lower bound, and name 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, string name ) |
| Visual Basic |
|---|
Function NumVar ( _ column As Column, _ lb As Double, _ ub As Double, _ name As String _ ) 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.
- name
- Type: System..::..String
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.