Difference in function evaluations between ga and gamultiobj
显示 更早的评论
Hi everyone,
I currently have an optimization problem with 18 variables, Lower and upper bounds, as well as one constraint function specifying that -x(9)+x(10)<=0 (inequality). I normally use a population of 200, and 100 generations, however once I started noticing issues, I reduced the number of generations to 3.
When I run ga, and output the number of function evaluations I get 2600. This seems way too high as my function evaluations should equal to Population+(Population*Generations).
When I run gamultiobj, but I only calculate a single objective (I normally calculate 2 objectives but for the purpose of this comparison I changed it to 1), I get 800 function evaluations which seems correct.
Is there a fundamental difference between ga and gamultiobj that would explain the large discrepancy between the number of evaluations needed? The 2600 does not make sense to me...
Thanks in advance!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Particle Swarm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!