scikit-opt icon indicating copy to clipboard operation
scikit-opt copied to clipboard

does scikit-opt GA support elitism?

Open usccolumbia opened this issue 4 years ago • 2 comments

Elitism allows the GA population to always keep the top K best individuals and bring them to next generation.

This feature is important to avoid losing good solutions over the stochastic evolution process.

usccolumbia avatar Dec 01 '20 07:12 usccolumbia

Write a UDF like this:https://github.com/guofei9987/scikit-opt/blob/master/examples/demo_ga_udf.py

Perhaps we will provide a udf with elitism next version.

guofei9987 avatar Dec 02 '20 15:12 guofei9987

Does the current GA version support elitism?

abc-hy avatar Jul 16 '21 17:07 abc-hy