MPC_Inverted_Pendulum Simulated Model Predictive Controller (MPC) for an inverted pendulum on a cart in Python