Using fmincon on a flat surface (solver stopped prematurely)

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)

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

Asked:

on 30 Mar 2015

Answered:

on 30 Mar 2015

Community Treasure Hunt

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

Start Hunting!