fmincon fails to find a feasible solution

12 views (last 30 days)
Martin Jex
Martin Jex on 5 Jul 2020
Answered: Alan Weiss on 9 Jul 2020
I am trying to use fmincon to find a local minimum of a given function. My script ends with an error:
"Converged to an infeasible point. fmincon stopped because the size of the current step is less than the value of the step size tolerance but constraints are not
satisfied to within the value of the constraint tolerance.".
Is there a way how to avoid this problem. The solution given does not satisfy the constrains given. My script is in the attachment. Any suggestions will be appreciated.

Answers (2)

Sai Sri Pathuri
Sai Sri Pathuri on 8 Jul 2020

Alan Weiss
Alan Weiss on 9 Jul 2020
You might also want to consult the documentation on Converged to an Infeasible Point.
Alan Weiss
MATLAB mathematical toolbox documentation


Community Treasure Hunt

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

Start Hunting!