The code to regenerate our recent work, “Distributed MPC Via Dual Decomposition: Performance Guarantee”, can be found here (A video file for the simulations are included as well). It is done to make our research more accessible and to conform with the guidelines of reproducible research.
The codes here are fully commented and hopefully more understandable (Thank to Farhad Farokhi) than the codes that I have submitted earlier :-).