A competitive equilibrium for a pure exchange Walrasian economy: a quasi-variational approach