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

See:

LSCallback

See:

LocalSolver.AddCallback

PhaseStarted

Event that occurs when a phase is started.

PhaseEnded

Event that occurs when a phase ends.

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

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

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