Optimal control applied to an irrigation planning problem: a real case study in Portugal. (2019)