how do you specify a minimum step size in simulated annealing

1 次查看(过去 30 天)
In the function simulannealbnd, is there some way to force the step size of the variables you are optimizing to be some number. For instance, if I have a function:
% error function erfunc = @(xi) max(func(xi));
% initial input xo = 300; lb = 100; ub = 500;
% optimize as xf = simulannealbnd(erfunc,xo,lb,ub);
Can I make simulannealbnd search in steps of 5?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Particle Swarm 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by