Question
An undirected network is an undirected graph in which each edge u ? v has an associated capacity c(u ? v) > 0. Let there
An undirected network is an undirected graph in which each edge u ? v has an associated capacity c(u ? v) > 0. Let there be a source vertex s and a sink vertex t. We wish to find the maximum flow from s to t such that on every edge u ? v either there is flow u ? v, or there is flow v ? u, or there is no flow at all. It is not allowed to have flow in both directions simultaneously. The flow on an edge, whichever direction it is in, must not exceed capacity. We can write the flow constraints in mathematical notation as min f(u ? v), f(v ? u) = 0 and max f(u ? v), f(v ? u) ? c(u ? v) where f(u ? v) is the flow from u to v on edge u ? v. Note that this differs from the conventional Ford–Fulkerson setup, in which each directed edge has a capacity constraint.
(a) Define the value of a flow. State the flow conservation equation. [2 marks]
(b) Give an algorithm for finding a maximum flow. [6 marks]
(c) Prove that your algorithm returns a valid flow. [4 marks]
(d) Prove that your algorithm returns a maximum flow. [4 marks]
(e) Define the capacity of a cut in an undirected network. Show that the maximum flow value is equal to the minimum cut capacity. [4 marks]
Step by Step Solution
3.48 Rating (148 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below a The value of a flow is the total flow ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started