Genetic algorithm plots penalty instead of Fitness
1 回表示 (過去 30 日間)
古いコメントを表示
Im using the GA toolbox to solve an unconstrained problem.. however the genetic algorithm is producing the graph of penalty vs generations instead of fitness vs generations.. why do i have this?
0 件のコメント
採用された回答
Alan Weiss
2019 年 10 月 7 日
Perhaps you have some integer constraints.
If not, please show us your options and ga call.
Alan Weiss
MATLAB mathematical toolbox documentation
2 件のコメント
Alan Weiss
2019 年 10 月 10 日
編集済み: Alan Weiss
2019 年 10 月 10 日
I would guess that you set some options improperly, like EliteCount = 0 or some such thing. Or despite your statement to the contrary, you have a nonlinear constraint. For further help, please report all of your options and give your ga call.
Alan Weiss
MATLAB mathematical toolbox documentation
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Genetic Algorithm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!