generalize predictive control