simulation-based shadow pricing method implementation, with more details on the method discussed here.