fmincon's nonlinear equality constraints cannot be met?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone, I am using fmincon for the optimization of the project.
In the use, three nonlinear equality constraints exist, however, with the optimized results, I checked the nonlinear equalities and find they are not satisfied. It is very strange, because all of the nonlinear inequality constraints are met.
Could you pls give some instructions ??
THX very much!
댓글 수: 0
답변 (2개)
pietro
2014년 11월 15일
Check your contranstrains with an optimization where your objective function is @(x)0 and with your real constraints. The solver should find a feasible solution. If not your constraints are not well written.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!