We consider a perfectly competitive economy in which only a finite number of different agents' characteristics can be distinguished. We associate this economy with an n-agents' economy with an ordered Banach commodity space, and we prove that the continuum and the discrete approach to the equilibrium problem can be considered equivalent.