ACTIVITY ANALYSIS, QUADRATIC PROGRAMMING AND GENERAL EQUILIBRIUM*