Modification to Maximum Flow Algorithm
I've tried to solve a question about the maximum-flow problem . I have one source and two sinks. I need to find a maximum flow in this network. This part is general max-flow. However, both targets have to get same amount of flow in this special version of the max-flow problem. Is there anyone who can help me what should I do to do that? Let s be your source vertex and t1 and t2 the two sinks. You can use the following algorithm: Use regular max-flow with two sinks, for example by connecting t1 and t2 to a super-sink via edges with infinite capacities. You now have the solution with maximum