minimum of constrained multivariable function

Hello guys, I'm a mechanical engineer and I'm executing the constrained optimization problems. In the last week I ran into a problem that I could not provide a solution, so I decided to ask your community for advice. I have to solve a constrained optimization problem and I'm using the 'fmincon', unfortunately I should impose more than one equality in the non-linear constraints (Ceq). But matlab allows me to impose only one constraint for both non-linear equalities and for inequalities, someone has already come across this problem? As you have by-passed the problem? Thank you very much in advance for both the responses and for the attention.

 採用された回答

Matt J
Matt J 2013 年 11 月 12 日

0 投票

But matlab allows me to impose only one constraint for both non-linear equalities and for inequalities,
Not true. Both c and ceq can be vectors.

1 件のコメント

Matt J
Matt J 2013 年 11 月 12 日
編集済み: Matt J 2013 年 11 月 12 日
Here is an example of setting up multiple nonlinear constraints,

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

その他の回答 (1 件)

Andrea Caffagni
Andrea Caffagni 2013 年 11 月 13 日

0 投票

Thank you very much Matt, I had misunderstood the instructions in the manual of matlab. Now I try to rewrite (Ceq) as a vector. best regards elcaffo

カテゴリ

タグ

質問済み:

2013 年 11 月 12 日

回答済み:

2013 年 11 月 13 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by