ILOG CPLEX .NET Reference Manual

Cplex.SearchLimit.Check Method 

This method must be implemented by the user.

public abstract bool Check();

Return Value

A Boolean value indicating whether the limit has been reached.

Remarks

This method is called for the current node to check whether the limit implemented by the invoking search limit has been reached. If the limit has been reached, this virtual method should return true. If so, the unexplored subtree of the current node as well as the node itself will simply be discarded.

Cplex initializes the search limit object to the node to be evaluated before calling method check. Information about this node can be queried through the protected API of class Cplex.SearchLimit.

See Also

Cplex.SearchLimit Class | ILOG.CPLEX Namespace