A necessary optimality condition for constrained optimal control of hybrid systems | IEEE Conference Publication | IEEE Xplore