Parallel algorithms for optimal control of weakly coupled and singularly perturbed jump linear systems