Optimal choices of consumption and saving