Title: Optimal allocation of water resources