why population size give bad result if it more than 50
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Geoff Hayes
le 12 Avr 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?
Réponses (1)
Walter Roberson
le 6 Juin 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.
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!