how do i give equaity constraints to multiobjective genetic algorithm??

3 ビュー (過去 30 日間)
anu vru
anu vru 2018 年 2 月 16 日
コメント済み: anu vru 2018 年 2 月 16 日
i am trying to figure out a way to give equality constraints to my multiobjective genetic algorithm i searched over a lot of examples...but i couldnt find anything which have EQUALITY CONSTRAINTS.
if someone could send an example. that would be really helpful thanks in advance

採用された回答

Walter Roberson
Walter Roberson 2018 年 2 月 16 日
Same way as for ga() or fmincon: use the Aeq and beq parameter positions for linear equality, use the nonlcon for nonlinear equality.
Note that you might have difficulty if you are trying to use Aeq and beq together with integer constraints. The trick to doing that is to not tell ga or gamultiobj that you are using integer constraints and instead use the options to specify generation and mutation and recombination functions that just happen to always return integers in those positions.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by