why population size give bad result if it more than 50
2 views (last 30 days)
Show older comments
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 Comments
Geoff Hayes
on 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?
Answers (1)
Walter Roberson
on 6 Jun 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.
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!