Model predictive control for max-plus-linear and piecewise affine systems door I. Necoara