Search and Montecarlo techniques for determining reservoir operating policies