Simplex Explained

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Here is an explanation of the simplex algorithm, including details on how to convert to standard form and a short discussion of the algorithm's time complexity.

Комментарии • 119

  • @osmanhajiyev
    @osmanhajiyev 7 лет назад +136

    So concise... Someone give this guy a Nobel Prize

  • @LnX53
    @LnX53 4 года назад +40

    this is legitimately gold, i've had no idea about simplex, circulated through 4 or 5 video, all of them assumed I had some knowledge prior to watching the video so I could not understand anything at all from them. But this one right here... This is perfect ! thank you

  • @m4d_al3x
    @m4d_al3x 3 года назад +10

    You just summed up my 1.5hour lecture in a 10min video.

  • @ibrahimrupawala3444
    @ibrahimrupawala3444 3 года назад +10

    I have spent hours understanding linear programming and simplex but this dude explained it better than anyone in 10 mins

  • @voxlz
    @voxlz 4 года назад +9

    Except for the last few seconds, which gave me horrible flashbacks, this is more or less the perfect explanation. Thanks a lot!

  • @ilikechocolate3741
    @ilikechocolate3741 2 года назад +1

    at 8:07
    the column S2, third row, the number should be 10/3, not 15/4.
    Also, you didn't mention artificial variables, two phase simplex and duality at all.
    With that being said, very good video, I'd give you a 9/10

    • @janplechaty1702
      @janplechaty1702 2 года назад +1

      Yes, I got that too. I think there was a mistake with -1/3 on the S2 above that 15/4, because S2 on the second row should be just 1/3, not -1/3. Thank you for your comment and thanks to author for his explanation.

  • @akshay-ashok
    @akshay-ashok 3 года назад +5

    I don't usually comment in RUclips videos. But this video right here should be appreciated. Man, you're awesome!

  • @DlcEnergy
    @DlcEnergy 6 лет назад +8

    you mean, Complex Explained

  • @AbdallahBoukouffallah
    @AbdallahBoukouffallah 8 месяцев назад +2

    Old yet still the best

  • @warsicklol
    @warsicklol 7 лет назад +5

    Simple and clear explanation. Thank you for making this video

  • @pacmanmaster16
    @pacmanmaster16 4 года назад +2

    Great video, you should make a comeback

  • @titanictypist9062
    @titanictypist9062 4 года назад +3

    Holy cow dude! This was VERY well explained. Inspiring.

  • @joebashour
    @joebashour 3 года назад +2

    This is the most straightforward video explanation of Simplex...Very much appreciated. Thanks!

  • @TheMyanka
    @TheMyanka 7 лет назад +4

    Thank you, that was a brilliant explanation.

  • @krischalkhanal234
    @krischalkhanal234 3 года назад +3

    So concise yet so perfect. And so intuitive and elementary too.

  • @chicagogirl9862
    @chicagogirl9862 5 лет назад +2

    I searched a lot and I've been confused totally but you explained very good:)

  • @bakdorz
    @bakdorz 4 года назад +3

    Great explanation! Question though:
    Once we reach intersection at B ( 4:35 ) you mention that we have TWO options. Keep b=0, or keep s2=0.
    I'm not sure I understand how come we have two options, since if we chose b-0, then the objective would decrease no?

    • @elliott8175
      @elliott8175 3 года назад

      Yeah, I think you're always strictly improving on the solution, so surely you could always rule-out the vertex that you just came from. For 2D problems that'd mean doing a circuit till you're at the max.

    • @estelle367
      @estelle367 Год назад

      🤓

  • @clutterArranger
    @clutterArranger 4 года назад +1

    I am a computery guy.

  • @n-da-bunka2650
    @n-da-bunka2650 2 года назад

    Perhaps it was my linear computation classes from 1981 kicking in but didn't everyone know the answer the minute it was asked? I started to wonder why he was presenting such an obvious solution and kept waiting for the trick that I may have originally missed which, of course, doesn't exists.

  • @InvincibleAirman
    @InvincibleAirman Год назад

    I came here to understand the reasons behind the matrix manipulation better, but when the video reached that part, it kind of stopped explaining (why things are done) and settled for narrating (what is being done, which I already know) so I didn't find it as helpful as I had hoped.

  • @ramananm6257
    @ramananm6257 2 года назад

    The irony is Simple is not actually "Simple"!! (The big table thing, Oh God 🤯)

  • @Physicus9
    @Physicus9 6 лет назад +9

    Am I the only one wondering how at 8:05 he managed to get 15/4 for the 5-(5*(-1/3))? That would be 10/3 if I'm not mistaken...

    • @louisholley7944
      @louisholley7944  6 лет назад +9

      Michael Duffy you are correct, but fortunately here that doesn’t matter. Thanks for pointing out the mistake :)

  • @erazn9077
    @erazn9077 11 месяцев назад

    At 8:08 shouldn’t the 4th value for the last row be 10/3 instead of 15/4?
    5 + ( - 5 / 3 )

  • @markkaravan4245
    @markkaravan4245 4 года назад +1

    Amazing explanation. Not nearly enough subscribers.

  • @reshmithampy
    @reshmithampy 3 года назад +1

    Now I have an idea about what I am to do and not feel forced to memorize the steps

  • @pengliu6245
    @pengliu6245 3 года назад +1

    The only excellent video explains the simplex algorithm very clearly! Many thanks.

  • @wexwexexort
    @wexwexexort 2 месяца назад

    Really nice explanation, clear and to the point.

  • @debonairrose
    @debonairrose Год назад

    his voice fits being the main vocal of a rock band i swear to god.

  • @lstathisplaysvideogames4906
    @lstathisplaysvideogames4906 2 года назад

    My guy, you just saved my ass , my professor could never

  • @shaky3
    @shaky3 Год назад

    thank you! you made simplex simple lol

  • @abdulrehmanbilal958
    @abdulrehmanbilal958 2 года назад

    OMG
    This opened the doors of my thoughts.

  • @ayushbhatnagar8091
    @ayushbhatnagar8091 4 года назад +1

    At 9:15, Case where x is negative, I think you need to add one more constraint x_1< x_2 and need to include them in the objective function as well.
    Great explanation btw.

  • @theatulupadhyay
    @theatulupadhyay Год назад

    Very beautifully explained.

  • @ansyona7522
    @ansyona7522 6 лет назад +5

    Thank you for sparing many hours of torture for many!!

  • @nischalsubedi9432
    @nischalsubedi9432 3 года назад

    @ 2.25 timestamp--did you mean s1

    • @elliott8175
      @elliott8175 3 года назад

      *S* represents the amount that you would need to add to the smaller amount (lhs) to make it equal to the larger amount (rhs). So *S1* and *S2* should be strictly non-negative.

  • @iambossgetlost1395
    @iambossgetlost1395 3 года назад +1

    👌

  • @daesoolee1083
    @daesoolee1083 4 года назад +1

    Read and watched several explanations about the Simplex but this video is the best.
    It starts with the overall idea and gets deeper and deeper, which helps the understanding quite a lot.

  • @gat0tsu
    @gat0tsu 2 года назад

    very clear. amazing. wow

  • @ankitunariya3661
    @ankitunariya3661 Год назад

    YOU R A GENIUS ! THANKS A LOT.

  • @atakan716
    @atakan716 6 месяцев назад

    awesome explanation 🎉

  • @pakonicoco
    @pakonicoco Год назад

    Might be either dumb or too late.. but why not only sell standard chairs? As I am understanding it, you are essentially loosing profit with every “luxury” chair you sell.. if you spent the 1000 hours on 100 “standard” chairs (costing 10 hours each) you would make $1000 at $10 each. If you made a single “luxury” one and the rest “standard”, you would make $980. If you made two “luxury” chairs and the rest “standard”, you would make $960.. i.e. you are loosing $20 for every chair.
    It costs you twice in labor to profit for every luxury chair, compared to a one to one cost in labor to profit for standard chairs.
    What the hell am I missing?

    • @nils3989
      @nils3989 Год назад

      you can only make a maximumof 40 chairs due to the m3 of wood available.

    • @pakonicoco
      @pakonicoco Год назад

      @@nils3989 Ohhhh thats the detail I overlooked. Thank you for pointing it out.

  • @estelle367
    @estelle367 Год назад

    i dont like the drawings

  • @mouhamethfadalmarabyaidara4935
    @mouhamethfadalmarabyaidara4935 6 лет назад +1

    concise and accurate explanation.Great video and thanks a lot

  • @VietnamSteven
    @VietnamSteven 2 года назад

    your presentation style is really outstanding!!

  • @anthonyh5025
    @anthonyh5025 7 лет назад +2

    Egg

  • @estelle367
    @estelle367 Год назад

    i likz your accent

  • @1tokillamockingbird
    @1tokillamockingbird 2 года назад

    LEGEND! You can die in peace knowing that your legacy will forever save future undergrad students days before their final exam

  • @earthling123
    @earthling123 Год назад

    Thank you louis

  • @ZenoDiac
    @ZenoDiac 2 года назад

    Beautifully explained

  • @ElectromecanicaIndustrial
    @ElectromecanicaIndustrial 3 года назад

    thank you

  • @razamailbox
    @razamailbox 3 года назад

    Great Explanation, finally a video which gives some intuition
    Thank you!!

  • @tayyabmughal10000
    @tayyabmughal10000 3 года назад

    welcome to 2021.

  • @santoshkavhar2596
    @santoshkavhar2596 Год назад

    Thanks so much for simplifying it so much, textbooks make it way more harder. I hope you keep making more videos

  • @ericc6820
    @ericc6820 10 месяцев назад

    well said 👏

  • @almakyubi
    @almakyubi 3 месяца назад

    tysm

  • @oliviergagnon5918
    @oliviergagnon5918 6 лет назад +4

    Best demonstration around. And would be hard to beat. Thanks.

  • @javad346
    @javad346 2 года назад

    Thanks a lot

  • @tapobrataroychoudhury3016
    @tapobrataroychoudhury3016 2 года назад

    Thank you❤

  • @salmaalfawal6155
    @salmaalfawal6155 8 месяцев назад

    I can't believe this is the only video on your channel, it's so informative and you explained it very well!

  • @danielTkachenko0
    @danielTkachenko0 7 лет назад +5

    That's a great explanation! Thanks for the video

  • @pathfinder750
    @pathfinder750 3 года назад

    what a legend

  • @arielediang5381
    @arielediang5381 3 года назад

    s1 and s2 aren't supposed to be great or equal to zero? why do you s1 and s1 are less than zero while drawing the graph?

  • @Alex-op2kc
    @Alex-op2kc 3 года назад

    good video

  • @XShollaj
    @XShollaj 3 года назад

    Perfection

  • @nipo4144
    @nipo4144 5 лет назад +1

    why do we want the smallest ratio at 6:58?

    • @24mrdanny
      @24mrdanny 5 лет назад

      I am wondering this as well...

    • @nipo4144
      @nipo4144 5 лет назад

      @@24mrdanny this smallest ratio allows us to keep the constraints on variables. on a graph it corresponds to moving along the edge until u encounter the first constraint.

  • @aziz99
    @aziz99 3 года назад

    man you re a life saver , also that scene from dhis is pure gold, bless you

  • @earthling123
    @earthling123 Год назад

    "A quick sanity check" always gets me 😂

  • @ПавлоЛінн
    @ПавлоЛінн 4 года назад

    all the trickery with divisions still not explained.

  • @valentinegift3689
    @valentinegift3689 5 лет назад

    Dude you are wonderful - really wish you'll somehow monetize your explanation skills.

  • @whasuklee
    @whasuklee 3 года назад

    Such a great help! Really appreciate your work!!

  • @shershahdrimighdelih
    @shershahdrimighdelih 4 года назад

    Very well presented, and the jump cuts help understand things better

  • @luigiduprez7510
    @luigiduprez7510 2 года назад

    I would love to see more videos from him, a very nice way of explaining and visualising the concept

  • @sjwang3892
    @sjwang3892 3 года назад

    Thanks for this great video!

  • @saranshgokhale8298
    @saranshgokhale8298 3 года назад

    Very helpful, thank you!

  • @vaggelismanousakis6147
    @vaggelismanousakis6147 4 года назад

    Simplex explained Simply. Thaks a lot

  • @4BohrKid
    @4BohrKid 3 года назад

    best explanation i've seen so far.

  • @prasadkavinda1210
    @prasadkavinda1210 6 лет назад +3

    thanks man. very helpful!!

  • @faresmajed50
    @faresmajed50 4 года назад

    I wish you are my instructor, thank you so much for this short and concise video

  • @steven1671
    @steven1671 5 лет назад

    That intro sound sounds familiar.... dont hug me I'm scared.

  • @ruslanaliev2216
    @ruslanaliev2216 4 года назад

    best explanation of simplex ever!

  • @toxictime3862
    @toxictime3862 3 года назад

    This is awesome! Please do more

  • @lopyus
    @lopyus 3 года назад

    Thank you so much! =)

  • @waheebalqamar558
    @waheebalqamar558 4 года назад

    Man,
    you are the best

  • @mathaha2922
    @mathaha2922 3 года назад

    Excellent!

  • @austinoquinn815
    @austinoquinn815 3 года назад

    Wow, that was great.

  • @elliott8175
    @elliott8175 3 года назад

    So, this vid is amazingly concise; but I got me some questions:
    1) How do you choose the first vertex? In this case it's "obvious" that (0,0) is a vertex, but I have a problem with over 100k decision variables and if I set them all to zero then I'll be outside the solution region.
    2) How to handle constraints that don't form a boundary? Imagine the same as above, but with the added constraint *x

    • @julianocamargo6674
      @julianocamargo6674 2 года назад

      1 - This is the purpose of the slack variables. If the right side vector b is positive, you can always start with x=0 ans s=b.
      Some problems do not have postive b, and then indeed it is another problem. It is called the 'first phase' of simplex algorithm. You have to start with what we call a "basic feasible solution"

    • @julianocamargo6674
      @julianocamargo6674 2 года назад

      2 It seems the process of changing the base was not explained, but in simplex if you start with a bfs vertex, you always get another bfs (improved) vertex. When you change the point you test how far can you move it in a given direction, and then your redundant constraint would never show up. Since some constraints add nothing to the problem, some solvers can do a preprocessing and remove it just to make the matrix smaller .

    • @elliott8175
      @elliott8175 2 года назад +1

      @@julianocamargo6674 Thanks for your explanations! I wish I could give an intelligent response, but I haven't touched simplex since I first wrote this comment. I'm sure I'll come back to it and read your comments again. Thanks. =)

  • @thangible
    @thangible 3 года назад

    i love this.

  • @kevinchou4147
    @kevinchou4147 5 лет назад

    vivid example

  • @antoinecolson9989
    @antoinecolson9989 5 лет назад +2

    you did not explain why at 6:40 you take the constants in the last column and divide them by their corresponding values in the first column. This video does not explain the simplex method, it simply describes it.

  • @abikim3438
    @abikim3438 7 лет назад

    from the drawing, how can i know if there is unused material or hours ?

    • @nandaschuch
      @nandaschuch 4 года назад

      You are producing 20 of each chair, which use 3m2, so in total you use 120m2 (40*3m2) which is the maximum allowed by the problem, so no unused material. The same for the hours, the full 1000 hours were used (20*40+20*10).

  • @authenticstories2571
    @authenticstories2571 5 лет назад

    great

  • @thejumpyone
    @thejumpyone 5 лет назад +2

    You sound like name explain

  • @kushb5419
    @kushb5419 4 года назад

    thank you!

  • @heoTheo
    @heoTheo 5 лет назад

    awesome!

  • @MuhsinFatih
    @MuhsinFatih 5 лет назад

    9:57 what dafuq ahahah

  • @MuhsinFatih
    @MuhsinFatih 5 лет назад +1

    I am experiencing mathgasm. So elaborately put. Awesome video

  • @BipinOli90
    @BipinOli90 7 лет назад +2

    good explanation

  • @jared0801
    @jared0801 5 лет назад +1

    thanks for the straightforward explanation

  • @Helen-lm6bb
    @Helen-lm6bb 6 лет назад +1

    I don't know why your channel isn't popular! Great explanation for people who don't have prior knowledge to such algorithm. Thanks!

  • @Traymer7
    @Traymer7 5 лет назад +1

    Perfect man! Love that you implemented theory as well!