Layered Sampling for Robust Optimization Problems