can genetic algorithm optimizer be used with nonlinear constraint as a simulation function?

1 回表示 (過去 30 日間)
Min objfunction(x) subject to: C(x)<=0 where C(x) is a matlab simulation file

採用された回答

Walter Roberson
Walter Roberson 2017 年 3 月 6 日
  6 件のコメント
Walter Roberson
Walter Roberson 2017 年 3 月 8 日
If you need integer constraints along with nonlinear constraints, then you need to use a work-around. Do not tell it there are integer constraints: instead provide your own custom population function, mutation function, and cross-over function, all of which "just happen" never to emit a population member that would violate your integer constraints.
Mustafa Al-tekreeti
Mustafa Al-tekreeti 2017 年 3 月 9 日
Thanks Walter, it seems this is the only way to do it.

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

その他の回答 (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