Difference between iteration and objective function evaluation in simulated annealing?
Show older comments
I am trying to implement simulated annealing in a pose finding problem where I am fitting a 3D human model to a silhouette. I have a basic grasp of the simulated annealing algorithm and am not trying to tune my code. I have several questions all dealing with the same subject. First, there are optios for a max # of iterations and a max # of objective functions evaluations - what is the difference between the two? Does an objective function evaluation not happen with every iteration?
Second, what criteria does matlab use to know when the optimization has reached "thermal equilibrium" and should drop the temperature?
Thanks everyone
Accepted Answer
More Answers (2)
Alan Weiss
on 21 Feb 2014
0 votes
I do not understand your question. Do you have a Global Optimization Toolbox license, and you are using simulannealbnd? Or are you coding up your own simulated annealing solver?
If you are using simulannealbnd, then the algorithm description is here. There are some more details in the options descriptions.
After you read those sections, if you have more questions, feel free to ask again.
Alan Weiss
MATLAB mathematical toolbox documentation
Anthony
on 21 Feb 2014
0 votes
1 Comment
Alexis Tugilimana
on 23 Jun 2017
Hi,
I am currently working on optimization procedures involving a simulated annealing. Therefore, I also contemplated working with the optimization toolbox already implemented into MATLAB. I was wondering, according to what I saw in the documentation and to the answer of the previous questions, how is that possible that the number of function evaluation stays close to the number of iterations (corresponding to a decrease of the temperature) since each temperature modification should involve a search of equilibrium by running a Markov chain process. Thus, for each temperature value, an inner loop should be executed, in which multiple function evaluation should be performed. I know this question is basically the same to yours but I wanted to know if, after all these years, you would have been able to find an answer.
Thank you in advance,
Alexis
Categories
Find more on Simulated Annealing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!