OptimT_Siman_Best_Solution_Revert_Notify_Proc
Abstract
Callback: Called when the working solution reverts to the best solution.
Syntax
<revert_notify_proc_name> (optim_handle, result)
| Argument | Type | Description |
|---|---|---|
optim_handle |
OptimT_Siman_Handle |
The optimization engine instance that is reverting to the best solution. |
Return Type
void
No return value.
Header
optim_siman.h
Details
This function notifies the client when the working solution reverts to the best solution. The solution reverts back to the best solution when either of these events happens:
- The optimization is complete (stopped or finished) and the current solution is not the best solution.
- The current temperature step is a multiple of the restart threshold and the current solution is not the best solution.
This function is called after the best solution has been installed and the accept procedure (of type OptimT_Siman_Mutation_Accept_Notify_Proc) has been called.
Callbacks of this type are registered by Optim_Siman_Best_Solution_Revert_Notify_Proc_Set().