diff --git a/pymoo/algorithms/soo/nonconvex/cmaes.py b/pymoo/algorithms/soo/nonconvex/cmaes.py index 9e88fd02..5dd1d02d 100755 --- a/pymoo/algorithms/soo/nonconvex/cmaes.py +++ b/pymoo/algorithms/soo/nonconvex/cmaes.py @@ -402,7 +402,7 @@ def _setup(self, problem, **kwargs): self.norm = NoNormalization() self.options['bounds'] = [xl, xu] - self.options['seed'] = self.seed + self.options['seed'] = kwargs.get('seed', self.seed) if isinstance(self.termination, MaximumGenerationTermination): self.options['maxiter'] = self.termination.n_max_gen