Given a directed weighted graph, how to find the Maximum Flow ( or Minimum Edge Cut ) between all pairs of vertices.
The naive approach is simply to call a Max Flow algorithm like Dinic's, whose complexity is O((V^2)*E)
, for each pair.
Hence for all pairs it is O((V^4)*E)
.
Is it possible to reduce the complexity to O((V^3)*E)
or to O(V^3)
by some optimizations?