Optimal scheduling of discrete-time switched linear systems. (11th September 2018)