Գրեք սա: Receding horizon control of switching systems