Design of plug-and-play model predictive control: an approach based on linear programming