How to add the non-linear constraints to gamultiobj when using ga toolbox?

1 回表示 (過去 30 日間)
Jason Shih
Jason Shih 2015 年 9 月 6 日
コメント済み: Walter Roberson 2017 年 7 月 11 日
How to add the non-linear constraints to gamultiobj when using ga toolbox? I want to use it in multi-objective GA, but I don't know how to add the non-linear constraints.

採用された回答

Walter Roberson
Walter Roberson 2015 年 9 月 6 日
The first 9 arguments for gamultiobj() are the same as the first 9 arguments for ga(). (The 10th argument for ga() is different.) This includes the nonlinear constraint function.
If you are using some kind of visual tool to generate code, then if you need to you could configure it with ga and nonlinear constraints, and then you could edit the code to change ga() to gamultiobj()
  2 件のコメント
Giridhar Vadicharla
Giridhar Vadicharla 2017 年 7 月 11 日
Is this the same for R2014a? Thanks in advance.
Walter Roberson
Walter Roberson 2017 年 7 月 11 日
No, the ability to use the nonlinear constraint function with gamultiobj was introduced in R2014b.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultiobjective Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by