Tests if callback is invoked for a finite solution.

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

Syntax

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

Return Value

true if the callback was invoked for a candidate feasible point.

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 candidate feasible point can be examined using Cplex.Callback.Context.GetCandidatePoint, Cplex.Callback.Context.GetCandidateValue, and Cplex.Callback.Context.GetCandidateObjective.

See Also