What does the error message "You must specify genome length" mean when I click the "Start" button in GATOOL within the Genetic Algorithm and Direct Search Toolbox 1.0 (R13SP1+)?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I type the command:
gatool
to bring up the Genetic Algorithm graphical interface. In the "Fitness function" field, I type:
@ackleyfcn
I then click the "Start" button, and I receive the following error message:
You must specify genome length
I would like to know what a "genome length" is.
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 2009
This bug has been fixed for Release 14 (R14). For previous releases, read below for any possible workarounds:
"Genome length" is another term for "Number of variables." This error message occurs because you have failed to specify a value within the "Number of variables" field of the GATOOL. The error message should read:
You must specify number of variables.
This is a bug in GATOOL within the Genetics Algorithms and Direct Search Toolbox 1.0 (R13SP1+) in the way the error message is displayed when the user fails to specify a value in the "Number of variables" field.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!