Determining a Competitive Equilibrium