A competitive economic equilibrium model with utility function