LSCallbackType Enumeration

enum localsolver::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

CT_PhaseStarted

Event that occurs when a phase is started.

CT_PhaseEnded

Event that occurs when a phase ends.

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(int)

CT_TimeTicked

Event that occurs regularly during the resolution.

The time between two such events can be tuned with the timeBetweenTicks parameter.

See:LSParam::setTimeBetweenTicks(int)
Since:6.0

CT_IterationTicked

Event that occurs regularly during the resolution.

The number of iterations between two such events can be tuned with the iterationsBetweenTicked parameter.

See:LSParam::setIterationBetweenTicks(long long)
Since:6.0