Using fmincon on a flat surface (solver stopped prematurely)
Show older comments
I have an optimization problem where I am using fmincon as optimizer. The problem is that the surface of my objective function is very flat and because of this the optimizer always stops after some iterations and gives the message "solver stopped prematurely". Is there a work around for this problem? I have already tried increasing the maximum function evaluations and maximum number of iterations but it does not work. Any help will be appreciated... Thanks in advance :)
Answers (1)
Alan Weiss
on 30 Mar 2015
0 votes
We might understand what is going on better if you would give the exact message that fmincon issues, and perhaps show us your exact fmincon call.
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Solver Outputs and Iterative Display 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!