Genetic Evolution gets stuck if no "better" strategies are found

If using weighted fitness, and an already high fitness initial population ("Use strategies from initial population"), I´ve discovered that the genetic evolution will not continue and get stuck forever trying to generate better strategies if all the strategies in the results(!) database are "better" than in the current generation of the genetic evolution.

I thought that the genetic evolution only looks at its current own database of strategies for the current generation and continues independently from the Results database, and if it finds no better ones in the current generation than in the results database, it will simply not copy them over to the results database and continue with the next generation. But that is not the case, it will continue generating strategies for the current generation forever, as you can see in the screenshot (2800 of 2000 that are supposed to be in that generation and each new one gets rejected with "dismissed, all strategies in databank are better"). Only when I delete strategies from the results database (the worst ones), the genetic evolution will go on to the next generation. If I don´t do anything, it gets stuck forever in the current generation. The only other solution is to make the results database much bigger, which wastes RAM for nothing.

In my opinion, the genetic evolution should never be affected by the results database. It should go on independently and if no better strategies are found in the current generation than there are in the results database, it should simply go on with the next generation instead of trying to generate better ones than in the results database for the current generation. Deleting strategies from the Results database shows, that the genetic evolution is very well able to find better ones in the next generation again, instead of trying to "force" this on the current generation.
Attachments
Untitled.png
(847.06 KiB)
  • Votes +7
  • Project StrategyQuant X
  • Type Bug
  • Status New
  • Priority Normal

History

g
#1

geektrader

06.04.2022 20:06

Task created

a
#2

astral

06.04.2022 20:07
Voted for this task.
b
#3

bentra

06.04.2022 20:08
Voted for this task.
b
#4

bentra

06.04.2022 20:10
obv the gen evo process should not be affected by the filling of the results tab. Nice find
g
#5

geektrader

06.04.2022 21:31
Voted for this task.
E
#6

Emmanuel

07.04.2022 13:41
Voted for this task.
MF
#7

Marti

07.04.2022 22:46
Voted for this task.
Rr
#8

Partizanas

12.09.2022 16:39
Voted for this task.
HH
#9

Hans

21.11.2022 01:28
Voted for this task.
b
#10

bentra

13.12.2022 16:47
Missed milestone

Votes: +7

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please