On the solution of a stochastic optimal growth model