Vector formulation of some economic equilibrium problems