GA(遺伝的アルゴリズム)での各世代での目的関数の値を知りたい
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
fumito ito
le 24 Août 2017
Commenté : fumito ito
le 25 Août 2017
現在遺伝的アルゴリズムによる目的関数の最小化を行っています.
[X,Y]=ga(@M02_FitnessFunction,30,A,b,Aeq,beq,lb,ub,nonliner,options)
上記に示すようにGAを実行していますが,この場合だと最終的な目的関数の値(Y)と, その時の変数(X)しか出力されません. 収束されているかどうかの確認のためにも各世代の目的関数を知りたいのですが出力させる方法はありませんか. ちなみに世代数は50にしてあります. 宜しくお願いします.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!