Changing tolCon in fmincon, solves for tolCon 1e-1 but not for 1e-2

Hi,
My question relates to finding a feasible solution with fmincon by changing the constraint tolerance.
My optimization problem will solve and find an optimal solution if I set tolCon to 1e-1, however if it is 1e-2 or smaller it will not find a feasible solution.
Would the optimal found be accurate?
Thanks in advance for any advice

Answers (1)

It sounds as if the "optimal solution" fmincon finds with a 1e-1 TolCon is not feasible to a small tolerance. Or maybe it is--you gave us very little information.
So, is the solution really feasible? Did you evaluate the constraints?
Alan Weiss
MATLAB mathematical toolbox documentation

Asked:

on 5 Jun 2014

Answered:

on 6 Jun 2014

Community Treasure Hunt

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

Start Hunting!