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

Suggestion to add 3 stop criteria for the GA algorithm

Open usccolumbia opened this issue 4 years ago • 4 comments

one is when the fitness reaches a specific value, it stops the loop

another is: when there is no progress on the best fitness for K generation, it stops the loop.

third: when the GA has run x minutes, it will stop.

usccolumbia avatar Nov 28 '20 16:11 usccolumbia

Thank you for those suggestion!

Second and third suggestion is reasonable, I will accept it.

But I do not understand why stop loop when fitness reaches a specific value is useful.

Could you please explain more or give me a link?

guofei9987 avatar Dec 01 '20 01:12 guofei9987

in many studies, we can design the fitness function such that the optimal score is 1, and when the best individual fitness reaches 0.9, we are satisfied and can stop the running and report the results.

usccolumbia avatar Dec 01 '20 02:12 usccolumbia

in many studies, we can design the fitness function such that the optimal score is 1, and when the best individual fitness reaches 0.9, we are satisfied and can stop the running and report the results.

This is reasonable too!

guofei9987 avatar Dec 02 '20 16:12 guofei9987

請問early stopping的功能目前有做出來嗎?謝謝

samueljsluo avatar Dec 16 '21 08:12 samueljsluo