def f(self, x):
        self.feasible,self.violation = self.g(x)
        MultiObjectiveFunction.feasible = self.feasible
        MultiObjectiveFunction.violation = self.violation
        f1 = -(25.0*(x[0]-2.0)**2+(x[1]-2.0)**2+(x[2]-1.0)**2+(4.0-x[3])**2+(x[4]-1.0)**2)
        f2 = x[0]**2+x[1]**2+x[2]**2+x[3]**2+x[4]**2+x[5]**2
        return -array([f1, f2])
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/functions/multiobjective.py/ConstOsy.f/swapped operands of `-`