linnea icon indicating copy to clipboard operation
linnea copied to clipboard

Setting a Random seed to ensure Linnea generates the same set of variants for repeated generations

Open as641651 opened this issue 2 years ago • 1 comments

While using the script 'examples/run_linnea.py' for a random equation over and over again, is it possible to set a seed so that Linnea generates the same set of variants in the same order every time?

as641651 avatar Dec 10 '22 18:12 as641651

Yeah, I think so. Have you tried setting random.seed(0) (of course the value doesn't need to be 0) before generating the random equation?

hbarthels avatar Dec 12 '22 19:12 hbarthels