The output regulation problem of linear singular systems