# if a seed is set, then use it to call the random number generators
if seed is not None:
import random
random.seed(seed)
np.random.seed(seed)
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 numpy Generators and then fork the seed into everywhere where a seed is used.