Trouble while solving System of Equations using 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

 Accepted 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.

More Answers (0)

Tags

Asked:

on 26 Jan 2017

Answered:

on 26 Jan 2017

Community Treasure Hunt

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

Start Hunting!