def f(self, x):
        self.feasible,self.violation = self.g(x)
        MultiObjectiveFunction.feasible = self.feasible
        MultiObjectiveFunction.violation = self.violation
        f1 = 2+(x[0]-2)**2+(x[1]-1)**2
        f2 = 9*x[0]-(x[1]-1)**2
        return -array([f1, f2])
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/functions/multiobjective.py/ConstSrn.f/original