Given a network G=(V,E) with s and t being the source and the sink of G, respectively.
For each edge (u,v), there are two numbers c(u,v) and d(u,v). They represent the minnimum and the maximum amount of flow that can pass through the edge (u,v), respectively. I.e, the flow of edge (u,v) f(u,v) must satisfies: c(u,v)<=f(u,v)<=d(u,v).
How can I find the maximum flow from s to t?
Thanks in advance.
It can be reduced to max-flow without lower bounds: http://www.cs.uiuc.edu/~jeffe/teaching/algorithms/2009/notes/18-maxflowext.pdf
We compacted it a bit to fit in our ACM Team Contest Reference:
Could you give me some problems about this kind of flow? Thank you.
I know only one: Problem B — "Reactor Cooling" from http://codeforces.net/gym/100199/attachments
How do you answer the pipes that were used?