Necessary Optimality Conditions for a Class of Impulsive and Switching Systems. - Lihua Li 007; Yan Gao 019; Gexia Wang (J. Appl. Math., 2012)