Question on fmincon in formulating a constrained optimization
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I am facing a complex optimization problem. It is a constrained nonlinear minimization problem. So I use fmincon and it works. But it turns out, there are a number of intermediate results that also need to be under certain constraints. How to formulate that in fmincon? Or is fmincon the right function to use? Thank you for any suggestions.
댓글 수: 2
Walter Roberson
2017년 10월 19일
I am not sure what you mean by "intermediate results" here? Do you mean that the variables have to have particular relationships to each other?
채택된 답변
Nicolas Schmit
2017년 10월 19일
fmincon() seems to be the right choice. The constraints on the intermediate results can be specified as nonlinear constraints in fmincon(). See the following example https://www.mathworks.com/help/optim/ug/nonlinear-inequality-constraints.html
댓글 수: 3
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!