Model Predictive Control C