diff --git a/pymoo/core/algorithm.py b/pymoo/core/algorithm.py index 09335e9b..c7c3567b 100644 --- a/pymoo/core/algorithm.py +++ b/pymoo/core/algorithm.py @@ -135,6 +135,8 @@ def setup(self, problem, **kwargs): def run(self): while self.has_next(): + if 'reconstruct_objs_func' in self.__dict__: + self.problem.objs = self.reconstruct_objs_func(algo=self) self.next() return self.result()