A General Equilibrium Model by Generalized Cooperative Games