LSCallbackType Enumeration

enum LSCallbackType

List of types that can be used with callbacks. Each type corresponds to a specific event that can occur during the resolution.

Since:

4.0

See:

LSCallback

See:

LocalSolver.AddCallback

enumerator CT_PhaseStarted

Event that occurs when a phase is started.

enumerator CT_PhaseEnded

Event that occurs when a phase ends.

enumerator CT_Display

Event that occurs regularly before, after and during the search to display useful information about the model and the resolution. The time between two such events can be tuned with the TimeBetweenDisplays parameter.

See:

LSParam::setTimeBetweenDisplays()

enumerator CT_TimeTicked

Event that occurs regularly during the resolution. The time between two such events can be tuned with the TimeBetweenTicks parameter.

Since:

6.0

See:

LSParam::setTimeBetweenTicks()

enumerator CT_IterationTicked

Event that occurs regularly during the resolution. The number of iterations between two such events can be tuned with the IterationBetweenTicks parameter.

Since:

6.0

See:

LSParam::setIterationBetweenTicks()