positive exitflag other than '1' in fmincon
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!