Dynamic Optimization of Path-Constrained Switched Systems (Studies in Systems, Decision and Control, 459, Band 459)