Implementation of the simultaneous perturbation algorithm for stochastic optimization · Study