While optimization through GA, how to get variable value at each generation? Say If I am doing for y=x^2-2x+75, I am getting final x value. I want to get x value at each generations?
4 views (last 30 days)
Show older comments
Instead of Final x value , I wnat to get value of x at each generation. I tried with enable iterative display mode, it provides f-count, best fitness, but not value of x. I am not able to write the output function. Please help me, how to write output function to get value of x at each generation or through any other methods.
0 Comments
Answers (0)
See Also
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!