automl / DACBench

A benchmark library for Dynamic Algorithm Configuration.
https://automl.github.io/DACBench/
Apache License 2.0
28 stars 14 forks source link

CMAESEnv not deterministic if using seed 0 #76

Closed maximilianreimer closed 3 years ago

maximilianreimer commented 3 years ago

If the seed is set to 0 the CMAESEnv does not behave deterministically. For all other seeds (tested) it seems to work fine. To reproduce just run TestDeterministic and change the seed to 0.

This seems to be an issue of CMAEvolutionStrategy since the numpy random number generator seems to work fine.

TheEimer commented 3 years ago

0 is equivalent to no seed in numpy