Combining Generalized Programming and Sampling Techniques for Stochastic Programs with Recourse