Evaluates expr with respect to the current relaxation.

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

Syntax

C#
public abstract double GetRelaxationValue(
	INumExpr expr
)
Visual Basic
Public MustOverride Function GetRelaxationValue ( _
	expr As INumExpr _
) As Double

Parameters

expr
Type: ILOG.Concert..::..INumExpr
The expression to evaluate.

Return Value

The value of expr with respect to the current relaxation.

Remarks

This method can be invoked only in the context Callback.Context.Id.Relaxation.

Throws ILOG.Concert.Exception if an error occurs. Throws NullPointerException if expr is null.

See Also