How can I make fmincon keep iterating and changing value?

1 view (last 30 days)
I am using fmincon and I have options options=optimset('Display','iter','MaxIter',10000,'MaxFunEvals',10000,'TolFun',10^-30,'TolCon',10^-12,'TolX',10^-30); fmincon keeps iterating and values are changing but after some point, values stop changing, however fmincon still iterates until it hits MaxFunEvals. I use the output that I get at that point as an initial value and start fmincon again. Then it starts iterating and values are changing. Then values stop chaning again and it still iterates, so again the same thing. Why don`t values change before hitting MaxFunEvals if they change once i start at the initial values=(output that i got)?

Answers (0)

Categories

Find more on Verification, Validation, and Test in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!