Open A-Pai opened 3 weeks ago
Currently, there is no stopping rule based on the number of consecutive generations without any improvement in the best fitness value. I could implement it. I will let you know
I have just updated the github version of QGA. If you install it (devtools::install_github("barcaroli/QGA") you get this new version (1.1) where you can add the parameter stop_iters. This parameter indicates the number of iterations after which to stop if there has been no improvement in the fitness. See the example at https://barcaroli.github.io/QGA/reference/QGA.html
Thank you very much, I like this package very much too You are a very diligent and loving author
Does QGA has the argument?which is the number of consecutive generations without any improvement in the best fitness value before the GA is stopped. Just as the package GA does