SMS dit: Predictive control: with constraints