def setup(self, problem, **kwargs):
        """
        Set up the KGB-DMOEA algorithm.
        :param problem: The optimization problem instance
        :param kwargs: Additional keyword arguments
        :return: The result of the superclass setup method
        """
        assert (
            not problem.has_constraints()
        ), "KGB-DMOEA only works for unconstrained problems."
        return super().setup(problem, **kwargs)

        Set up the KGB-DMOEA algorithm.
        :param problem: The optimization problem instance
        :param kwargs: Additional keyword arguments
        :return: The result of the superclass setup method
        
pymoo/algorithms/moo/kgb.py