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