MATLAB: Genetic Algorithm Optimization tool

gagenetic algorithmMATLABoptimization

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

Best Answer

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
Related Question