Why does it show on genetic algorithm plotting 'gaplotgenealogy not supported for this algorithm'
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Di Wu
el 17 de Sept. de 2017
Comentada: Di Wu
el 27 de Sept. de 2017
I used @gaplotgenealogy to see if I could find where each new Children comes from (Elite, Crossover, Mutation). But it shows on plotting 'gaplotgenealogy not supported for this algorithm'? I simply coded as opts = optimoptions('ga','PlotFcn',{@gaplotscores,@gaplotgenealogy,@gaplotstopping} Anyone has an idea why it shows words like that?
0 comentarios
Respuesta aceptada
Alan Weiss
el 18 de Sept. de 2017
If you enter
help gaplotgenealogy
you see at the end of the help this statement:
NOTE: This plot is only available after the GA has stopped and can not
be used for nonlinear constrained problems.
So, do you have any nonlinear constraints?
Alan Weiss
MATLAB mathematical toolbox documentation
Más respuestas (0)
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!