Hello everybody! Can anyone share his good implementation min cost max flow algorithm in some problem or give a link to any problem on cf containing this algorithm. I have seen only http://e-maxx.ru/algo/min_cost_flow this implementation but not sure about asymptotics of it. Maybe anyone write it with Ford Bellman algorithm or something else? Would be very grateful :)
Dinic maxflow : https://github.com/ADJA/algos/blob/master/Graphs/Dinic.cpp
Ford-Fulkerson maxflow : https://github.com/ADJA/algos/blob/master/Graphs/FordFulkerson.cpp
Thank you! But it is simple max flow but not min-cost-max-flow :)
In the same repository there are mincost implementations using Dijkstra and Ford-Bellman.
I didn't notice it. Thank you!
https://sites.google.com/site/indy256/