MATLAB Answers

1

How to increase initial step size in optimization toolbox?

Asked by Mohammad Farshchin on 29 Aug 2015
Latest activity Commented on by Mohammad Farshchin on 31 Aug 2015
I am trying to use optimization toolbox for minimization. The problem is that, the initial change in the design variables is too small and my objective function is not too sensitive to these small changes, so after a few steps the optimization process terminates because of no change in the value of objective function. Is there any way to increase the initial step size? Here is an example of one of my design variables in the first and second steps: First step: x=1.0, second step: x=1.000000014901161 as you see the change is about 0.000000014901161 which is too small for my problem. I would like to increase this change in the begining.
Thank you.

  0 Comments

Sign in to comment.

1 Answer

Answer by Alan Weiss
on 31 Aug 2015
 Accepted Answer

As the documentation describes, it can be challenging to optimize a simulation (which is what I assume you are doing). As described, the answer in many cases is to set larger finite differences.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

  1 Comment

Alan, Thank you very much for responding to my question. This is exactly what I was looking for.

Sign in to comment.