optimal control of switched systems via nonlinear optimization based on direct di erentiations of value functions .
Piecewise Linear Quadratic Optimal Control