Trouble while solving System of Equations using fmincon

조회 수: 2 (최근 30일)
Babacar Ndiaye
Babacar Ndiaye 2017년 1월 26일
답변: Torsten 2017년 1월 26일
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

채택된 답변

Torsten
Torsten 2017년 1월 26일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by