be two vertices and
be a link in a given undirected network. We show that a shortest path between
and
through
can be found by transforming the problem into a minimum cost network flow problem. It may be noted that when the network is directed, the problem is
-complete.