Question: Suppose you are given a directed graph G = (V, E), with positive integer capacity c_e on each edge e. You are also given a

 Suppose you are given a directed graph G = (V, E),

Suppose you are given a directed graph G = (V, E), with positive integer capacity c_e on each edge e. You are also given a set of sources s_1. ....., s_n and a set of sinks t_1, ..., t_m. Each source s_i has a supply of up to S_i amount of flow that can be sent out from it, and each sink t_j has a demand D_j for flow that it receives. Design a polynomial time algorithm to determine whether it is possible to design a flow that meets all demands of all sinks subject to the supplies of the sources

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!