Creates and returns an empty range object with the specified
name and specified lower and upper bounds.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual IRange AddRange( double lb, double ub, string name ) |
| Visual Basic |
|---|
Public Overridable Function AddRange ( _ lb As Double, _ ub As Double, _ name As String _ ) As IRange |
Parameters
- lb
- Type: System..::..Double
- ub
- Type: System..::..Double
- name
- Type: System..::..String
Implements
IMPModeler..::..AddRange(Double, Double, String)
Remarks
Do not use this method in a callback to modify the model currently being optimized.