I. Introduction
Dynamic optimization of switched systems refers to find the optimal switching times and the optimal input to optimize the cost function. Such problems have been widely used in various fields, such as biological systems [1], flight control [2], chemical processes [3] and robotic systems [4].