HILO-MPC is a Python toolbox for easy, flexible and fast development of machine-learning-supported optimal control and estimation problems
HILO-MPC is a Python toolbox for easy, flexible and fast realization of machine-learning-supported optimal control, and estimation problems developed mainly at the Control and Cyber-Physical Systems Laboratory, TU Darmstadt, and the Laboratory for Systems Theory and Control, Otto von Guericke University. It can be used for model predictive control, moving horizon estimation, Kalman filters, solving optimal control problems and has interfaces to embedded model predictive control tools.
HILO-MPC can interface directly to TensorFlow and PyTorch to create machine learning models and the CasADi framework to efficiently build control and estimation problems. The machine learning models can be used (almost) everywhere in the setup of these problems.
Currently the following machine learning models are supported:
The following machine learning models are currently under development:
At the moment the following MPC and optimal control problems can be solved:
All the nonlinear MPCs support soft constraints, time-variant systems, time-varying parameters and can be used to solve minimum-time problems. They work for continuous-time and discrete-time models, in DAE or ODE form. Linear MPC is currently limited towards discrete-time models.
A rich set of examples is available, spanning:
You can use pip to install HILO-MPC as follows
pip install hilo-mpc
If you want to make use of the complete functionality of the toolbox, you may want to install one of the following packages
Package | Version | Usage |
---|---|---|
TensorFlow | >=2.3.0, <2.8.0 | Training of neural networks |
PyTorch | >=1.2.0 | Training of neural networks |
scikit-learn | >=0.19.2 | Normalizing of training data |
Bokeh | >=2.3.0, <3.0.0 | Plotting |
Matplotlib | >=3.0.0 | Plotting |
pandas | >=1.0.0 <=1.5.1 | Providing data for training of neural networks |
A preliminary documentation can be found here. Note that this documentation is not complete and will be updated over time.
If you use HILO-MPC for your research, please cite the following publication:
@misc{pohlodek2022hilompc,
title = {Flexible development and evaluation of machine-learning-supported optimal control and estimation methods via {HILO-MPC}},
author = {Pohlodek, Johannes and Morabito, Bruno and Schlauch, Christian and Zometa, Pablo and Findeisen, Rolf},
publisher = {arXiv},
year = {2022},
doi = {10.48550/ARXIV.2203.13671}
}