We should recognize it and replace the duplicate strategies with randomly generated ones to improve the diversity.
Original idea from task: https://roadmap.strategyquant.com/tasks/sq4_0349
we can set only restart the initial population if the fitness is stagnating for some period of time
if i set islands 10, strategies 100 - i have 1000 strs as an initial population - i start building process and even after 5 hours the genetics is still working with the first initial population - this is a problem
hankeys
Hmm, is strange. If i set max numb. of generations f. ex. 150 each isladns build max 150 generation and stop, after steb by step continue in initial population. If some island end early start calculation of initial population. As I understand by my observation, but I did focused on it in detail. If I tested setting max numb of generation to 5 000 and max stagnation to 9. All Island calculate after some time by genetic and initial population calculation was stopped, respectively I did not see increase number of strategies in initial population.
May be extension of genetic against od SQ3 is in usage islands + default setting of Mirgate every X generation + population migration rate (its for migration between islands and due this generation can to have "fresh blood". Due migration islands exchange information between each other.
I observe if generation of initial population is too slow (and setting is more strict, see below) the together exist only 1 - 2 islands. This is my nonspecialist understanding how run genetic in SQX
Test this setting:
Max numb of generation to 100
Population size 100
Island 2
Migrate every 50 generation
Migration rate 5 %
crossover 60 %
Mutation 50 %
Max stagnation 4
Alll other settings in other settings windows do not change (use the same as befor).
After you will see if diversity is bigger then befero.
Status changed from New to Duplicate
Milestone changed from To be done later to Build 120