In this paper we study a competitive equilibrium model formulated by Arrow and Debreu and we try to establish a relationship between the equilibrium states of the model and the stationary points of a certain pair function-set. The existence of an equilibrium is proved and a method to reach computationally such a state using the complementarity theory is given.