Simulation approach to warehouse cost minimization in stochastic environment