Added: 8 months ago
From: 1652449
Views: 5,618
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • This algorithm doesn't always give the optimal solution, look up Ford-Fulkerson for an algorithm that does. This one's a really useful starting point though.

  • Thanks. Glad it was helpful.

  • Best explanation I've ever seen of anything. I spent hours trying to understand how this works, now it's explained so beautifully and simple in an animation. Thank you so much!

  • emege saygi +rep

  • Just a note.

    The exhaustion of paths does not always give the optimum result,

    i.e. maximum flow is not always the one found with this algorithm.

    To get the max flow, you should in the end construct a residual network (with forward and backward arcs) and try to find the so called augmenting paths.

    The algorithm is called Flow augmenting path algorithm, and it is optimal.

    Thank you for the video!

  • very helpful. Thank you!

  • i love it really it helps me alot in understanding network flow

  • What about the path S-U-W-Z-T? Why is the smallest capacity for this path not identified?

  • @kenshiro3007 Because when identifying the path S-U-W-T , the capacity of of the edge U-W was exhausted. Therefore it couldn't be used any further.

    You could choose to use the path S-U-W-Z-T (ie choose to solve the problem using a different order) But this should not effect the end result.

  • can you post a mathematical solution? as in excel with solver or similar?

  • @tomlooway it's an algorithm

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more