Tests if callback is invoked for an unbounded relaxation.

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

Syntax

C#
public abstract bool IsCandidateRay()
Visual Basic
Public MustOverride Function IsCandidateRay As Boolean

Return Value

true if the callback was invoked for an unbounded relaxation.

Remarks

This method can be invoked only from Cplex.Callback.Context.Id.Candidate; it throws an exception when invoked from another context.

If the method returns true then the unbounded ray can be obtained using Cplex.Callback.Context.GetCandidateRay().

See Also