List of types that can be used with callbacks. Each type corresponds to a specific event that can occur during the resolution.
As other enumerations present in the localsolver module, LSCallbackType is enumerable and indexable:
print (LSCallbackType) # Shows LSCallbackType.PHASE_STARTED print (LSCallbackType.PHASE_STARTED.value) # Shows 0 # Iterates over the members of LSCallbackType for e in LSCallbackType: print e
Since: 4.0 See:
Event that occurs when a phase is started.
Event that occurs when a phase ends.
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
Event that occurs regularly during the resolution. The time between two such events can be tuned with the