Predictive control of switched nonlinear systems with scheduled mode transitions | Synapse