Solving the Routing Problem for Link