Stochastic Optimization in Market Design and Incentive Management Problems