This methods stops the current search and can be useful for interrupting the CP solver in an iteractive application.

Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)

Syntax

C#
public virtual void AbortSearch()

Remarks

Typically, this method would be called from a thread other than the one executing the instance of CP. After a call to this method, the CP solver will exit cleanly with a stop cause (CP.IntInfo.SearchStopCause) set to CP.ParameterValues.SearchStoppedByAbort.

See Also