MATLAB: What is AcceptanceFcn in simulannealbnd

Global Optimization Toolboxsimulannealbnd

what is AcceptanceFcn in simulannealbnd solver?
What is the difference with TolFun?

Best Answer

The explanation of AcceptanceFcn's role here:
This is different from TolFun which is used as one of the stopping criterion for the optimization. Also look at point 5 in the above link.