Suppose that each source s i in a flow network with multiple sources and sinks produces exactly

Question:

Suppose that each source si in a flow network with multiple sources and sinks produces exactly pi units of flow, so that ∑ν∈v f(si, v)= Pi. Suppose also that each sink tj consumes exactly qj units, so that that ∑ν∈v f(ν, tj) = qj, where ∑i Pi = ∑j qj. Show how to convert the problem of finding a flow f that obeys these additional constraints into the problem of finding a maximum flow in a singlesource, single-sink flow network.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Introduction to Algorithms

ISBN: 978-0262033848

3rd edition

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

Question Posted: