https://medium.com/@monocosmo77/how-model-predictive-control-works-part4-artificial-intelligence-933d25881645