OptimT_Siman_Update_Proc
Abstract
Callback: Reports the current status of the optimization engine back to the client.
Syntax
<update_proc_name> (optim_handle, temperature, objective_value, iteration, test_objective_value)
| Argument | Type | Description |
|---|---|---|
optim_handle |
OptimT_Siman_Handle |
The optimization engine instance that has just completed the required number of iterations to trigger an update. |
temperature |
double |
The current temperature of the optim_handle. |
objective_value |
double |
The objective value of the current solution in the optim_handle. |
iteration |
int |
The number of iterations the optim_handle has cycled through so far. |
test_objective_value |
double |
The objective value of the most recently mutated solution state under consideration to become the current solution. |
Return Type
void
No return value.
Header
optim_siman.h
Details
The update_proc is called after a specified number of iterations to report the current status of the optimization engine back to the client. The additional arguments allow the client to know the current “temperature” (an optimization-specific variable), the objective value of the current solution, the number of iterations the engine has performed, and the objective value of the current “candidate” solution. One example of how this might be useful is if the client wanted to update an analysis panel containing the objective value at every iteration.