Re: negative edge weights in case of Bellman-Ford algorithm
- From: "GCRhoads" <rhoads@xxxxxxxxxxxxxxx>
- Date: 25 Mar 2007 22:05:41 -0700
On Mar 22, 8:18 am, "kris" <raghavakrishn...@xxxxxxxxx> wrote:
How can we have negative edge weights in case of weighted graphs.
what are the negative cost cycles in the graph? How can we have
negative cost cycles in a graph?
That depends on the application. For most applications, negative
edge weights and negative cycles don't make physical sense but
for some applications they do. For the min-cost (max) flow
problem, each iteration of the classic "cycle-canceling" algorithm
involves finding a negative cost cycle in the residual graph; and
there are *lots* of applications of min-cost flow.
.
- Follow-Ups:
- References:
- Prev by Date: Re: My LP Formulation of the TSP: Conclusions
- Next by Date: Re: Hoare's triples question
- Previous by thread: negative edge weights in case of Bellman-Ford algorithm
- Next by thread: Re: negative edge weights in case of Bellman-Ford algorithm
- Index(es):