Genetic Algorithm Optimization tool
1 view (last 30 days)
Show older comments
On MATLAB optimization tool for GA, on the "plot function" option, I checked "best fitness" and "best individual". When I started it, it shows only best fitness, mean fitness, and best individual for one generation...say we have 100 generation, can we see the fitness and the individual on each generation? how?
thank you and sorry for my bad english
0 Comments
Accepted Answer
Alan Weiss
on 18 Jul 2013
Perhaps you have nonlinear constraints. In that case, ga takes very few iterations, and you might think it is showing only one iteration. I know of no way of showing the inner calculations during the nonlinear constraint solver.
If you have no nonlinear constraints, then I don't know what you are talking about. As shown here, for example, ga includes a point in the plot for each iteration.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Comments
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!