Stav dette: Receding horizon control of switching systems