Simplex Method - Standard Maximization Problem (free app in description)

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

КОМЕНТАРІ • 307

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

    Check out my new Simplex Method app for iPhone and iPads. The link is in the description.

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

      not sure if you guys gives a shit but if you're bored like me atm you can stream all the latest movies and series on Instaflixxer. Have been binge watching with my gf recently xD

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

      @Korbyn Xander yea, I've been using InstaFlixxer for since november myself :)

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

    8 years after publishing, still helping out people. Thank you Brian.

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

    3 years after publishing, still helping out people. Thank you Brian.

  • @garyyu2220
    @garyyu2220 10 років тому +11

    Dude you are the best. My professor explained it in lecture and it flew over my head. The way you did it is so easy. Now looking back I understand what my prof. said. Thanks!

    • @JorgeEscobarMX
      @JorgeEscobarMX 9 років тому

      I agree. My professor knows this, but I just didn't get it. This video explains it so well that I even think it's easy.

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

    Thanks for teaching me in 10min what my professor tried to teach for 10 hours

  • @Lynn-xo5tw
    @Lynn-xo5tw 8 років тому

    I am gonna cry!!Searching for a proper explanation for almost a whole day and finally!!Well explanation!!Finally understood!!You are my life saver!!Thank you!!

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

    So nicely explained. Indian instructors are making so difficult to understand all over youtube for such a simple problem. Thank you Brian making such a useful and easy to understand video.

  •  5 років тому +5

    Hands on, the most clear and to the point explanation! Thank you for not wasting people's time! :)

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

    My online prof taught this with what sounds like a mid 90's Burger King Drive through microphone on a windy day, and the audio only played in one ear, appreciate this bro

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

    I finally leanred simplex only by a simple 12 min video!!! I HAVE STRUGGLED WITH THIS METHOD 3 SEMESTERS NOW!!!!!

  • @matthiasgraf8912
    @matthiasgraf8912 5 років тому +4

    Thank you so much! I've been struggling with this since several hours but with your explanation I understood it in a couple of minutes. Thanks so much!

  • @grantsmith3653
    @grantsmith3653 8 років тому +15

    +Brian Vietch This is fantastic. I watched other people do this and your version is by far the most clear. Thank you thank you.

    • @BrianVeitch
      @BrianVeitch  8 років тому

      +Grant Smith Thanks for the compliment

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

    ONLY video that made me understand simplex method. I tried like 10 videos before.

  • @JorgeEscobarMX
    @JorgeEscobarMX 9 років тому +2

    Thank You. I would love to have teachers like you on school.

  • @dharamvirsingh1623
    @dharamvirsingh1623 11 років тому

    A very good explanation of the Simplex Method that i didn't find in any of the books or other references...great job sir..

  • @alexisgomez6222
    @alexisgomez6222 9 років тому +2

    Great video! It was really helpful. I was struggling with the Simplex Method, and my professor didn't explain it so well. But this video made it so clear! Thanks!

  • @marwinninja
    @marwinninja 10 років тому

    Need a 7.2 on today's test, you probably helped me out for like 2+ points, thanks mate!

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

    Clear & concise. THE BEST tutorial I've seen on Simplex Method. Thank you, you helped a student big time.

  • @amyshaw893
    @amyshaw893 5 років тому +4

    well, i have my final exam in 12 hours, and this will be on it, but i think you have just saved my ass

  • @BrianVeitch
    @BrianVeitch  11 років тому +2

    Usually. Standard minimization problems are transformed to a standard maximization by using something called a Primal/Dual Table. I don't have a video on that, but if you search youtube for 'simplex method standard minimization,' the first video by Scott Elliot looks promising. He also has a non-standard minimization video.

  • @Devdev30000
    @Devdev30000 9 років тому +33

    thank you saved my final

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

    Thank you for showing us how to use this complicated calculator. ❤

  • @ankitpassi
    @ankitpassi 8 років тому +1

    Thanks a bunch sir , i've literally tried every other tutorials out there ,this was the first one to get me my answer , thanks a lot , i'll sub you !

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

    this is the exact same problem given to me in our homework. thank you so much!!

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

    i just want to know why the Z column is called the junk column ? besides your explanation was by far clearer although i did not understand how you could tell if the columns were basic.

  • @jitheshsukumaran
    @jitheshsukumaran 10 років тому

    Im really worried about this method. But this video helps me to understand easily. Thank U a LOT

  • @Tom-le3yy
    @Tom-le3yy 8 років тому +5

    Excellent explanation. The best I have seen, Bravo.

  • @hemantbhatia3400
    @hemantbhatia3400 11 років тому +3

    bro this my first comment on youtube and I must say that it helped a lot thanks bro !

  • @BrianVeitch
    @BrianVeitch  12 років тому

    Basic columns are 'unit' columns. Unit columns are columns that can be written with a 1 and the rest 0s. So (1,0,0) or (0, 1, 0 , 0) or (0, 0, 1, 0, 0).

  • @rubidulce1
    @rubidulce1 9 років тому +1

    Awesome review! Made it so much simpler and very clear! Thank you for sharing your knowledge. - Engineering Student

  • @qmsbuksu310
    @qmsbuksu310 8 років тому

    Thank you so much for your step-by-step video. Soooo easy to follow...

  • @BrianVeitch
    @BrianVeitch  11 років тому

    Even though we are trying to row reduce, the element we pivot around in the Simplex Method matters. Because 90 is the smallest ratio, we need to pivot around that row. That's why we pivot around the '2'. You can still switch rows. It just won't change the element you pivot around.

  • @BrianVeitch
    @BrianVeitch  11 років тому

    The solution is x = 48, y = 84, and z = 0. If you let z = 60, it won't satisfy the initial inequalities. When you're done with the simplex algorithm, you read off the table like w was a basic variable. w = 60 doesn't really mean anything directly. z = 0 means the z-variable wasn't actually needed to give an optimal solution. If you think of how solutions are interpreted geometrically, the corner where the system is optimized occurred on the z-plane (z = 0). So z is like a junk variable now.

  • @koukouvaouvaoukraou
    @koukouvaouvaoukraou 9 років тому +1

    Thank you so much!!its the only video that helped me solve the second table!!!!!

  • @chrishansen2988
    @chrishansen2988 9 років тому +3

    Great explanation, probably one of the best vids explaining it. But I think I'll just stick to coordinate graphing.... lol

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

    best explantation ever! Thank you so much

  • @BrianVeitch
    @BrianVeitch  11 років тому

    Basic columns are just columns with a '1' and the rest '0's. It just turns out that the 'w' column ends up being a basic column. Back when we introduced the slack variables, it just means 'w' was needed in order to get the equal sign.

  • @FirstLast-qf1df
    @FirstLast-qf1df 7 років тому +1

    Thanks you saved my ass on my upcoming math final

  • @WhosPhiil
    @WhosPhiil 9 років тому +12

    I didn't quite understand why the concept of the Basic and Non-basic columns. Why is Z for example an Non-Basic column? Great Video!
    Kind Regards

    • @BrianVeitch
      @BrianVeitch  9 років тому +10

      Philippe De Soure Think of it like row reducing a matrix. You want to get your columns so that they have a 1 and the rest 0s. For the simplex method, they just call this a Basic Column. Non-Basic columns (or commonly called junk columns) don't have this form and tell you that the variable was not needed (i.e, z = 0). Honestly, I haven't looked into the how and why this method works.

  • @lasselund2155
    @lasselund2155 7 років тому

    You are my man. This was just the right video for my project

  • @abubakarbobboi2551
    @abubakarbobboi2551 8 років тому

    Best explanation for me so far, thanks

  • @choukriya2668
    @choukriya2668 11 років тому

    it's best I have seen about simplex lecture! great

  • @AKASHSINGH-mk2gh
    @AKASHSINGH-mk2gh 9 років тому

    bro you are awsum . been trying to figure it out from the books and they used so much of ki fi and pi terms to confuse the hell out of me ....

  • @simonbentley2020
    @simonbentley2020 8 років тому

    hi brian thank u so much first of all even though only in the middle of the video but seems a lot clearer can you just explain why u have multiplied the first row by 0.5? why did you choose a half?

    • @BrianVeitch
      @BrianVeitch  8 років тому

      +Simon Bentley The first element in the first row is my pivot element. The most straightforward way of starting the row operation process is to make the pivot element into a "1". Since the number is a "2", I multiplied the row by 1/2. This turns the 2 into a "1". You can also divide the row by 2 (but that's basically doing the same thing).

  • @msheen99
    @msheen99 11 років тому

    Thanks a lot Brian!!Very much informative...I wanted to know whether any video for minimization problem too.. do we need to convert a minimization problem to a max problem to solve it?

  • @chotu1992
    @chotu1992 10 років тому +1

    Work of Art! Great solution.

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

    Geezzz thank you so much bro! You really save me from my reporting about simplex method in lpp thank you so much!..

  • @kizitosidegu8341
    @kizitosidegu8341 9 років тому

    you teach better than my Econ lecture

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

    oh my gosh thank you! the video was insanely helpful

  • @dimitrispogkas179
    @dimitrispogkas179 7 років тому

    I have a question. Do slack variables have a meaning? Except helping us solve it of course.
    Amazing explanation by the way.

    • @BrianVeitch
      @BrianVeitch  7 років тому

      My explanation may not be amazing but I'll give it a try. Remember when you solved systems of equations? Like 2x+y=10 and x-y=4? The answer was the intersection of the two lines.
      With systems of linear inequalities the answer is not an intersection but an entire shaded region. But when adding the objective function, i.e., Maximize P=2x+4y, the answer must now be at a corner (i.e, intersection of two lines) of the shaded region.
      We can't use augmented matrices until we have equal signs. We introduce the slack variables so that both sides now balance to give us an equals. For example, 2+5

    • @dimitrispogkas179
      @dimitrispogkas179 7 років тому

      Brian Veitch I understand the concept of slack variables. I'm not sure I completely understand what you're writing since English isn't my native language but I wondered if these variables have a meaning like the explanation of "λ" in langrange optimization.
      thanks for the answer anyway.

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

      Honestly they just represent the resources in the LP problem that are not used. I'm sure there is a much more technical answer but none that have helped me understand them more. The theory can get really abstract when you venture into the high level graduate courses. But for lower level undergraduate math classes (where this is usually introduced) they are used so we can use an augmented matrix and to keep track of how much of a variable we do or do not need.
      I'm sorry I couldn't help more.

  • @luisluiscunha
    @luisluiscunha 11 років тому +1

    Thank you: very well done. Great effort and nice pedagogical style.

  • @leslielaii
    @leslielaii 8 років тому +1

    great video. Can i know what app u use for explaining this? Would love to know it.

    • @BrianVeitch
      @BrianVeitch  8 років тому +1

      I'm using camtasia for filming and smoothdraw to draw.

  • @msheen99
    @msheen99 11 років тому

    Thanks Brian.. I did watch the one by Scott and solved it.

  • @Extreme_Gardening145
    @Extreme_Gardening145 8 років тому +2

    Very helpful, thanks.

  • @Cameron_Smiley
    @Cameron_Smiley 11 місяців тому

    Just cracked the code thanks to this video. Been looking for someone to explain it right for hours. Thank you!!

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

    Hello thank you for clear explanation can I use this method for minimization problem ?

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

      You can't use this technique right away. For a standard minimization problem you need to set up a dual table. This eventually leads you to a new system of inequalities. Then you can use this technique. Reading the final answer from the table is also different. I have a flow chart in the video description to help guide you through the process. I recommend ua-cam.com/video/BdtdYlUIXak/v-deo.html. This video lays out the process pretty well.

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

      @@BrianVeitch Thank you very much 🤗🌹

  • @Draigon92
    @Draigon92 10 років тому

    To find the maximum, don't you pick the largest value from the objective function and the largest from the divided rows too?

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

    Thank you very much you're a legend mate!!

  • @ghettogazz
    @ghettogazz 10 років тому +2

    P=0.16x+ 0.14y
    x+y

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

    What does it mean to have 60 of slack variable of W ?

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

      It means the equation associated with that inequality was not satisfied. It makes more sense when it comes from a word problem. Say for example you want to sell three types of chairs. Chair A takes 1.25 hour, B takes 2 hours, and C takes 3 hours. With an 8 hour workday, this gives us the total hours spent in one day as
      1.25x + 2y + 3z

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

      @@BrianVeitch thank you so much !

  • @DarthAlphaTheGreat
    @DarthAlphaTheGreat 9 років тому +1

    So I assume if looking for min, then you would be looking for, in the first Simplex Table, the largest one (while you looked for the most negaive, i.e. the smallest)??

    • @ishandabri9121
      @ishandabri9121 8 років тому

      +DarthAlphaTheGreat largest "negative" is the smallest number ultimately.

  • @varunkaustubh1
    @varunkaustubh1 10 років тому

    thanks a lot!! you have a very nice way of explaining the concept :)

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

    Thanks for this, now i alreday understand what is max.

  • @lizi9019
    @lizi9019 7 років тому

    where do you get that awesome calculator, Sir?

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

    Thank you so much for the video!

  • @효방이-h8t
    @효방이-h8t 8 років тому +2

    sorry how to decide which is column is basic or nonbasic? and thank you so much!

    • @mohsennabian9661
      @mohsennabian9661 8 років тому +6

      if a column has all zeros except 1 one, that would be basic

  • @abhishekramesh3203
    @abhishekramesh3203 7 років тому

    Amazing video, it's really good.

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

    Thank you very much. it was very helpful to me :)

  • @Jacquellnguyen
    @Jacquellnguyen 11 років тому

    ahhh i looked down and found the answer already :D Thanks muchly for this incredible video

  • @shifeisophypan4459
    @shifeisophypan4459 9 років тому

    Very helpful, thank you so much!

  • @HubaibElahi
    @HubaibElahi 8 років тому

    Thanks for wonderful explanation but why z is not basic column but w is basic?

    • @BrianVeitch
      @BrianVeitch  8 років тому +1

      w is basic because the w column is a unit column (one 1 and the rest 0s).

    • @HubaibElahi
      @HubaibElahi 8 років тому

      Brian Veitch thanx

  • @kanchanaarunprasad8255
    @kanchanaarunprasad8255 7 років тому

    In a second table, third row , ratio should be 120. By Dr.Mrs.S.Kanchana

    • @BrianVeitch
      @BrianVeitch  7 років тому

      Why? I'm not dividing the third row by 2. When I do the row operation R3-2*R1 I get 240 - 2*90 = 60.

    • @murtalaa
      @murtalaa 7 років тому

      but you divided the first and second row by 2!

    • @murtalaa
      @murtalaa 7 років тому

      In the first table, you divided each constant by the pivot element, so, in the third row you divided the constant (240) by the pivot element (2) to get 120. This is all fine, but while transferring the constants to the second table you used 240 instead of 120 as the constant for the last row. I believe this is a mistake.

    • @murtalaa
      @murtalaa 7 років тому

      Okay i know understand. The division was only to determine pivot row. Its clear now.

  • @lynx821
    @lynx821 9 років тому +3

    Hi, at 4:30 you used row operations to turn the numbers of the last 3 rows in the first column into zeroes. Why'd you do that? And what if my pivot is in the middle, e.g.: column 2, row 2.

    • @BrianVeitch
      @BrianVeitch  9 років тому +1

      +lynx821 It's like row reducing with matrices. Whatever is your pivot element, you turn it into a 1 and the rest of the numbers in that column to 0s. In your example if we pivot around column 2, row 2 then you turn the 3 into a 1 and the 1/2, 1, and -5 into 0s.

    • @lynx821
      @lynx821 9 років тому +1

      +Brian Veitch All right, thanks a lot man! Saved me a lot of time and my mid years.

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

    ❤️... I love the application

  • @milewichBG
    @milewichBG 10 років тому

    Thanks a lot, Brian! :)

  • @lizi9019
    @lizi9019 7 років тому

    how did you determine which variables are basic and which are not? And, you never seem to bother with entering variable or leaving variable, therefore, how did you properly interpret the final table??

  • @habdhouse
    @habdhouse 11 років тому

    thanks a lot, what software do you use? the board and calculator?

  • @yousefzeinah
    @yousefzeinah 9 років тому

    thanks that was very helpful

  • @chathurifernando9059
    @chathurifernando9059 10 років тому +1

    very helpful... thanks!!!

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

    thank you easy way

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

    Thank you so much

  • @saoudalsulaiti
    @saoudalsulaiti 7 років тому

    Thanks great video

  • @boomboomdaksh1458
    @boomboomdaksh1458 7 років тому

    Hey, what if you do the ratio test and you have a negative number, what do you do then?

  • @5thv
    @5thv 9 років тому

    What Happens if the second pivot element is in the same row as the first pivot element? This would mean that the 1 in the first column would change as the second pivot element becomes a 1.

    • @BrianVeitch
      @BrianVeitch  9 років тому

      Avinand Rampersaud That's a good question. I don't know the answer to that. I suppose if it happens then you just keep working the table as usual.

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

    Nice job keep it up

  • @bhargavkopparati9271
    @bhargavkopparati9271 7 років тому

    How can you decide which one is basic column and which one is junk?

  • @buhlemayatula3363
    @buhlemayatula3363 10 років тому +1

    very helpful thanks

  • @renaivo4238
    @renaivo4238 8 років тому

    hello there, how did you re write the objective function? how did it all turn to negatives?
    Please help me. Thank you

  • @S0larus
    @S0larus 9 років тому +6

    5:51
    Guys, which mode on the calculator CASIO must I choose in order to perform such calculations?

    • @rachanasawant1204
      @rachanasawant1204 8 років тому

      even i want to know..please tell

    • @BrianVeitch
      @BrianVeitch  8 років тому

      I'm not sure what you mean by mode. Are you talking about how I do the row operations in my calculator?

    • @rachanasawant1204
      @rachanasawant1204 8 років тому

      i m using casio fx-991ES PLUS ..so how to do row operation in that model?

    • @BrianVeitch
      @BrianVeitch  8 років тому

      I have an idea but I need to get my hands on that calculator. There are a lot of different versions of a casio fx scientific calculator. I teach a lecture of 120 students today and maybe one of them has one for me to look at.

    • @rachanasawant1204
      @rachanasawant1204 8 років тому

      please check..that would be a great help to me..thabkyou

  • @michalsobotka84
    @michalsobotka84 9 років тому

    Hi, i've got a question for 1st pivoting step. What's going un with all row if x in 2nd or 3rd equation is equal 0? We are leaving all row without any changes ? Thank You for an anwser.

    • @BrianVeitch
      @BrianVeitch  9 років тому

      +Majkel matka teresa I'm not sure what you mean.

  • @Adriano70911
    @Adriano70911 11 років тому

    dude thanks a lot!

  • @johnskap2004
    @johnskap2004 9 років тому

    very helpfull !!!
    Keep up the Good Work....

  • @lasselund2155
    @lasselund2155 7 років тому

    btw. what does it mean when W=60?

  • @glenn03tasico
    @glenn03tasico 10 років тому

    thanks,,,, I have solved my homework recently :D

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

    @Brian Veitch I understand that basic columns are those, where in objective function row is 0 (so x, y and w maches that rule) but what about P? It has 1 in objective function row. Is P an exception from that rule? Maybe there is another rule for that? Or is it always considered as a basic column?
    Thanks in advance for Your help.

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

      Bartosz A. It’s not that there’s a 0 in the objective function row. It’s that the column is a unit column (a column with a single 1 and the rest 0s). So the P column satisfies that rule.

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

      @@BrianVeitch Ah, i see now. Thank You!

  • @rasol1210
    @rasol1210 9 років тому

    thank u sir for the tutorial, very clear. ;)

  • @abe6797
    @abe6797 9 років тому +2

    what happens if we get same values wen dividing C column with pivot column..
    like your initial C column was 600 ,300, 1000?
    please reply fast..

    • @BrianVeitch
      @BrianVeitch  9 років тому +1

      If you get the same ratio then you should be able to choose either one.

    • @abe6797
      @abe6797 9 років тому

      +Brian Veitch ,thnx ..this is a really gud method..

  • @simonbentley2020
    @simonbentley2020 8 років тому

    +Brian
    Hi Brian I did a question and got this matrix.....
    1 1.2 0.2 0 0 2
    0 4.4 -0.6 1 0 10
    0 6.8 1.8 0 1 18
    How do I know what my shadow prices and reduced costs are? What's the rule for each problem I come across?

    • @BrianVeitch
      @BrianVeitch  8 років тому

      What was the original problem?

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

    At 8.05, shouldn't it be 120 rather than 240?

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

    I don’t understand where the 0’s come from why it’s 0 0 then a random 1??? In the simplex table?