C21 Model predictive control – lecture notes