No video

15. Linear Programming: LP, reductions, Simplex

  Рет қаралды 195,480

MIT OpenCourseWare

MIT OpenCourseWare

Күн бұрын

MIT 6.046J Design and Analysis of Algorithms, Spring 2015
View the complete course: ocw.mit.edu/6-0...
Instructor: Srinivas Devadas
In this lecture, Professor Devadas introduces linear programming.
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu

Пікірлер: 96
@gustavo5320
@gustavo5320 4 жыл бұрын
One of the best explanations about the fundamentals of Simplex. Thank you, Professor!
@Ludiusvox
@Ludiusvox 5 жыл бұрын
Thank you so much for this lecture, because I have taken Analysis of Algorithms and supposedly it was ABET accredited and I didn't miss any lectures but somehow this lecture wasn't included in my class. In my theory you guys are all working off of the public education budget from the DoE so thank you for filling in where the other teachers skip subjects in school
@minhazjisan3074
@minhazjisan3074 4 жыл бұрын
simplex method/big m method are fundamental part of operations research course
@karansvnit
@karansvnit 6 жыл бұрын
Simplex algo: 58:38
@juliotufino4246
@juliotufino4246 5 жыл бұрын
Not all heroes wear capes
@biswajeetsethi7689
@biswajeetsethi7689 5 жыл бұрын
At 16 min.. what is that / 111 ?? I dnt get it
@polymathmaktaba9092
@polymathmaktaba9092 4 жыл бұрын
@@biswajeetsethi7689 it's a fraction.
@abramwestrick9790
@abramwestrick9790 4 жыл бұрын
Thanks
@abhilashc2965
@abhilashc2965 3 жыл бұрын
Blessyou
@henryzhu7309
@henryzhu7309 4 жыл бұрын
One of the interesting class for the whole series. No boring proof and analysis
@SubhamKumar-eg1pw
@SubhamKumar-eg1pw 5 жыл бұрын
Simplex algorithm at 59:53
@lilyshawn5454
@lilyshawn5454 Жыл бұрын
What a great lecture! I love that the professor handed out Frisbee to his students.
@ariellubonja7856
@ariellubonja7856 2 жыл бұрын
39:45 - Expressing Max-Flow as LP
@caio-jl6qw
@caio-jl6qw Жыл бұрын
Golden lecture! On top of that, a charismatic professor :)
@KofiKrules
@KofiKrules 6 жыл бұрын
This dude is rolling of a bean rn
@KofiKrules
@KofiKrules 6 жыл бұрын
never mind, I had my speed on 1.25
@gatoquantico3925
@gatoquantico3925 3 жыл бұрын
How did he get the constants for getting the certificate of optimality?
@XiaosChannel
@XiaosChannel 8 жыл бұрын
oh dear, never thought I'd learn how politics work here.
@andriwmunoz9006
@andriwmunoz9006 7 жыл бұрын
Xiao'sChannel amazing, isn't it?
@user-hs7qg5tt8t
@user-hs7qg5tt8t 5 жыл бұрын
unbelievable! how they decide what to say to let people vote to them
@bhushan8362
@bhushan8362 4 жыл бұрын
@1:17:23 equation for slack variable x5 is wrongly written (last term should be x6 /2 instead of x1 /2)
@junzhai1715
@junzhai1715 3 жыл бұрын
correct
@kallishanti
@kallishanti Жыл бұрын
prof was high af
@AvanagantiAkshathreddy
@AvanagantiAkshathreddy 7 ай бұрын
He proved that x1+x2+x3+x4 has 3100000/111 as a possible lower bound, but where did he prove that it is the minimum possible lower bound in the certificate of optimality??
@ubershh
@ubershh 2 жыл бұрын
33:11 Converting LP problem to standart form
@PedroFPardo
@PedroFPardo 6 жыл бұрын
I couldn't get a better solution than (x1, x2, x3) = (8, 4, 0) >> 28 How can Professor Devadas get to 30?
@victornyborg6569
@victornyborg6569 3 жыл бұрын
I get the same answer as you using a different method.
@lounesbenali4889
@lounesbenali4889 2 жыл бұрын
I think that z is equal to 27 + x2/4 - x3/2 -3x6/4 instead of 27 + x2/4 +x3/2 -3x6/4 But despite that I still find like you (8, 4, 0) >> 28
@jwarha7797
@jwarha7797 5 жыл бұрын
Great lecture. That board though...I wish I could clean it myself.
@user-hs7qg5tt8t
@user-hs7qg5tt8t 5 жыл бұрын
hahha +1
@lilyshawn5454
@lilyshawn5454 Жыл бұрын
lol
@binwangcu
@binwangcu 3 жыл бұрын
I can make an unapproved claim that the optimality is smaller, but how come using cost function itself certifies the optimality?
@SakosTechSpot
@SakosTechSpot 8 жыл бұрын
how relevant to current events.
@dariusduesentrieb
@dariusduesentrieb 4 жыл бұрын
yeah
@nyahhbinghi
@nyahhbinghi 2 жыл бұрын
LP is super relevant - since many systems are linear, but LP is also very useful as part of the algorithm for IP (integer programming) which is used for scheduling algorithms
@gulnursonmez9539
@gulnursonmez9539 3 жыл бұрын
For the limitation equations, dollar spent per issue times number of people gained or lost per issue gives dollars, but the right hand side constant shows number of people. there's a type mismach. I got lost. I mean 50000 $, 100000 $ or 25000$ could be, but they are not dollars, they are number of people, 50000 people, 100000 people, 25000 people, but the x1, x2, x3, x4 are dollars/issue.
@junzhai1715
@junzhai1715 3 жыл бұрын
the coefficient: -2,5,3,etc. are votes/dollar. So -2*X1 means votes/dollar*dollars/issue=votes/issue. Therefore, the constraint is how many total votes for each issue. Here it also assumes each people has one vote. People=Vote
@hsujerry7231
@hsujerry7231 6 ай бұрын
How can we prove the time complexity of the simplex algorithm? The professor seems to omit the proof
@lounesbenali4889
@lounesbenali4889 2 жыл бұрын
at 1:16:45 z = 27 + x2/4 - x3/2 -3x6/4 a small typo ! But Thank you !
@guillemf2486
@guillemf2486 3 жыл бұрын
28:34 Did he just throw a frisbee? Why are his classes so much fun?
@harrywang6792
@harrywang6792 3 жыл бұрын
I guess you are new here lol. Yeah, he throws a frisbee to the students who answers questions
@ZhanCaitao
@ZhanCaitao 3 жыл бұрын
Good lecture.
@mustafa7891
@mustafa7891 3 жыл бұрын
What did the professor throw, when the student answered correctly? Do anyone know?
@OakCMC
@OakCMC 3 жыл бұрын
It's a frisbee.
@KundoKun
@KundoKun 6 ай бұрын
I learned that people gift frisbees to politicians based on the message they want to hear.
@xavierdsouza8885
@xavierdsouza8885 4 жыл бұрын
1:04:53 simplex derive
@englishmotherfucker1058
@englishmotherfucker1058 4 жыл бұрын
1:20 the chalk looks like the upper left quarter of a face looking towards the exit
@rahulkasar124
@rahulkasar124 2 жыл бұрын
Can someone timestamp when he starts talking about Simplex please?
@_ahmedkira
@_ahmedkira 3 жыл бұрын
can you add timestamp please
@SarveshBhatnagar1214
@SarveshBhatnagar1214 6 жыл бұрын
I enjoy learning algorithms here... nice work...
@biswajeetsethi7689
@biswajeetsethi7689 5 жыл бұрын
At 16 min.. what is that / 111 ?? I dnt get it
@hernanodi2877
@hernanodi2877 4 ай бұрын
@@biswajeetsethi7689 I don't understand either
@rongrongmiao4638
@rongrongmiao4638 7 жыл бұрын
When introducing general form of LP, shouldn't the objective function be x*c transpose? Since c is also a vector which means that it's a column matrix...
@mateusrochacruz7966
@mateusrochacruz7966 6 жыл бұрын
Yes! But C is generally considered as a matrix os 1 line and n columns, avoiding the transpose.
@wademarshall2364
@wademarshall2364 6 жыл бұрын
You can, but what he wrote is valid because he wrote the coefficients as a column vector and multiplied them with the dot product. Which is equivalent to matrix multiplication with the transpose
@yashotkarshmanitripathi3694
@yashotkarshmanitripathi3694 6 жыл бұрын
why we are equating money spent on each issue to the population of that demography ?
@Aiwon
@Aiwon 6 жыл бұрын
That also bothered me. I think that X1 through X4 are simply dollar and the coefficients associated are in Vote/Dollar. For exemple Urban/Gun control coefficient is +8 meaning that the more money you spend the more vote you get until you have a majority. 8*X1 = the vote you get by spending X1 DOLLARS in urban ad campaign on gun control.
@junzhai1715
@junzhai1715 3 жыл бұрын
the coefficient: -2,5,3,etc. are votes/dollar. So -2*X1 means votes/dollar*dollars/issue=votes/issue. Therefore, the constraint is how many total votes for each issue. Here it also assumes each people has one vote. People=Vote
@Catloverassam
@Catloverassam 3 жыл бұрын
Is there restriction on the number of decision variables and constraints used in an LPP?
@TommasoFerracina
@TommasoFerracina Жыл бұрын
no
@jeongminyoun5388
@jeongminyoun5388 4 жыл бұрын
Can anybody tell me how did 140/222 come out?
@ttobg
@ttobg 3 жыл бұрын
I don't know also
@shubhamide
@shubhamide 3 жыл бұрын
sir multiplied some coefficients to all three constraints equations....and then added all three equations
@mustafa7891
@mustafa7891 3 жыл бұрын
Do you till want to know?
@rasraster
@rasraster Жыл бұрын
Lucky for him the optimal solution had x3 = 0, because otherwise x1 + x2 + x3 + x4 would be strictly greater than 3100000/111!
@Giesela0815
@Giesela0815 7 жыл бұрын
28:08 Haha that was funny!
@fallug2501
@fallug2501 7 жыл бұрын
I didn´t undestand what happened! Can you explain please? Thanks. :)
@Giesela0815
@Giesela0815 7 жыл бұрын
He said, she has her head down. Then proceeds to throw the Frisbee at the student.
@cyanide4u539
@cyanide4u539 5 жыл бұрын
Is this person Indian??
@batman76781
@batman76781 5 жыл бұрын
Yes
@subhamraj2500
@subhamraj2500 5 жыл бұрын
Yup
@ramizhossain9082
@ramizhossain9082 2 жыл бұрын
Explain an easy way .
@brandongomes7321
@brandongomes7321 8 жыл бұрын
This is great
@ShaunYCheng
@ShaunYCheng 8 ай бұрын
My #1 take away from this lecture: How does politics work? "You buy elections!"
@AI7KTD
@AI7KTD 4 жыл бұрын
The assumption at 4:49 would imply that you could decide to spend different amounts of money per issue per region, instead of having a global budget per issue. Now that's how real politics work!
@nishchayshah6356
@nishchayshah6356 7 жыл бұрын
What are the space and time complexity of the simplex algo? how to find that?
@Marshal4o
@Marshal4o 7 жыл бұрын
It's exponential in time, you can find it in the notes here: ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-design-and-analysis-of-algorithms-spring-2015/lecture-notes/MIT6_046JS15_lec15.pdf
@aaditshah4689
@aaditshah4689 7 жыл бұрын
It should be noted that the time complexity of the simplex algorithm is only exponential in the worst case. For practical problems, the simplex algorithm is quite efficient running in cubic time.
@jacquestaschereau7645
@jacquestaschereau7645 7 жыл бұрын
mention @2:10 and 1:02:10
@IceTurf
@IceTurf 3 жыл бұрын
how come Xi --> Xi' - Xi''?
@junzhai1715
@junzhai1715 3 жыл бұрын
because any real number Xi can be represented as the difference of two non-negative numbers Xi' and Xi''.
@IceTurf
@IceTurf 3 жыл бұрын
@@junzhai1715 Xi' usually implies the first derivative on Xi.... and Xi'' usually implies the second derivative of Xi....?
@junzhai1715
@junzhai1715 3 жыл бұрын
@@IceTurf oh no. sry. They are just two different variables. You can treat them as Yi and Zi if you want. Nothing to do with derivative.
@vinayakkambli7278
@vinayakkambli7278 4 жыл бұрын
Sy bsc mumbai university lecture
@payndha6228
@payndha6228 7 жыл бұрын
Am I the only 8th grader that watches this kind of stuff cuz its interesting?
@harshtiwari9315
@harshtiwari9315 4 жыл бұрын
Just use a Neural Network!
@SacknoobGaming
@SacknoobGaming 6 жыл бұрын
this is MIT yet I'm doing this in 10th grade fml
@nayankumarbarwa4317
@nayankumarbarwa4317 Жыл бұрын
lol and i doing it now hahah in second year engineering Even I was in 10th 5 years back, didnt even cared to watch anything other than cartoons
16. Complexity: P, NP, NP-completeness, Reductions
1:25:25
MIT OpenCourseWare
Рет қаралды 398 М.
The Art of Linear Programming
18:56
Tom S
Рет қаралды 655 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 11 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 17 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 101 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
Introduction to Poker Theory
30:49
MIT OpenCourseWare
Рет қаралды 1,3 МЛН
Intro to Linear Programming
14:23
Dr. Trefor Bazett
Рет қаралды 185 М.
12. Greedy Algorithms: Minimum Spanning Tree
1:22:10
MIT OpenCourseWare
Рет қаралды 224 М.
Simplex Explained
10:01
Louis Holley
Рет қаралды 71 М.
How to Speak
1:03:43
MIT OpenCourseWare
Рет қаралды 19 МЛН
24. Cache-Oblivious Algorithms: Searching & Sorting
1:17:41
MIT OpenCourseWare
Рет қаралды 18 М.
26. Chernobyl - How It Happened
54:24
MIT OpenCourseWare
Рет қаралды 2,8 МЛН
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 506 М.
Necessity of complex numbers
7:39
MIT OpenCourseWare
Рет қаралды 2,6 МЛН
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 11 МЛН