❖ The Big M Method : Maximization with Mixed Constraints ❖

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Thanks to all of you who support me on Patreon. You da real mvps! $1 per month helps!! :) / patrickjmt !! In this video, I go through all of the details of how to use the 'Big M Method' with mixed constraints involving a maximization problem. PLEASE make sure you are familiar with the Simplex Method before watching this one though (I have videos on it!).

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

  • @milomolo7702
    @milomolo7702 7 лет назад +456

    this process is longer than the history of the world

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

    "if you havent seen the simplex method in action go watch those videos first" i have a test in 33 minutes and 54 seconds

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

      @Major Procrastinator yup definitely, did ok tho

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

      Lucky bastard

    • @escoseslauriestevea.2506
      @escoseslauriestevea.2506 7 месяцев назад +1

      Yo you passed that test? lmao

    • @user234-xy2
      @user234-xy2 4 месяца назад +1

      @@escoseslauriestevea.2506 maybee he passed away now hahaha

    • @adithyasankar8838
      @adithyasankar8838 4 месяца назад

      @@user234-xy2 its our turn to pass or pass away now XD

  • @justinhall7022
    @justinhall7022 6 лет назад +104

    "We are having fun, fun, fun!"

    • @flx6807
      @flx6807 5 лет назад +3

      Get your kazoo

  • @RaunnHD
    @RaunnHD 7 лет назад +103

    Hey PatrickJMT, I just wanted to give a *HUGE THANK YOU* to you. Because of you, I passed my test I took last Wednesday with B+! Your future/past/present videos, its like I think to myself, how come I never discovered your challenge awhile back, it would have helped with my other test that I had taken before. I have finals in two weeks and your videos are my arsenal to pass the final exam.
    Dude seriously, I appreciate and am thankful so much you! If I did not pass this test, I would have been in trouble for my class this semester. Again *THANK YOU* and please keep making the videos you continue to make!

    • @patrickjmt
      @patrickjmt  7 лет назад +21

      congrats on passing your class! come back any time :)

    • @makemarshall7041
      @makemarshall7041 7 лет назад +11

      patrickJMT I'm feeling the same. Thank you so much PatrickJMT! Your videos helped me get a 5 on my AP exam and get the highest grade and test average in my calculus class. Now I'm at UC Davis, but I want to transfer to community college because it's not worth the cost to me. I actually thought that UC Davis would offer superior education, but I want it to feel as personal as your videos are, but that's nearly impossible in classes of 500+. Thank you. You are a hero and great person

  • @fibonachi.fibonachi.2556
    @fibonachi.fibonachi.2556 5 лет назад +21

    How much do you have in your account?
    Me: 12:04

  • @evanschmidt140
    @evanschmidt140 7 лет назад +13

    You were basically my Calc 2 professor this semester. Just got my final grade and I received a B and it's all thanks to your videos! Please tell me you have some videos made for multivariable calculus, that's what I'm going into next semester!

  • @icebox747
    @icebox747 7 лет назад +51

    at 27:10 it should be (2M+3)R+R4->R4
    you missed out the "+R4"

  • @shubhamdalvi2588
    @shubhamdalvi2588 3 года назад +7

    Man, you've saved my life. I'm doing Masters in Germany. Got very confused about what the Professor was teaching during lectures. This video is gonna save me if any numerical on Big M is asked in the exams. Thanks a lot. Kudos! Keep saving more lives..

  • @ssrrapper
    @ssrrapper 7 лет назад +13

    @14:37 We're supposed to be getting rid of the Ms in the bottom row, right? But we end up adding an M to that row at 14:37! (Not to mention that we have negative Ms in the row too.) Or does that not matter? Are we only trying to rid of positive Ms that were in that row before we did row operations?

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

      Seems like we're supposed to get rid of the M's for the artificial variables.

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

      you simply follow the procedure to initially check if there is a feasible solution! To do that you get rid of the Ms for the artificial variables! Then you continue playing around the most negative number etc...

  • @avanishparmessur5032
    @avanishparmessur5032 Год назад +2

    Hello, there's a slight typo when the simplex method actually starts
    Following your notation, row 4 should be given as (2M+3)R2 + R4 -> R4

  • @LvyPK
    @LvyPK 6 лет назад +7

    24:45, Patrick, you're just a great explainer. I got this after watching your vid just once

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

      same here - thank you very much, Patrick

  • @anne-sophiesantens5618
    @anne-sophiesantens5618 7 лет назад +35

    Thanks a lot! Could you also make a video about the two phase method please? Thank you!

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

    I was looking for how to resolve the last row but this hectic I can't understand, anyone here to help me out?

  • @erhantonbul4230
    @erhantonbul4230 7 лет назад +1

    Patrick, you should have told what that 'slight variation' is for MINIMIZATION. Anybody??

  • @Civil.er.NEPAL54
    @Civil.er.NEPAL54 7 лет назад +5

    what is the procedure for minimization???

  • @naqeebemeran3032
    @naqeebemeran3032 5 лет назад +31

    13:53 when i see my girlfriend

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

    thanks for your video, from my point of view it is unclear the reason why we add an artificial variable to the equation system,

  • @FPrimeHD1618
    @FPrimeHD1618 7 лет назад +7

    The more linear optimization the better!

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

    Thank so much Patrick. You presentation is very understandable. It feels somehow interactive. Never stop what you're doing your work is of to tons of students out here.

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

    Just started a OR class at college and the books were not really helping. Your videos, on the contrary, are so good for learning I watched a bunch just today and right now am advanced in the course. Thank you very much!

  • @melziibabytv7249
    @melziibabytv7249 7 лет назад +3

    I like thinking I'm a sharp cookie thanks to an awesome teacher!

  • @laumingyin5393
    @laumingyin5393 5 лет назад +3

    you saved my time and grade for engineering anaylsis. This video is more memorable than those heavy thick lecture notes

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

    I was just wondering, do we add these artificial variables only in cases where we do the Big M method or the 2-Phase method because as far as I can remember, if we're just doing a regular Simplex based calculation (with Tableau and what not), we did not need to add artificial variables for inequalities with a

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

    Thank you for your videos

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

    Big thanks to you for teaching me this in 30 minutes when my professor couldn't done for 9 hours

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

    Big M Simplex method is too fucking long lol

  • @makemarshall7041
    @makemarshall7041 7 лет назад +3

    Can you maybe add in some engineering mathematics? Physics? Do you know of any RUclips channels that offer good physics and engineering help? Thank you
    I watch all your videos because I love learning math!

    • @ssrrapper
      @ssrrapper 7 лет назад +1

      I would recommend Michel van Biezen's 'ilectureonline' channel. In the RUclips search bar, type in "Michel van Biezen" (note the spelling of 'Michel').
      Once you're at his channel, check out his playlists. I think you will find what you are looking for.

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

    What to do for a mixed constraint minimisation ?

  • @TheGameDuke
    @TheGameDuke 7 лет назад +3

    Make a video about bolzano theorem and some examples

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

    my textbook has so many errors in it. No wonder this wasn't making sense, the Steps at the start of the video has the same symbol for steps 2 & 3. Now it makes sense!! thank you for making this video.

  • @FTRknmracing
    @FTRknmracing 7 лет назад +1

    I understand how to do this and I tried a few problems on my own but I don't know what this is or what to use it for but then again is my first time seeing this but watching videos of whatever math related problem I find learning the process on how to solve them yet not knowing what it means or what to use them for is it OK? and if anyone know any good books (math,mystery,riddles,problem solving) wrap your head around a problem. sherlock holmes kinda book I will very much appreciate it. thanks

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

    Thank you SO much for these videos!!! I'm struggling so badly in my Covid-19 Virtual courses and your videos have been a tremendous blessing! We share these videos around in our GroupMe and you are basically the go-to in regards to teaching ourselves this content

  • @e.keremerdem7734
    @e.keremerdem7734 25 дней назад

    thx for the video but I have a question, how could we decide that we need to have 4 Basic variables? ist that because of 2 a plus 2 s ? For example if I have 2 s and 1 a variable, do I need to have 3 Basic variable? I would really appriciate if someone could help me :)

  • @Pedrico6320
    @Pedrico6320 7 лет назад +1

    When you select the Basic variables, in the 3rd row, why do you pick the (1) instead of the (-1)? both of them are nonzero, so how do you chose one?

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

    5:16 has me crying rn

  • @Julius_...
    @Julius_... 2 года назад +1

    BIG AYUM BLUBBERS

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

    My professor literally said she would never test us on this due to the process taking forever, YET SHE STILL GAVE A FUCKING HW PROBLEM ON IT. I’m seriously considering just answering “pointless process that you said we wouldn’t be tested on”

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

    How would you approach a minimization problem with the big m method?

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

    Thank you so much for this helpful video, I am wondering in row operation -MR3 at (14:20) your answer is -2M-3. Why not -2M-3M because you multiply a variable(M) to variable and constant (-M-3)

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

      This is because you are doing -M(1) + (-M -3). You are multiplying a variable by a constant, -M(1), then adding that to what you already have (-M-3), which gives you -2M-3. Hope that helps some lol.

  • @لائبہتنویر
    @لائبہتنویر 5 лет назад +1

    Is it possible, at the end the objective funtion's value become negative?

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

    thanks goat

  • @teacul
    @teacul 7 лет назад +1

    Around 5:30, why don't X1>=0 and X2>=0 and X3>=0 get their own artificial and surplus variables?

    • @logicmonkeyuk
      @logicmonkeyuk 7 лет назад +1

      because that's just identifying them as positive or zero in the earlier constraints and doesn't add any further information about their relationship to one another

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

    I think the statement from 18:35 to 19:10 is not valid. The right hand side is not going to change till the removal of the m from the bottom of artificial variables and we always make right hand side non negative before making the tableau.

  • @StickyLemonade
    @StickyLemonade 7 месяцев назад

    Suppose I had a maximization lpp where the inequalites are all >= will the rules with subtracting slack and adding artificial still hold?

  • @TheCvids
    @TheCvids 7 лет назад +7

    wow i needed this. thabks patrick for comin in clutch! lol

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

    Why is it that it is required to eliminate at the beggining the Ms from the artificial variables if at the end we ended up with M add it to number?

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

    Patrick, You are a superstar. I am currently studying in Cabinda, Angola at ISPCAB University and your lesson helped me in an invaluable way.
    Thank you for your great job well done. Keep it up all times

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

    Thank you sir very helpful. Pero ang tinood naglibog pajud daghan kaaayog steps HAHAHAHA

  • @StickyLemonade
    @StickyLemonade 7 месяцев назад

    I ask this because some other channels are of the view that for a maximization lpp all the inequalities should be

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

    Why can't the RHS be negative? Why can't you convert greater than constraints by multiplying by negative one?

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

    As a student of engineering i thank you kindly!

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

    i'm about to graduate soon. i'm considering doing my honours with a mathematics major. i cannot thank you enough for all the content you post and understanding you bring. you are special. sending love, light and success from south africa.

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

    I knew whatever you just said but your video made up my mind and organized it so well. THANKS so!

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

      Yea you're wright

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

    why did you add an artificial variable on the first constraint? What's so special about the 2nd and the 3rd?

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

    Why did you add an artificial variable to the 3rd constraint but not to the 1st?

    • @EngAlperDemir
      @EngAlperDemir 6 лет назад

      Is it because of the "greater or equals" inequality?

    • @EngAlperDemir
      @EngAlperDemir 6 лет назад

      or because s in the 3rd constrain ended up negative when x1,x2 = 0?

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

      I Wonder the same

    • @djataberk1
      @djataberk1 6 лет назад

      Please answer guys:(

    • @EngAlperDemir
      @EngAlperDemir 6 лет назад

      You have to set your variables x1,x2... to zero, and observe the value of s1,s2..., if the surplus/slack variables ended up equal to a negative number, you must add artificial variables a1,a2... then you add Ma1, Ma2 to the objective function.
      ex: 3x1 + 5x2 - s1 = 26 => -s1=26 => s1 = -26 => 3x1 + 5x2 - s1 + a1 = 26

  • @maame_x
    @maame_x 7 лет назад +6

    Please could you do videos on integer programming and dynamic programming? Thankyou so much!

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

    In short, don't do this to yourself

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

    Is it okay. To keep a - in the first row because it's under an artificial variable?

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

    whats the difference for the same problem , but for minimization?

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

    This is the most beautiful thing I’ve ever seen

  • @ahmediraq83
    @ahmediraq83 7 лет назад +1

    ((what is the inverse Laplace transform of (s^5/(s^2+1

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

    very nice i have got good understandings from your explanation

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

    Wow, just did this last week in class. Thanks!

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

    Thank god!
    This is very well explained!

  • @ADMINADMIN-iw5zy
    @ADMINADMIN-iw5zy 2 года назад

    OMFG! Thanks a lot for this video!

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

    Thank you very much extremly detailed !!

  • @abdulrahmanalqarni7186
    @abdulrahmanalqarni7186 7 лет назад +1

    all your videos are wonderful
    .
    please upload a lot of operation research problem videos 😁
    this subject (O R) make me crazy i just wanted to passed in final exam 💔

    • @awt9805
      @awt9805 7 лет назад +3

      That moment when you need to learn OR to maximize the time you spend with each of your wives at a minimal cost

  • @leanne.l1418
    @leanne.l1418 2 года назад

    You just saved my life. Thank you

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

    Thank You very much Patrick JMT
    You always break things down and make it easier!

  • @pssst...203
    @pssst...203 5 лет назад +1

    wish me luck man, im gonna take my exam 3hours from now, all i have is some sort of bravery and the knowledge from u. thankyou man

  • @ranjithavidyashankar4174
    @ranjithavidyashankar4174 6 лет назад

    Please someone reply so when there is a negative value in the right side of the constraint for example : 𝑥1 − 𝑥3 + 𝑥4 ≥ −1
    I should reformulate it as 𝑥1 − 𝑥3 + 𝑥4 -s1 + a1 = -1
    and then multiply whole thing with -1 or first multiply with -1 and then introduce slack and surplus variable ?

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

    brilliant man. Thank you very much.

  • @WorldOfBloodcraft
    @WorldOfBloodcraft 7 лет назад +1

    Is there a way to donate with a one-time payment, rather than becoming a patreon? You have helped me with countless math courses and I want to encourage you!

    • @patrickjmt
      @patrickjmt  7 лет назад +1

      +Nawras Rabbani sure, there is a paypal donation link on my 'about' page here on RUclips! And thanks :)

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

    good job Patrick;Thanks.

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

    Hey Patrick, Thanks for this insightful video. I've got a question on Big M minimization.
    In this video, you said for each artificial variable, we are to add -MAi to the objective function. Is this the reverse for a minimization problem? Would we add +MAi to the objective function?

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

    I need it in M'y 3rd semesteer in university thank u im ( management )

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

    hahah every semester i have to come to one of your videos and thank you

  • @poetryaddict1
    @poetryaddict1 6 лет назад

    How many thousands of people do you think Patrick has helped through all these years...

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

    Is it possible that the final answer can contain the M?

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

    Watching this before my midterm

  • @lamudlamini2010
    @lamudlamini2010 7 лет назад +1

    thanks a million. Your the best. i love Linear programming

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

    12:44 If you put the - sign in front of R4 instead of MR2 & MR3, you get all positive values in the bottom row, which by simplex method means you are at optimum right?? But then you also have that the optimal solution is 15M. Why does carrying the first steps out in this way not work??

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

    Very well. It helped a lot.👍👍👍👍👍

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

    Awesome... Thank you so much

  • @Matt-dy7uq
    @Matt-dy7uq Год назад

    I fell asleep during my lecture, so I found your video to review what I missed. I fell asleep during the video lol, thankfully I can watch it a few times

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

    One criticism I have is that you did not provide a clear motivation for why we would need to use the Big-M method over the simplex method. It is used to be able to apply the simplex method to LP problems that contain greater than constraints. Helpful video overall.

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

    z=2x1+x2
    subject to x1>=0,x2>=0
    2x1+x2=6
    x1+x2

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

    so brave using a sharpie lol

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

    hey patrick i would like to request you to explain the barber paradox and make some mathematics out of it .i'd be grateful to you if you.......

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

    You are SUPER AMAZING , thank u so much🌸

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

    Thanks

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

    At 22:19 how come you don't "divide" the 20 with 0? I know you can't but why didn't you mention it? Do you only focus on the A variables at first?

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

    16:52 why S2 doesn´t fit?

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

    Please help. Which row should i select for the key element if the obtained ratio has a zero or a negative value only? And if x1=-2 and also x2=-2, which do i turn to value 1?

  • @3raser3
    @3raser3 7 лет назад

    I fucking hate my life

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

    Hello, please is there any video you have solved a Minimization problem with mix constrains using the big m method ?

  • @tsenamnamgyal7696
    @tsenamnamgyal7696 6 лет назад

    help. in step 1 if there is negative constant in the right side soultion we multiply by -1. does this rule apply to simplex problem aswell???

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

    Thanks I was very confused, now ts a bit clearer. Will repeat this video and watch more videos on the simplex method

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

    Great video, but it leaves me wondering why at 18:30 does P not matter to check if there is a possible solution? what's the explanation behind it?

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

    Your welcome... i guess