Email Record: Optimal control of constrained piecewise affine systems /