tmpc is a C++ library for Model Predictive Control
The source code is publicly available on
https://gitlab.syscop.de/mikhail.katliar/tmpc/-/tree/master