-
Notifications
You must be signed in to change notification settings - Fork 11
Edmonds Karp Algorithm for maximum flows not returning the labels for the s-t min cut #10
Comments
you're right, from some quick research, this is an information you can extract from the dual variables at the optimum. |
Actually I have just found out that it is possible to extract the mincut with the Erdos package (https://carlolucibello.github.io/Erdos.jl/latest/flow/). So the problem is solved :) |
I'll keep this open since having a min-cut format of the flow algorithms still seems interesting for LightGraphs |
Are we sure we don't have this functionality already? If not, Erdos would be a good reference. |
there is a |
@mbesancon Indeed it is not the same concept. You want to retrieve the labelling associated with the mincut from a source-sink maximum flow problem. This link should explain the concept: |
thanks @CBongiova, I was thinking about how to solve this one but the residual flow approach seems to be the simplest. I'll start working on this |
See the #11 PR ;) |
Hello,
I am running the maximum_flow function (Edmonds Karp Algorithm) but I have noticed that the function does not return the labelling associated with the minimum cut.
Is there a way to return this output?
Thanks!
The text was updated successfully, but these errors were encountered: