Optimization Model of a Tandem Water Reservoir System Management