Trouble while solving System of Equations using fmincon

4 views (last 30 days)
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
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
Torsten.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!