gamultiobj: How do I minimize one function and maximize the other

6 ビュー (過去 30 日間)
Devdatt Thengdi
Devdatt Thengdi 2018 年 3 月 13 日
コメント済み: Kurt Stewart 2019 年 9 月 12 日
Given: function 2 is dependent upon function 1.
  4 件のコメント
Torsten
Torsten 2018 年 3 月 14 日
If I wanted to maximize a single function, I would not use gamultiobj.

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

回答 (1 件)

Kurt Stewart
Kurt Stewart 2019 年 9 月 12 日
To find the maximum, if the function is positive, shift it down (subtract a really big value) such that it is completely negative and then take the aboslute value. You will find your x where the maximum is.... then plug it into the original function and you will find your maximum
  1 件のコメント
Kurt Stewart
Kurt Stewart 2019 年 9 月 12 日
One way to do it anyways

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by