The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Execute


Unit: SDL_math2
Class: TSimAnnealVarSel
Declaration: function Execute: integer;

The function Execute starts the simulated annealing. The algorithm calls two events: OnEvalCost in order to get information about the quality of the current model and OnFindNbState when it needs to get a new variable combination.

OnEvalCost is mandatory, OnFindNbState can be left unassigned - in this case a default variable search routine is executed.

When Execute is finished the array property SelectedVars contains the list of selected variables.



Last Update: 2023-Nov-15