Offline Stochastic Optimization of Black-Box Objective Functions