Project-Platypus / Platypus

A Free and Open Source Python Library for Multiobjective Optimization
GNU General Public License v3.0
553 stars 152 forks source link

nfe not equal to the population size? #175

Closed MathewWalter closed 3 years ago

MathewWalter commented 3 years ago

Could someone please explain:

I'm using NSGA-II with a population_size = 100 with run(1000). How is the nfe calculated?

input: print(nfe)

output: 100 196 293 390 484 579 673 766 864 959 1049

I was expecting

output: 100 200 300 400 .... 1000

I understand the termination condition is after each iteration so that is why some runs generate additional nfes, but don't understand how the nfes are increasing in each generation? In other words, why doesn't the nfe = population size * generation for every generation?