GAを指定の世代数で終了する方法

GAのシミュレーションを行う際に,終了条件として指定した世代数で終了させたい場合はどのようにすればいいのでしょうか.
optimoptionsを使用してそれらを実現することは可能ですか.

 Accepted Answer

Kazuya
Kazuya on 11 Dec 2018

0 votes

こちらに例がありますが、optimoptions を使って 'MaxGenerations' で設定できそうですがどうでしょう。

More Answers (0)

Asked:

on 11 Dec 2018

Answered:

on 11 Dec 2018

Community Treasure Hunt

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

Start Hunting!