13. Incremental Improvement: Max Flow, Min Cut

  Рет қаралды 150,995

MIT OpenCourseWare

MIT OpenCourseWare

8 жыл бұрын

MIT 6.046J Design and Analysis of Algorithms, Spring 2015
View the complete course: ocw.mit.edu/6-046JS15
Instructor: Srinivas Devadas
In this lecture, Professor Devadas introduces network flow, and the Max Flow, Min Cut algorithm.
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu

Пікірлер: 75
@anmol9096
@anmol9096 8 жыл бұрын
Wish I could sit in that room, answer your questions, get a frisbee :-) but it's still good. Thank you MIT for providing this level of education for free. If I grew up to earn sufficient money, I will surely donate so that you continue with this good work forever.
@karansvnit
@karansvnit 6 жыл бұрын
Cut -> 46:45 Residual Graph -> 1:08:10 Augmenting Path -> 1:18:10
@Kr4cKHe4D
@Kr4cKHe4D 5 жыл бұрын
thanks mate haha
@volimsamopare6946
@volimsamopare6946 4 жыл бұрын
Thanks!!
@Dontonethefirst
@Dontonethefirst 4 жыл бұрын
You dropped this, 👑
@wickshawn3994
@wickshawn3994 4 жыл бұрын
thanks bruh
@ivanmartinezmorales3483
@ivanmartinezmorales3483 3 жыл бұрын
Not all heroes wear capes
@ilyakopyl
@ilyakopyl 5 жыл бұрын
I don't know how I would survive algorithm classes in my school without these MIT lectures.
@matajuan366
@matajuan366 3 жыл бұрын
hookers and cocaine my friend
@brendawilliams8062
@brendawilliams8062 2 жыл бұрын
Watching it fit previous diagrams and rounding numbers is interesting
@nguyenthanhdat93
@nguyenthanhdat93 5 жыл бұрын
The lecture is phenomenal!! Thank you very much MIT for making this course open-source to the public !!
@MatthewYe
@MatthewYe 8 жыл бұрын
Only video about network flow I was able to understand - thanks MIT.
@adrianbona
@adrianbona 5 жыл бұрын
You're rocking it, Srinivas 🎉
@mikhailosiko
@mikhailosiko 3 жыл бұрын
Thank you very much! This was the first clear explanation of this topic. I highly recommend it to those who are studying "advanced algorithms" on coursera.
@djtiner1
@djtiner1 4 жыл бұрын
Very straightforward and clear explanation and illustrative examples. It made me understand this interesting subject! You did in an hour and 20 minutes what my teacher didn't in 2 hours!
@brendawilliams8062
@brendawilliams8062 2 жыл бұрын
I felt the electric 📐 angle on it. A great lecturer.
@matthewrister
@matthewrister 3 жыл бұрын
Love his enthusiasm!
@ryanc7840
@ryanc7840 2 жыл бұрын
A huge thanks and kudos to Professor Devadas.
@M4D4F4K4.
@M4D4F4K4. 11 ай бұрын
fuck have an exam next week with this topic. The professor only gave us a week to understand the material. Of course doable for smarties and exceptions but as a normal person. So intimidating.
@BlackHermit
@BlackHermit 3 жыл бұрын
The Frisbee of true Computer Science!
@ivanserranohernandez434
@ivanserranohernandez434 Жыл бұрын
Thanks MIT for these great lectures!
@adityakohli5160
@adityakohli5160 6 жыл бұрын
That's a very nice explanation !
@anishbhanushali
@anishbhanushali 6 жыл бұрын
if anyone's want to jump directly on finding cuts, @ 1:07:00 he starts to explain how you find min-cut
@Davio88
@Davio88 6 жыл бұрын
thank you very much
@foreveralice8311
@foreveralice8311 3 жыл бұрын
Great Lecture! Wonderful!
@h4vret
@h4vret 5 жыл бұрын
Excellent explanation.
@jenuno2
@jenuno2 8 жыл бұрын
Perfect, thanks !
@shreemaypanhalkar451
@shreemaypanhalkar451 7 жыл бұрын
Thank you very much.
@khailai5204
@khailai5204 3 жыл бұрын
Amazing class!
@mystmuffin3600
@mystmuffin3600 2 жыл бұрын
How does the sum at 28:40 even work? The sum of flow values outgoing from all vertices except source and sink equals zero?
@aybrl
@aybrl 2 жыл бұрын
This is great. Thank you
@xinli6243
@xinli6243 5 жыл бұрын
at 56:14 , one student asked a question about why don't we consider path s -> c. Sirinivas said when you don't have a particular edge from s to c, you can use skew symmetry to argue s->c and c->s cancelled out each other. I don't get his answer. We are considering f(S, T), why does c->s get involved and cancel s -> c?
@brendawilliams8062
@brendawilliams8062 2 жыл бұрын
I don’t know 🤷‍♀️. I just say in real life you need electricity or telephone poles.
@jeongminyoun5388
@jeongminyoun5388 3 жыл бұрын
Please, show me upper graph when you explain residual graph network flow, I didn't know that how it works.
@asian1599
@asian1599 7 ай бұрын
at 51:36, doesn't it break flow conservation since one of the nodes has 2 going in but 3 goes out?
@OmarAhmed-od9rf
@OmarAhmed-od9rf 4 жыл бұрын
What did that student mean at kzbin.info/www/bejne/jIq9eJ-dr9eSd9U?? We did consider c at f(d,c) which is -1 . Not sure what did he mean with his question.
@avinashpatil8816
@avinashpatil8816 5 жыл бұрын
He actually threw frisbee at students at an MIT lecture. That's hilarious....
@F1mus
@F1mus 4 жыл бұрын
Honestly, the camera guys need to pay attention to the lecture. When he asks about something that's on the board, don't point the camera at Srini. Point it at the BLACKBOARD, so that the viewer can also try to answer the question.
@mostafaomar5441
@mostafaomar5441 5 жыл бұрын
What was the point of disallowing self edges and cycles (u,v), (v,u) at 22:58? I'm not really sure I understand the difference between net-flow and positive-flow and the impact of the professor's assumption on the following definitions/constraints and therefore proof.
@arjunsingh2183
@arjunsingh2183 5 жыл бұрын
Self edges cause accumulation of flow which is not allowed. You can think of this as the amount of flow coming into a vertex must equal the amount of flow leaving it (like Kirchhoff's law for current flowing through wires). Cycles are accommodated by adding an intermediate edge so as to preserve that there was a direction of flow (the capacities remain the same along the newly added edges). This modification helps when we form Residual Networks as then we have the possibility of alternating (2 way) edges. Both these assumptions help significantly in proving the theorems discussed in the video.
@malharjajoo7393
@malharjajoo7393 7 жыл бұрын
How would you claim that using bottleneck value as the flow will always be correct ?
@dipenbhuva2061
@dipenbhuva2061 2 жыл бұрын
Informative!! I am eating information like never before :)
@varunnarayanan8720
@varunnarayanan8720 3 ай бұрын
I have a doubt in the flow conservation formula. f(u,v) is 0 only for all edges between u and v right. If there's an indirect edge then we take it also as 0 right. In the case how f(s,t) also should be equal to 0 right as there's no direct edge between s and t?
@yujeong8373
@yujeong8373 4 жыл бұрын
Cool class
@malharjajoo7393
@malharjajoo7393 7 жыл бұрын
I think there is a small mistake at the end in the example. Edge from c-> t should be 0:2
@amsainju
@amsainju 6 жыл бұрын
The lecture is really good but the movement of the camera is making me dizzy.
@malharjajoo7393
@malharjajoo7393 7 жыл бұрын
The proof at 1:03:00 seems a bit odd. he has broken up the RHS term in the parenthesis into 2 parts( but the rules he gave earlier break the LHS term in the parenthesis )
@viveksengupta
@viveksengupta 5 жыл бұрын
you can always negate and break the LHS, same deal
@junzhai1715
@junzhai1715 3 жыл бұрын
a super short proof of the Theorem at 40:49: 0=f(V,V)=f(s,V)+f(t,V)+f(V-s-t,V) ({s}, {t}, V-s-t are disjoint sets). Since f(V-s-t,V) = 0 (by conservation property), f(s,V)+f(t,V)=0. i.e. f(s,V) = -f(t,V) = f(V,t)
@jacobsalzberg8579
@jacobsalzberg8579 2 жыл бұрын
That's the proof I come to as well when I try to come up with the proof on my own. Any idea why he uses a different method?
@studyup6106
@studyup6106 6 жыл бұрын
46:46 cut
@subhamraj2500
@subhamraj2500 4 жыл бұрын
Cut 47:00
@shubhamtomar95
@shubhamtomar95 4 жыл бұрын
How does f(u, v) work in skew symmetry when (u,v) are not connected by an edge?
@sambennet1138
@sambennet1138 4 жыл бұрын
It would be 0 = -0 since we define any (u,v) with no explicitly given capacity as 0
@rifathasan6017
@rifathasan6017 2 жыл бұрын
is it related to gomory hu's algorithm?
@snlgrg
@snlgrg 8 жыл бұрын
Can somebody Plz provide me the link to the next lecture, which is continuation of this one.. !!
@mitocw
@mitocw 8 жыл бұрын
+snlgrg If the next video (14. Incremental Improvement: Matching) isn't visible as the top recommend video in the top right column, see this playlist to see it and the rest: kzbin.info/aero/PLUl4u3cNGP6317WaSNfmCvGym2ucw3oGp
@RayvinLai
@RayvinLai 4 жыл бұрын
I saw Erik on the seat when camera zoom out
@videofountain
@videofountain 7 жыл бұрын
At the time point kzbin.info/www/bejne/jIq9eJ-dr9eSd9Um40s we can see some numeric summation and the graph diagram at once. That is helpful. Then after that we rarely see them both at the same time, which is not helpful. MIT does provide the pdf at their website for more clarity. Their is a unfortunate combination of red chalk, handwriting, and excess camera movement. There is a simple summation of values, positive and negative and the explanation does not reflect that simplicity. Looking at the pdf document and the video simultaneously is useful. MIT might consider full screen pip (picture in picture) and chalkboard centric view simultaneously for ease of viewing.
@omercreateswords
@omercreateswords 4 жыл бұрын
at 42:14 why f(s,V)=f(V,V)-f(V-s,V)?
@junzhai1715
@junzhai1715 3 жыл бұрын
because V-{s} and {s} are disjoint sets. By the third property, we have f(s,V)+f(V-s,V)=f(V,V)
@pratyushvatsa7490
@pratyushvatsa7490 2 жыл бұрын
His bag is actually a 4-dimensional container
@osmankhalid2005
@osmankhalid2005 3 жыл бұрын
Min-cut example part not clear.
@inesoliveira7418
@inesoliveira7418 4 жыл бұрын
my teachers never gave me frisbees
@AmarVashishth
@AmarVashishth 7 жыл бұрын
Mr. Cameraman focus on the BOARD more than on the teacher.
@videofountain
@videofountain 7 жыл бұрын
The MIT site has (pdf) documents for the lectures which you might enjoy. You may also pause the video. You may want to have side by side windows on your computer to see both at the same time.
@raynoldcsya8317
@raynoldcsya8317 7 жыл бұрын
i think the camera panning is automated right? seems like there is some tracking going on... If so that is pretty amazing
@SannaFarrukh
@SannaFarrukh 6 жыл бұрын
videofountain k
@user-hs7qg5tt8t
@user-hs7qg5tt8t 5 жыл бұрын
@@raynoldcsya8317 yeah imagine them holding the camera and track the board and professor for over 1 hour... a lot of endeavors
@hendelsrkearny
@hendelsrkearny 4 жыл бұрын
What's CLRS?
@hendelsrkearny
@hendelsrkearny 4 жыл бұрын
Yup. Thanks. It’s pretty overrated. If you go to Amazon, most of the reviewers are trying to sound smart and are just parroting each other. Then there are a bunch of negative reviews from people who are unhappy about damage to the copies they got. And then finally, there are some very well-thought-out and well-written criticisms of the book which really should be heeded. Amazing how mediocrity gains such credibility.
@dkg4975
@dkg4975 3 жыл бұрын
I don't know about others but I don't like these kind of teachers
@buraknuhemiroglu6033
@buraknuhemiroglu6033 7 жыл бұрын
its unbelievable he managed to extend a simple 20 minute topic (at max ) and lecture it for 1 hour and 22 minutes. im in 1h15min and still havent seen a defn about ford fulkerson method which he tries to explain. completely trash. if you want to learn the algorithm, dont waste your time on this video, watch ucdavis, idk.
@mr.arikodus7527
@mr.arikodus7527 Жыл бұрын
Kanka 6 sene olmuş ama ben senin kadar köylü bir adam görmedim. Dersin ana konusu zaten ford fulkerson algoritması değil, adam algoritmanın çalışma mantığının altında yatan sebepleri ve teoriyi anlatıyor bazılarının da kanıtlarını veriyo. Bir sike sap olabildin mi çok merak ettim bu kafayla
14. Incremental Improvement: Matching
1:22:32
MIT OpenCourseWare
Рет қаралды 52 М.
12. Greedy Algorithms: Minimum Spanning Tree
1:22:10
MIT OpenCourseWare
Рет қаралды 220 М.
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,5 МЛН
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 15 МЛН
Maximum flow Minimum Cut Algorithm
14:02
Joel Speranza Math
Рет қаралды 35 М.
Network Flows: Max-Flow Min-Cut Theorem (& Ford-Fulkerson Algorithm)
21:56
6. Monte Carlo Simulation
50:05
MIT OpenCourseWare
Рет қаралды 2 МЛН
Maximum flow problem - Ford Fulkerson algorithm
5:11
Verdiana Pasqualini
Рет қаралды 15 М.
10. Dynamic Programming: Advanced DP
1:20:08
MIT OpenCourseWare
Рет қаралды 112 М.
26. Chernobyl - How It Happened
54:24
MIT OpenCourseWare
Рет қаралды 2,8 МЛН
16. Learning: Support Vector Machines
49:34
MIT OpenCourseWare
Рет қаралды 1,9 МЛН
Lecture 13: Breadth-First Search (BFS)
50:48
MIT OpenCourseWare
Рет қаралды 697 М.