positive exitflag other than '1' in fmincon

1 view (last 30 days)
positive exitflag message other than '1' is regarded as 'local minimum possible', which is not a guaranteed converged minimum considered by MatLab, so should I keep digging until I reach a '1' or I can simply trust solutions with exitflag message greater than '1'? Can they (greater than 1) be treated as accurate solutions to my problem?
Many thanks!
Jason

Accepted Answer

Matt J
Matt J on 29 Jan 2015
Edited: Matt J on 29 Jan 2015
There are no completely reliable stopping criteria, including extflag=1. You just have to look at the solution returned and assess whether it fulfills its practical purpose.
You could also experiment with different tolerances and see if tightening the tolerances produces a better practical result.
  1 Comment
Jason
Jason on 29 Jan 2015
Edited: Jason on 29 Jan 2015
Thank you very much for your answer!
I wonder if there are ways to cope with '0' exitflag message? I seem to obtain many '0's for my optimizations...
Thank you very much!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!