how do you specify a minimum step size in simulated annealing

1 回表示 (過去 30 日間)
Nathan Orloff
Nathan Orloff 2016 年 4 月 5 日
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 Center および File ExchangeSimulated Annealing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by