MATLAB: Trouble while solving System of Equations using fmincon

fmincon

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

Best Answer

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.
Related Question