Text this: Energy management in plug-in hybrid electric vehicles: Convex optimization algorithms for model predictive control