Optimality conditions for extremals containing bang and inactivated arcs | IEEE Conference Publication | IEEE Xplore