Open CompRhys opened 1 year ago
This is related to #413.
I would be happy to look at a PR. But I also know that this requires touching many places in the framework. Ideally, each algorithm has a RandomState
object (or maybe even operators have their own). Additionally, the implementation should be thread-safe which it currently is not.
@blankjul I'd like to fix it.
Currently
pymoo
sets global seeds that mean that it can interfere with intended functionality outside it's own scope. I would propose that we update pymoo to use the best practice of numpyGenerators
and then fork the seed into everywhere where a seed is used.