Optim_Siman_Restart_Threshold_Set()
Abstract
Sets the number of temperature steps before the optimization engine restores the “best solution so far” as the current solution.
Syntax
Optim_Siman_Restart_Threshold_Set (optim_handle, steps)
| Argument | Type | Description |
|---|---|---|
optim_handle |
OptimT_Siman_Handle |
The handle to the optimization engine instance whose restart threshold should be set. |
steps |
int |
The new restart threshold, in temperature steps, for the optimization engine to use in determining when to install the best solution so far. |
Return Type
void
No return value.
Header
optim_siman.h
Details
While running, the optimization engine keeps track of the best solution that it has found so far. Periodically, the current solution is replaced with this best solution. This procedure allows the client to set how many steps must pass between this replacement process occurring.This procedure will typically be called after an OptimT_Siman_Handle has been created, but before its optimization has been started with Optim_Siman_Solver_Execute(). If this procedure is not called before the optimization is started, the default restart threshold will be used.