Text this: Quadratic approximate dynamic programming for scheduling water resources: a case study