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!