Creates and returns a named range forcing the specified value to be less than than or equal to the specified numeric expression.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual IRange AddLe(
	double v,
	INumExpr e,
	string name
)
Visual Basic
Public Overridable Function AddLe ( _
	v As Double, _
	e As INumExpr, _
	name As String _
) As IRange

Parameters

v
Type: System..::..Double
e
Type: ILOG.Concert..::..INumExpr
name
Type: System..::..String

Implements

IModeler..::..AddLe(Double, INumExpr, String)

Remarks

The range is added to the invoking model; that is, this method modifies the current model.

Do not use this method in a callback to modify the model currently being optimized.

See Also