Part 2 - Solving a Standard Maximization Problem using the Simplex Method

Поділитися
Вставка
  • Опубліковано 9 вер 2024
  • This video is the 2nd part of a video that demonstrates how to solve a standard maximization problem using the simplex method. References to using the TI-84 plus calculator are also given.

КОМЕНТАРІ • 180

  • @BryndonLight
    @BryndonLight 10 років тому +124

    Wow. This sticks with me better than the 6 hours of lecture I had in class. Thanks.

  • @aaronnunez248
    @aaronnunez248 Рік тому +22

    Hello scott, there's a mistake in your matrix. In the first row S2 column, you have a positive 3/5 and it should be a negative 3/5. Because we take -3R2 + R1 --> R1. In this step, -3R2 becomes -3/5 and then we add this to R1 which is zero.

  • @vivekdadu
    @vivekdadu 9 років тому +14

    seriously man!!! only video on youtube which explains the method so clearly

  • @carinadiaz5181
    @carinadiaz5181 8 років тому +146

    Sir I think your slack variable sub 2 in row 1 is wrong? I think it should be -3/5

    • @Jitters94
      @Jitters94 8 років тому +35

      I got that too. I thought I was going crazy.

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

      Hum. Same here. Did you make a mistake here @Scott Elliott?

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

      @@FMAPR i had to repeat severally and still got -3/5

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

      yeah I got -3/5 as well. bummer that he didn't catch it.

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

      How do you guys solve for that? I don't get it I'm so dumb.

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

    Know that this vid was made over 10 years ago, but THANK YOU! You have taught me what my professor has failed to teach me after three days worth of lecture in under 20 minutes! Now I see why they call it simple-x.

  • @jigneshmardania6136
    @jigneshmardania6136 11 років тому +14

    From your first video, you said we have to make the 3 to be zero, so you gave the formulae -3R(2) + R(1) gives row 1. But for the slack variable s2 i get -3/5, rather than 3/5..? In our exams we have to do all calculations by hand so our calculators dont have matrix functions.

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

    Typically UA-cam math videos have never worked for me, but this one has and has taught me more than any professor I have had in my past five math courses, thank you.

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

    OMG Mr. Elliott! I have been banging my head for 2 weeks now trying to understand all this stuff and I just learned it in 15 min with your 2 videos! Thank you multiplied by a million!

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

    how come i stay in lectures and listen hours and hours of this and then i come here and understand everything in just 10 minutes. why the hell do i pay the university when the teachers can't teach me a thing, unlike you Scott. Thanks a lot!!!

  • @deepanshumolasi7151
    @deepanshumolasi7151 2 роки тому +1

    Thx for keeping everything simple , idk why people don't keep it simple like you

  • @Travinobabino
    @Travinobabino 3 роки тому +2

    Your videos are so much more effective than going to lecture. Thank you.

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

    2021 still using this channel thank you

  • @cirenosibor
    @cirenosibor 13 років тому

    Thanks, I've got an exam in an hour, and this was the only thing I couldn't work out how to do. You taught it better than my teacher for sure.

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

    THANK YOU FOR EXPLAINING SO SOFTLY

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

    Thank you so much. I have been trying to get a grasp of this method from my textbook since many days. Our teacher didn't explain it properly either. You've made it so easy for me. I owe a part of my Math grade to you. :)

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

    Thank you so much. This is the only video I have found that actually helped me understand how to pivot. Good shit, man.

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

    Thanks sir ! it's help me a lots since 15 hours I spent on my lecture notes, I couldn't understand much. but by this simple video I just only need about 15 minutes. Wish me luck for my exam next Tuesday.

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

    Thank you- you helped me have a better understanding of the simplex method and upon doing it on my own I got the right optimal solution.

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

    Thank you so much. I have been struggling with the simplex method and ones friends can only help you so much (since most of them are in the same boat as i am ). Really appreciate it

  • @zogenie
    @zogenie 13 років тому

    thank you! So very helpful. I have a quiz tomorrow and I actually feel confident because of this.

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

    Thank you so much. Keep the good work..

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

    Thanks man! You saved me lots of time and few marks! I was about to get mad! Couldn't figure out how to find the final solution!

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

    this was very helpful .thanks

  • @scottrelliott
    @scottrelliott  13 років тому +4

    @fastjunkie831
    They are non basic because they are not unit columns (a column of zeros except for a single 1). In regard to what it means, it tells us that the value of the non basic variables must be zero.

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

    Very helpful, thank you! I liked the awkward ending!

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

    ty so much Mr.Elliott!

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

    Awesome, thank you. My text-book over-complicated this with many seemingly irrelevant information. It's basically just more specific row operations!

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

      Brendon Williams Algorithm books always need to prove the correctness of algorithms like this. That's why it seems over complicated, because on books there's a lot of theory involved, which is more directed towards mathematicians, if you're in computer science its most likely irrelevant.

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

    Great video .. Thank you so much !!
    Understood the problem in no time !!

  • @nicole-oe3vu
    @nicole-oe3vu 2 роки тому +1

    Thank you for this!! I finally got it

  • @scottrelliott
    @scottrelliott  14 років тому +1

    @vellerefondis Sorry, not quite sure I am following you. I think it is correct.
    After performing 1/5 R2 --> R2, we take 10 R2 + R3 --> R3
    So the last entry in the x3 column is found by 10 (1/5) + (-7) = 2 + (-7) = -5 Maybe I'm not quite understanding your question.
    x3 is non-basic in the final tableau because it is a not a unit column (a unit column has all zeros except for a single 1).

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

    Thank you so much! This has helped me tremendously, and i appreciate you doing this for us. Bravo to a real TEACHER.

  • @sofiamodesto3094
    @sofiamodesto3094 10 років тому +24

    Hi, how do you choose the non basic vars at minute 3.20?

    • @n3onis
      @n3onis 4 роки тому +16

      Looks like the columns that only contain a single 1.
      I guess you figured it out in 6 years tho

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

      @@n3onis you saved me a lot of time trying to figure that out

    • @danielrowan4251
      @danielrowan4251 3 роки тому +2

      I was gonna ask the same, so cheers

    • @Helectic
      @Helectic 3 роки тому +2

      @@n3onis I appreciate you, couldn't figure it out for the life of me.

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

    At 3:19, what do you mean by unit columns?

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

    Ooh, I finally get it now. So pretty much, any column with a value of 1 by itself is then matched up to the far right numbers. Any column with a value other than just 1 is immediately zero.

  • @cornelio78
    @cornelio78 3 роки тому +3

    Imagine I had to learn this just for the sake of a particular subject and then forget it afterwards.

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

    Thanks man. My lecturer books answer the question using simplex method in 10 pages. When I use your simplex method, I just need one page for the very same question.

  • @kuro8521
    @kuro8521 2 роки тому +1

    Thank you so much sir💚💚

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

    Hi, greeting from Hong Kong. This tutorial video is way more effective than my boring lectures. I've done my exam paper today about Simplex Method and I have unfortunately come across some problems. Could anyone please help?
    (1) If the objective function has two equal coefficients, say maximize Z = 5w + 5x - y, you will end up having two coefficients of "-5" in the tableau (one from variable w and one from variable x), which one should be chosen as the "most negative indicator"?
    (2) If the objective function still contains negative element(s) after several row operations, do I need to redefine the "most negative indicator" from the current objective function in the current tableau and then continue implementing row operations?
    (3) If the objective function contains not only variables, but also a constant, what should I do? For example, the objective function is given as Z = 5w + 2x - 10y + 4, how should I deal with the constant term "+4"?
    Thanks for replying.

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

    Thanks for the videos. However, what is the purpose of the z column? It has all zeroes in the first three rows, so it will not get affected by this process. It's just completely redundant.

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

    That was great sirè. Very helpful, thankyou!!!!

  • @HiepNguyen-ud8qe
    @HiepNguyen-ud8qe 2 місяці тому

    you saved me!!! many thanks.

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

    Thank you have got it well and clear

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

    thank you so much for these videos, you're a life saver

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

    Thank you for the videos! It helped a lot.

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

    I m sorted now...thanku for such an easy explanation...

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

    Thank you! Made it much clearer for me

  • @MiracleIsMyName
    @MiracleIsMyName 8 років тому +10

    I can't hear why you say x2, x3, and s2 are Non Basic. Could you clarify?

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

      Thanks! I got it

    • @KingDuken
      @KingDuken 8 років тому +25

      +Miracle Jacobs
      Nonbasic means there's no easy solution. Since there were two
      coefficients for the same variable, it would be considered nonbasic. So
      that variable, when you optimize it, it would be 0. Like x2=0 because
      there was more than one coefficient that did not equal to 0. And since
      x1 had a 0 and 1, it was considered basic because there was only one
      coefficient for x1 and it was easy to solve for x1.
      For every nonbasic variable, you can cross out that column and just say it's equal to 0. This will also help you see how easily you can solve for other variables that are basic.
      I apologize for any bad English. It's not my first language haha. But I
      hope that makes sense.

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

      Thanks *****​

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

      you sir' are a god!

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

    Super helpful. Thanks for the tutorial.

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

    Hey Thanks so much, your explanation is so precise and simple it really got me sorted on this Simplex thing. Thanks again. I have got all the basics of it and also solved it myself and luckily i got the right answer. Thank you. :)

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

    Thank you:) So clear and helpful

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

    Btw, in my previous comment, I forgot to thank you for the nice explanation. :)

  • @kjman
    @kjman 14 років тому +1

    How did you get a positive 3/5 instead of a negative 3/5 for the first row and the forth column in the beginning of this video?

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

    THANK YOU!!!

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

    omg, this is so simple actually. thank you very much!

  • @kyriakos221003
    @kyriakos221003 13 років тому

    great explanation. you are perfect. thanks for the video

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

    Thank you kind sir! You just helped me Ace my exam :P

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

    Outstanding!!! Thank you so much.

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

    What if all of the result multiplication to determine which row you operate on are negative. Do you choose the one closest to 1 or the one that is the most negative?

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

    Bro may I know why S2 is 3/5? is should be - 3/5 isn't it?... -3 * 1/5 + 0 I'm a bit confuse...

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

    Thanx very much for telling what is unit column...

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

    YOU ARE AMAZING. NOTHING SHORT IF IT.

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

    thanks bro, i've learned a lot! God bless!

  • @Laenthor
    @Laenthor 8 років тому +10

    what makes a variable basic or non-basic? Did I miss something here? I think it's too late to even get a reply, my exam is in an hour...

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

      Did you pass the exam?

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

      um, I passed the class, but I think I had like 50% on the exam...

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

      i have exam on this tomorw please pray for me

    • @mun-munanimation7271
      @mun-munanimation7271 5 років тому

      I hope you did good, I have the exam tomorrow.. DID you pass?

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

    this video is fire, thanks

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

    Bless you, good man.

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

    THANKS! I couldn't keep up with my professor so I didn't catch everything he said in terms of why differnt things were selected.

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

    Thanks a lot for your help.

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

    what do we do if we have equal negative indicators?

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

    thank you for your video.... you've made this very easy.

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

    great explanation thank you

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

    can someone explain to me how did he get those answers in the second tableua?

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

    Omg i didnt know my calculator did all this.!
    Thanks alot!!

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

    thx for clear explanation

  • @scottrelliott
    @scottrelliott  14 років тому

    @RazyMon Yes, that's a unit column.

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

    if it was basic, but instead of having a 1 it had 5 say? would you divide the value at the end of the row by 5 or would it be non-basic?

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

    Wow thank you so much,God Bless

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

    Seriously this is so different and easy from the actual Cj Bj bla bla terms method.

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

    thankyou for giving me 20 marks in MBA

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

    plz tell me how can we do row operation in FX 199ES calculator or by hand how did u do it when I did the values were different from urs plz show me how dis works thanks from ur wonderful presentation

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

    can the RHS column be negative values at the end? maybe the solution will become negative for one(or more) variables?

  • @ash4957
    @ash4957 13 років тому

    Thank u very much.......gr8 works

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

    Tons of Thanks to you :)

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

    Awesome, thank you

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

    What if my two ratios are the same? Which one do I choose to pivot?

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

    very nice video

  • @yusefsobky
    @yusefsobky 14 років тому

    So are the variables entering and leaving the basis irrelevant?

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

    Thank you so much!!

  • @88Roshan
    @88Roshan 13 років тому

    if i pass my math b/c of these videos, i'm sending u a check

  • @missathayde
    @missathayde 14 років тому

    Fab!! Thanks for the help
    :)

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

    thanks for the explanation! amazing job. however, is it possible that you also add the z, s1, s2 in front of the rows and change them according to the pivotcolum? could use an explanation on that as well :). thank you!

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

    Thanks a lot! Very helpfull

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

    thank you so much sir.

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

    thank u ...very nice video

  • @fastjunkie831
    @fastjunkie831 13 років тому

    hey man , the R3 row is wrong.after the 10r2+r3->r3 . isn't r2 = 1/5 1 1/5 0 1/5 0 ? you made the calculations with the old r2 row.am i right?

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

    Thabks

  • @fastjunkie831
    @fastjunkie831 13 років тому

    @scottrelliott please explain to me why x2 x3 s2 are non basic.what does that mean?how do i figure that out?

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

    Thanks man! But I have a question, you got a slack of value 2. Doesn't that apply somehow on the maximum value? Or is the slack irrelevant for this question?

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

    Actually, it does say -7, you just think it looks like a -2. I think if you follow the math, you will see that it really is a -7. I try to make my 2's with a curl at the bottom so there's no confusion. Unfortunately, my 7's do look like a 2 though.

  • @RazyMon
    @RazyMon 14 років тому

    Just checking:
    By unit column you mean column with all 0's and a single 1 in it?
    Oh, and thnx for clear explanation.
    We do this in college atm, and our tableau has some extra columns, which requires extra work just to maintain correct values (doing this in exam is a major pain in the a** :D)

  • @TheCoreh
    @TheCoreh 14 років тому

    Thanks! That helped me a lot! :-)