Simplex Explained

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 121

  • @osmanhajiyev
    @osmanhajiyev 7 років тому +140

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

  • @LnX53
    @LnX53 4 роки тому +43

    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

  • @ibrahimrupawala3444
    @ibrahimrupawala3444 3 роки тому +11

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

  • @salmaalfawal6155
    @salmaalfawal6155 10 місяців тому +1

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

  • @akshay-ashok
    @akshay-ashok 4 роки тому +5

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

  • @m4d_al3x
    @m4d_al3x 4 роки тому +11

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

  • @AbdallahBoukouffallah
    @AbdallahBoukouffallah 10 місяців тому +2

    Old yet still the best

  • @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!

  • @joebashour
    @joebashour 4 роки тому +2

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

  • @gabrieltepin
    @gabrieltepin Місяць тому

    This must be one of the best content in the whole youtube, amazing

  • @pengliu6245
    @pengliu6245 3 роки тому +1

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

  • @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.

  • @krischalkhanal234
    @krischalkhanal234 4 роки тому +3

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

  • @wexwexexort
    @wexwexexort 4 місяці тому

    Really nice explanation, clear and to the point.

  • @debonairrose
    @debonairrose Рік тому +1

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

  • @aziz99
    @aziz99 3 роки тому

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

  • @titanictypist9062
    @titanictypist9062 4 роки тому +3

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

  • @chicagogirl9862
    @chicagogirl9862 5 років тому +2

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

  • @oliviergagnon5918
    @oliviergagnon5918 6 років тому +4

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

  • @VietnamSteven
    @VietnamSteven 2 роки тому

    your presentation style is really outstanding!!

  • @warsicklol
    @warsicklol 7 років тому +5

    Simple and clear explanation. Thank you for making this video

  • @ilikechocolate3741
    @ilikechocolate3741 2 роки тому +2

    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 роки тому +2

      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.

    • @CauseOfBSOD
      @CauseOfBSOD 14 днів тому

      @@janplechaty1702 indeed, I have been implementing the algorithm for a computer science project. Test case (problem from this video) kept failing because of this. Eventually worked through the algorithm by hand and got the same result my implementation gave (i.e. both S2 row 3 being 10/3 and S2 row 2 being 1/3 are the correct answers)

  • @theatulupadhyay
    @theatulupadhyay Рік тому

    Very beautifully explained.

  • @luigiduprez7510
    @luigiduprez7510 2 роки тому

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

  • @4BohrKid
    @4BohrKid 3 роки тому

    best explanation i've seen so far.

  • @shershahdrimighdelih
    @shershahdrimighdelih 4 роки тому

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

  • @markkaravan4245
    @markkaravan4245 4 роки тому +1

    Amazing explanation. Not nearly enough subscribers.

  • @santoshkavhar2596
    @santoshkavhar2596 Рік тому

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

  • @atakan716
    @atakan716 8 місяців тому

    awesome 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!

  • @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.

  • @faresmajed50
    @faresmajed50 4 роки тому

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

  • @ZenoDiac
    @ZenoDiac 2 роки тому

    Beautifully explained

  • @valentinegift3689
    @valentinegift3689 5 років тому

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

  • @mouhamethfadalmarabyaidara4935
    @mouhamethfadalmarabyaidara4935 6 років тому +1

    concise and accurate explanation.Great video and thanks a lot

  • @ruslanaliev2216
    @ruslanaliev2216 4 роки тому

    best explanation of simplex ever!

  • @razamailbox
    @razamailbox 3 роки тому

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

  • @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. =)

  • @TheMyanka
    @TheMyanka 7 років тому +4

    Thank you, that was a brilliant explanation.

  • @toxictime3862
    @toxictime3862 3 роки тому

    This is awesome! Please do more

  • @MuhsinFatih
    @MuhsinFatih 6 років тому +1

    I am experiencing mathgasm. So elaborately put. Awesome video

  • @abdulrehmanbilal958
    @abdulrehmanbilal958 2 роки тому

    OMG
    This opened the doors of my thoughts.

  • @reshmithampy
    @reshmithampy 3 роки тому +1

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

  • @1tokillamockingbird
    @1tokillamockingbird 3 роки тому

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

  • @earthling123
    @earthling123 Рік тому

    "A quick sanity check" always gets me 😂

  • @vaggelismanousakis6147
    @vaggelismanousakis6147 4 роки тому

    Simplex explained Simply. Thaks a lot

  • @gat0tsu
    @gat0tsu 2 роки тому

    very clear. amazing. wow

  • @erazn9077
    @erazn9077 Рік тому +1

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

  • @pacmanmaster16
    @pacmanmaster16 4 роки тому +2

    Great video, you should make a comeback

  • @whasuklee
    @whasuklee 3 роки тому

    Such a great help! Really appreciate your work!!

  • @danielTkachenko0
    @danielTkachenko0 7 років тому +5

    That's a great explanation! Thanks for the video

  • @lstathisplaysvideogames4906
    @lstathisplaysvideogames4906 2 роки тому

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

  • @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 Рік тому

      🤓

  • @waheebalqamar558
    @waheebalqamar558 4 роки тому

    Man,
    you are the best

  • @mathaha2922
    @mathaha2922 3 роки тому

    Excellent!

  • @ansyona7522
    @ansyona7522 7 років тому +5

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

  • @ankitunariya3661
    @ankitunariya3661 Рік тому

    YOU R A GENIUS ! THANKS A LOT.

  • @Traymer7
    @Traymer7 5 років тому +1

    Perfect man! Love that you implemented theory as well!

  • @jared0801
    @jared0801 5 років тому +1

    thanks for the straightforward explanation

  • @sjwang3892
    @sjwang3892 3 роки тому

    Thanks for this great video!

  • @saranshgokhale8298
    @saranshgokhale8298 3 роки тому

    Very helpful, thank you!

  • @earthling123
    @earthling123 Рік тому

    Thank you louis

  • @Alex-op2kc
    @Alex-op2kc 4 роки тому

    good video

  • @DlcEnergy
    @DlcEnergy 7 років тому +8

    you mean, Complex Explained

  • @iambossgetlost1395
    @iambossgetlost1395 3 роки тому +1

    👌

  • @tapobrataroychoudhury3016
    @tapobrataroychoudhury3016 2 роки тому

    Thank you❤

  • @crystalline2
    @crystalline2 7 років тому +1

    that was interesting, very good explanation thank you

  • @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.

  • @ericc6820
    @ericc6820 Рік тому

    well said 👏

  • @ElectromecanicaIndustrial
    @ElectromecanicaIndustrial 3 роки тому

    thank you

  • @javad346
    @javad346 2 роки тому

    Thanks a lot

  • @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.

  • @austinoquinn815
    @austinoquinn815 3 роки тому

    Wow, that was great.

  • @XShollaj
    @XShollaj 3 роки тому

    Perfection

  • @prasadkavinda1210
    @prasadkavinda1210 6 років тому +3

    thanks man. very helpful!!

  • @thangible
    @thangible 4 роки тому

    i love this.

  • @pathfinder750
    @pathfinder750 3 роки тому

    what a legend

  • @lopyus
    @lopyus 4 роки тому

    Thank you so much! =)

  • @almakyubi
    @almakyubi 4 місяці тому

    tysm

  • @BipinOli90
    @BipinOli90 7 років тому +2

    good explanation

  • @InvincibleAirman
    @InvincibleAirman 2 роки тому

    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.

  • @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 :)

  • @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.

  • @authenticstories2571
    @authenticstories2571 5 років тому

    great

  • @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).

  • @heoTheo
    @heoTheo 6 років тому

    awesome!

  • @kushb5419
    @kushb5419 5 років тому

    thank you!

  • @kevinchou4147
    @kevinchou4147 5 років тому

    vivid example

  • @shaky3
    @shaky3 Рік тому

    thank you! you made simplex simple lol

  • @tayyabmughal10000
    @tayyabmughal10000 3 роки тому

    welcome to 2021.

  • @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?

  • @clutterArranger
    @clutterArranger 4 роки тому +1

    I am a computery guy.

  • @ramananm6257
    @ramananm6257 3 роки тому

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

  • @steven1671
    @steven1671 5 років тому

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

  • @estelle367
    @estelle367 Рік тому

    i likz your accent

  • @anthonyh5025
    @anthonyh5025 7 років тому +2

    Egg

  • @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.

  • @ПавлоЛінн
    @ПавлоЛінн 4 роки тому

    all the trickery with divisions still not explained.

  • @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.

  • @ilyasaroui7745
    @ilyasaroui7745 6 років тому

    don't click 7:01