Estimating the Optimum of a Stochastic System using Simulation