Question on fmincon in formulating a constrained optimization

1 回表示 (過去 30 日間)
JFz
JFz 2017 年 10 月 18 日
コメント済み: Nicolas Schmit 2017 年 10 月 19 日
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
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?
JFz
JFz 2017 年 10 月 19 日
It is that, in order to calculate the final result -- the objective function, I have to calculate dependent variables from the independent variables. Those dependent variable are the intermediate results and they need to satisfy certain constraints.

サインインしてコメントする。

採用された回答

Nicolas Schmit
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 件のコメント
JFz
JFz 2017 年 10 月 19 日
Yes. This is the answer. Thank you!
Nicolas Schmit
Nicolas Schmit 2017 年 10 月 19 日
You're welcome.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver 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