A Parallel Algorithm for Implicit Model Predictive Control with Barrier Function