why population size give bad result if it more than 50

2 visualizzazioni (ultimi 30 giorni)
imola
imola il 12 Apr 2015
Commentato: imola il 8 Giu 2015
Dear all,
I'm trying to apply the genetic algorithm, when I choose population size more than 50 in 3 dimension it works and give good result where my individual size is 7, but when I rise the dimension more than 3 I can't get result if the size more than 50 for the same code, in 4 dimension my individual size is 9,and in 5 dimension my individual size is 11 and so on.
Regrads,
  2 Commenti
Geoff Hayes
Geoff Hayes il 12 Apr 2015
Imola - please clarify what you mean by individual size. How does this value relate to the genetic algorithm? Are you using the Genetic Algorithm software from the Global Optimization Toolbox or are you using your own version of the algorithm?
imola
imola il 6 Giu 2015
Dear Geoff,
sorry for late, I'm using the Genetic Algorithm software from the Global Optimization Toolbox and i mean by individual size the number of variables.
regards

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 6 Giu 2015
The more dimensions you have, the larger your search space, and the less of that space any given number of iterations can cover. You may need to increase your iterations; increase Generations in your options structure.
  1 Commento
imola
imola il 8 Giu 2015
Dear Walter,
Thanks for your advice, I will try it and see what happen.
Regards

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by