Text this: A General Lattice Representation for Explicit Model Predictive Control