How can i define constraint in my optimization problem?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a Constraint HP>0.0025 and HP is the function of PS. i dont know how to define this constraint. when i am using it directicly in inequaliity constraint i gives error that row dimension doesnot match. and as a non linear constraint i used it like this " c = HP - 0.0025". Need Help.
댓글 수: 3
Walter Roberson
2019년 12월 26일
No, not unless HP is a linear calculation.
Note that there are circumstances under which nonlinear constraints are not enforced, in particular during the initial gradient estimation.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!