Louis Holley
Louis Holley
  • 1
  • 75 506
Simplex Explained
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.
Переглядів: 75 545

Відео

КОМЕНТАРІ

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

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

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

    Really nice explanation, clear and to the point.

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

    tysm

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

    awesome explanation 🎉

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

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

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

    Old yet still the best

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

    well said 👏

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

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

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

    thank you! you made simplex simple lol

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

    "A quick sanity check" always gets me 😂

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

    Thank you louis

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

    i likz your accent

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

    i dont like the drawings

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

    Very beautifully explained.

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

    YOU R A GENIUS ! THANKS A LOT.

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

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

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

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

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

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

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

    very clear. amazing. wow

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

    Thanks a lot

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

    Thank you❤

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

    Beautifully explained

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

    your presentation style is really outstanding!!

  • @ilikechocolate3741
    @ilikechocolate3741 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 роки тому

      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 17 днів тому

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

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

    OMG This opened the doors of my thoughts.

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

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

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

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

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

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

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

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

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

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

    This made me cream

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

    Very helpful, thank you!

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

    Perfection

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

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

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

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

  • @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 <= 100* . ie. How to make sure that we're pivoting to a vertex that abides by the constraints? 3) 6:13 you say that "we want to move in the direction where the objective function will increases the quickest," shouldn't that be the [2,1] direction? which increases the OF by sqrt(5) for each 1 unit in that direction, which is better than [1,0] direction? 4) Is simplex supposed to handle the case when the user supplies constraints that don't bound the solution? If so, how?

    • @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 роки тому

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

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

    @ 2.25 timestamp--did you mean s1<=0, s2<=0? Since the constraint inquality is <=0?

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

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

    thank you

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

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

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

    Wow, that was great.

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

    Thanks for this great video!

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

    what a legend

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

    👌

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

    Such a great help! Really appreciate your work!!

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

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

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

    Excellent!

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

    This is awesome! Please do more

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

    best explanation i've seen so far.

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

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