Hi all,
I am working on Minimum Cost Maximum Flow Algorithms with boost graph library but I could not get correct result. When I tried to solve the provided example in boost graph library, the correct answer should be 24 while the result return from the C++ code is 29. Here is the simple graph provided as an example in boost graph library:
Hi,
Honestly, I want to raise another question. Currently, I used successive_shortest_path_nonnegative_weights algorithm to find the minimum cost of maximum flow problem in a graph. I want to extend my result to the simple shortest path problem when I assume that all arcs have capacity of 1. In this case, how can set the successive_shortest_path_nonnegative_weights function to just do calculation based on only ONE unit of flow from source node to sink node.
I tried this code but it doesn't work since I don't know how to specify the the possible amount of flow in my graph.