MATLAB Answers

how do you specify a minimum step size in simulated annealing

1 view (last 30 days)
Nathan Orloff
Nathan Orloff on 5 Apr 2016
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 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!