How to Solve a Linear Programming Problem Using the Big M Method

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • In this lesson we learn how to solve a linear programming problem using the big M method. Change the setting of your youTube to HD for the best quality.

КОМЕНТАРІ • 61

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

    Definitely the best tutorial in between those bunch of big m videos. Thank you so much.

  • @mariamilingou8217
    @mariamilingou8217 8 років тому +3

    Fantastic tutorial!Thank you very much for your videos!I will hopefully pass my final exams thanks to you!

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

    this will definately help me to clear my CT......thank you ma'm

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

    i have my Operation Research exam in next 2 hrs and here I am watching this video

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

    Thanks Great Teaching......................
    Best In UA-cam For BIG M method :)

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

    I'm used to reading cursive, so i find your handwriting legible. But I think it may indeed help others who aren't accustomed to cursive if you were to write in capitals. Nice handwriting though.
    Great videos too, it was a clear explanation

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

    Thanks for the wonderful tutorials. Best ones I've used to learn.

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

    Brilliant, Thank you very much Shokoufeh :)

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

    Very good job! Best tutorial of big M on youtube

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

    thank you so much
    you did great job

  • @MuhammadSalman-om4rn
    @MuhammadSalman-om4rn 9 років тому +1

    Very helpful, thanks!

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

    Thanks professor, please upload some videos about sensitivity and shadow price,
    kheylii khub boodm mamnun ,goftam farsi am tashakor karde basham ;)

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

    hello
    it was a great video
    thanks

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

    excellent professor

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

    Great Video!

  • @leddel746
    @leddel746 9 років тому +4

    the information is hard to read, please choose other font

    • @sxmirzaei
      @sxmirzaei  9 років тому +15

      That is my handwriting. I try to make it more legible next time. thanks for your feedback led del

    • @imedhosting
      @imedhosting 8 років тому +3

      +led del if you consider her handwriting as a font it means that her handwriting is beautiful hahahaha

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

    thank you very much

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

    you are really good, thank you professor

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

    Thank you professor but i have one question. What we supposed to do when there is more than one > or = sign ?

    • @sxmirzaei
      @sxmirzaei  9 років тому +32

      let's say you have 2 constraints with = and >= signs. Then, you have
      Max z=3x1+4x2
      x1+x2=3 --> x1+x2+a1=3
      x1+2x2+3x3>=1 --->x1+2x2+3x3-e2+a2=1
      Note that for constraints with "=" sign we don't add any excess variable (e.g. the first constraint in the above example). You need to add both a1 and a2 with big M to the objective function. for example, in this case you have
      max z=3x1+4x2 ---> z=3x1+4x2-Ma1-Ma2

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

      Shokoufeh Mirzaei Thank you very much..

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

    Thank you SO much! This was perfect.

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

    What if all z row elements are positive but you still have M at the final value of z??

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

      if there is M in the final value of Z, it means at least one of the artificial variables is still positive (basic). If you are in the optimal table, this is a sign that shows the problem does not have a feasible solution.

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

    You helped a lot but I didn't understand how and why you switched from s2 to e4

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

    thank you ma'am, you are awesome.

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

    Thank you for the videos, they are great. I have two questions :
    Do we always add -M ? or we add -M for maximization problem and M for minimization problem ?
    Same question for the artificial variable (a) ?

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

      we add -M for a Max and +M for a Min problem. Also, for constraints with >= signs we always add +a regardless of the objective function direction (max or min).

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

    Mirzaei, this session was good and very useful. Did you posted any video relating Gomory's Cutting plane method and Branch & Bound method problems. Kindly give the link. Thanks

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

    Excellent video!

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

    Thank u, very helpfull

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

    So if I get it right..if the initial problem was a minimization problem then we would have to add e's to the

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

      regardless of your objective function direction (Max or Min) when you have

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

    Great tutorial

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

    thank you this is helpful 😘😗

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

    Why can't we add a positive M? I understand that we want to avoid a positive M as it's a maximization problem. But if we do add a +M to the objective function, after standardizing, it becomes -M. So by normal procedure we would automatically make that column as the pivot column because it's the MOST NEGATIVE number there?

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

      please watch 4:21-6:49

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

      Yes, I have. I understood that but I don't get why we can't do it this way? Thanks ma'am.

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

    great video !!

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

    so if the artificial variable (either a4 or 4e) are another number other than 0, does that mean that there is no optimal solution, because there is no feasible region?

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

      no! only "a" variables are artificial variables. You have a feasible solution when e.g. e4=4. However, if any of your artificial variables (a variables) in the final optimal table are positive then you don't have a feasible solution

  • @mahmodel-attar2856
    @mahmodel-attar2856 8 років тому

    thanks too much u r awesome :)

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

    can you tell me how can we differ Big M method by simplex method..? by checking the constraint of inequalities ? if differ we use big M otherwise simplex . please comment.

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

      If all constraints in an LP are in form of = or = signs we should use big M or two-phase method.

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

      what if I decide to solve the min LP with the dual simplex ? do I still have to add an artificial variable in the

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

    Hey Prof
    So do we use artificial variables in Simplex too in case we have a perfect equality constraint?

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

      +Ashwin Nair yes, in that case you only add an artificial variable and you don't add any excess variable: x1+x2=1 --> x1+x2+a1=1

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

      ok. Thanks

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

    In some parts it's hard to see what you wrote, wish you wrote them bigger. But thanks a lot for the video! :)

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

    nice tutorial but what if we have two Ms in cost functions? how to get the new Z or cost function ?

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

      +malayait if you have two Ms you have to add both Ms to your objective function. Example (note: this is a minimization problem):
      Min Z=x1+2x2 Z=X1+2X2+M1a1+M2a2 ---> Z-X1-2X2-M1a1-M2a2=0
      X1>=2 X1-e1+a1=2
      X1-X2>=3 X1-X2-e2+a2=3
      X1,X2>=0 X1,X2>=0

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

      +Shokoufeh Mirzaei thank you lecturer but i mean new z . mean the one which we have to use with. like you multiply M with r3 and then added to r4 to get new Z to use.
      sorry for bothering and last uncleare question

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

      +malayait I see. you have to do it for both columns of a1 and a2. you can do it in two steps. first, use one of the rows to get rid of the M under a1, then use another row to get rid of the other M left in the row of Z. Note that when you are in the second step, you have to use the new row of z that you have created.

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

      +malayait thank you so much .. :)

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

      +malayait if you find a feasible solution, Ms will be eliminated from your objective function.

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

    thanks so much