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 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by