def g(self, x):
        g1 = 225 - (x[1]**2 + x[0]**2)
        g2 = 3*x[1] -x[0] - 10.0
        if g1 >= 0 and g2 >= 0:
            return True,array([0.,0.])
        return False,array([g1,g2])
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/functions/multiobjective.py/ConstSrn.g/original