Constrained predictive control of a greenhouse