Trouble while solving System of Equations using fmincon

1 view (last 30 days)
Babacar Ndiaye
Babacar Ndiaye on 26 Jan 2017
Answered: Torsten on 26 Jan 2017
I am solving a system of equations using fmincon. I try several initials
points, but I always get the following error:
Converged to an infeasible point. fmincon stopped because the size of the current step is less than the selected value of the step size tolerance but constraints are not satisfied to within the default value of the constraint tolerance. criteria details
Any idea to help me ?
Inclosed are the functions: differentialEquations.m and equationsystems.m
Thanks in advance

Accepted Answer

Torsten on 26 Jan 2017
Maybe the set of feasible points for your problem is empty.
Since your constraints are linear in the unknowns, I suggest to use linprog instead of fmincon.
Best wishes

More Answers (0)


Community Treasure Hunt

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

Start Hunting!