The generalized inverse in parametric programming