A sub-optimal solution for optimal control of linear systems with unmeasurable switching delays