Stability of the Duality Gap in Linear Optimization