On-line routing optimization for MPLS-based IP networks