Optimal control of nonlinear switched system with mixed constraints and its parallel optimization algorithm. (August 2017)