The generalized neoclassical growth model