Stochastic optimization : numerical methods