self.stagnation_iter = int(
            numpy.ceil(
                0.2 * ngen + 120 + 30.0 * self.problem_size / self.lambda_