why population size give bad result if it more than 50

2 次查看(过去 30 天)
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 个评论
Geoff Hayes
Geoff Hayes 2015-4-12
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 2015-6-6
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

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2015-6-6
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.

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by