Variable x at each generation
古いコメントを表示
While optimization through GA, how to get variable value at each generation? Say If I am doing for y=x^2-2x+78, I am getting final x value. I want to get x value at each generations?
回答 (1 件)
Alan Weiss
2014 年 5 月 7 日
0 投票
Alan Weiss
MATLAB mathematical toolbox documentation
3 件のコメント
GA optimization
2014 年 5 月 7 日
Alan Weiss
2014 年 5 月 7 日
You can write an output function along these lines. Be careful, GA uses a slightly different syntax for its output functions; refer to my previous link.
Alan Weiss
MATLAB mathematical toolbox documentation
GA optimization
2014 年 5 月 7 日
カテゴリ
ヘルプ センター および File Exchange で Solver Outputs and Iterative Display についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!