Proving the Minimum Directed Cycle Mean Cost Using Bellman-Ford Algorithm

  • Thread starter Thread starter Ganesh Ujwal
  • Start date Start date
AI Thread Summary
The discussion focuses on proving that the minimum directed cycle mean cost, denoted as λ, satisfies the equation λ = min_{i=1,...,n} max_{0 ≤ k ≤ n-1} (p_i(n) - p_i(k)) / (n-k) using the Bellman-Ford algorithm. The directed graph G has edge costs c_{i,j} and at least one directed cycle, with p_i(t) representing the shortest walk starting at vertex i and traversing t arcs. The participants explore the implications of traversing n arcs, which guarantees the formation of a directed cycle. The challenge lies in extending the proof to demonstrate the relationship between the shortest paths and the minimum directed cycle mean cost. The conversation emphasizes the need for further steps to complete the proof.
Ganesh Ujwal
Messages
51
Reaction score
0
Member warned about not using the homework template
Prove ##\displaystyle \lambda=\min_{i = 1,\ldots, n}\max_{0 \le k \le n-1}\left(\frac {p_i(n)-p_i(k)}{n-k}\right)##
Prove the minimum directed cycle mean cost satisfies: ##\lambda = \min_{i = 1,\ldots, n} \max_{0 \le k \le n-1} \left(\frac {p_i(n) - p_i(k)} {n-k}\right)## using the Bellman-Ford algorithm.Let ##\mathcal G = (\mathcal V, \mathcal A)## be directed graph with associated edge costs ##c_{i,j}## that has at least one directed cycle (##c_{i,j} = \infty## for all ##(i,j) \notin \mathcal A##).Define the directed cycle mean cost to be ##\frac {\{\text {sum of cost of arcs}\}} { \text {# arcs}}##.Set ##p_i(0) = 0## and ##p_i(t+1) = \min_{j \in O(i)} \{ c_{i,j} + p_j(t) \}## for all ##i\in \mathcal V##.I've proven by induction that ##p_i(t)## denotes the length of the shortest walk start starts at ##i## and traverses ##t## arcs.Now, I want to prove that the minimum directed cycle mean cost ##\lambda## satisfies:##\lambda = \min_{i = 1,\ldots, n} \max_{0 \le k \le n-1} \left(\frac {p_i(n) - p_i(k)} {n-k}\right)##, where ##n## is the number of vertices in the graph ##\mathcal G##.I see that traversing ##n## arcs will always create a directed cycle. However, I don't know how to continue from here.
 
Physics news on Phys.org

Homework Statement


Prove ##\lambda=\min_{i = 1,\ldots, n}\max_{0 \le k \le n-1}\left(\frac {p_i(n)-p_i(k)}{n-k}\right)##

Homework Equations


This is the part I can't figure out

The Attempt at a Solution


Prove the minimum directed cycle mean cost satisfies:
##\lambda = \min_{i = 1,\ldots, n} \max_{0 \le k \le n-1} \left(\frac {p_i(n) - p_i(k)} {n-k}\right)##using the Bellman-Ford algorithm.

Let ##\mathcal G = (\mathcal V, \mathcal A)## be directed graph with associated edge costs $c_{i,j}$ that has at least one directed cycle (##c_{i,j} = \infty## for all ##(i,j) \notin \mathcal A##).

Define the directed cycle mean cost to be ##\frac {\{\text {sum of cost of arcs}\}} { \text {# arcs}}##.

Set ##p_i(0) = 0## and ##p_i(t+1) = \min_{j \in O(i)} \{ c_{i,j} + p_j(t) \}## for all ##i\in \mathcal V##.

I've proven by induction that ##p_i(t)## denotes the length of the shortest walk start starts at ##i## and traverses ##t## arcs.

Now, I want to prove that the minimum directed cycle mean cost ##\lambda## satisfies:

##\lambda = \min_{i = 1,\ldots, n} \max_{0 \le k \le n-1} \left(\frac {p_i(n) - p_i(k)} {n-k}\right)##, where ##n## is the number of vertices in the graph ##\mathcal G##.

I see that traversing ##n## arcs will always create a directed cycle. However, I don't know how to continue from here.
 
Last edited:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top