How to Solve a Linear Programming Problem Using the Graphical Method

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • In this lesson we learn how to solve a linear programming problem using the graphical method with an example. We also see an example for an in-feasible LP.
    This video is HD, and Close Captioning is available.

ความคิดเห็น • 271

  • @rachelavila861
    @rachelavila861 5 ปีที่แล้ว +63

    This was the BEST explanation I've experienced. Took you 11 minutes what my graduate professor couldn't make clear in over 3 hours. THANK YOU

    • @mikalbrown3227
      @mikalbrown3227 3 ปีที่แล้ว +7

      We must have the same professor hahahaha

    • @Lilkibe
      @Lilkibe 6 หลายเดือนก่อน

      @@mikalbrown3227 For Real man

    • @DRBR242
      @DRBR242 หลายเดือนก่อน +1

      It is because they teach us, as we are their professors friends.

  • @giacomocassano1439
    @giacomocassano1439 4 ปีที่แล้ว +19

    It's incredible how ten minutes of well explained lecture are better than weeks in class. Awesome video!

  • @Ardbudak
    @Ardbudak 4 ปีที่แล้ว +3

    It's been over 5 weeks since the class started, but all I know was nothing til I met you 15 min ago! I AM LITERALLY AMAZED !! Thanks a lot!

    •  3 ปีที่แล้ว

      😑😑

  • @sxmirzaei
    @sxmirzaei  10 ปีที่แล้ว +41

    The choice of Z is arbitrary, but we usually choose a Z value that gives us a line in the feasible region. I picked 60 only bcz its divisible by 3 and 2 and give me a line inside the feasible region. you could have selected other values such as 50 for your first line. However, for the second line, it is important to pick a value that is consistent with the objective function direction. i.e. for a max problem pick a bigger value, and for a min problem pick a smaller value than the first value. I could have chosen 100 instead of 120 and still get the right direction for the objective function improvement. Please Note that the whole purpose of doing this step is to find the direction to which we have to slide our OF line and thus our selections are arbitrary.

    • @AbhishekThakuraga
      @AbhishekThakuraga 9 ปีที่แล้ว +2

      Shokoufeh Mirzaei i love your voice.....

    • @VarunRajvanshi
      @VarunRajvanshi 7 ปีที่แล้ว

      complementing a teacher for their voice isn't disrespect

    • @Skylineegamingstudio
      @Skylineegamingstudio 7 ปีที่แล้ว +3

      hmm gud everything easily understandable thanks

    • @a.r.solanki8138
      @a.r.solanki8138 5 ปีที่แล้ว

      Thanks you mam
      Very good Explanation of the graphical method to solve LP problem
      Tysm

    • @hearthacker5565
      @hearthacker5565 4 ปีที่แล้ว

      Yes mam this is only to find exact optimal point. So as to reduce unnecessary work of finding another point. You are just par excellent mam.

  • @saatsaat32
    @saatsaat32 10 ปีที่แล้ว +4

    Thank you so much Miss Shokoufeh! Your linear programming videos saved my life. Literally thank you so much, keep up the good work!

  • @casa5104
    @casa5104 4 ปีที่แล้ว +1

    thank for making life easier ,some professors insisted to complicate things on purpose ,thanks again for you and the social media that connected you to the world .

  • @S4M4R1T4N
    @S4M4R1T4N 5 ปีที่แล้ว

    Some people are just better teachers than others. You are proving quite useful to me already.

  • @VincentDouglass
    @VincentDouglass 10 ปีที่แล้ว +1

    you explained it better then anyone else on TH-cam!!

  • @spencerschwarz3264
    @spencerschwarz3264 5 ปีที่แล้ว

    I HAVE BEEN TRYING TO UNDERSTAND THIS FOR WEEKS THANK YOU!!!!

  • @donnameks
    @donnameks 11 หลายเดือนก่อน

    Best lectures covering Optimization, thanks a lot Shokoufeh.

  • @ThilankaMunasinghe
    @ThilankaMunasinghe 9 ปีที่แล้ว +6

    Very Nice Explanation. Best explanation video that found on TH-cam so far. Thank you. Good Job, Keep Going.

  • @olivergural8486
    @olivergural8486 6 ปีที่แล้ว +3

    Thank you this was helpful, but I do believe you can also find the maximum value by taking the points of the vertices of the feasible region and plugging them into the maximum value equation, and the greatest value from those is the maximum value.

  • @mikehuang85
    @mikehuang85 9 ปีที่แล้ว +2

    Very good video, I figured it out 3 mins into your video.

  • @judyblanco4591
    @judyblanco4591 8 ปีที่แล้ว +4

    This video helped me soon much thank you Mirzaei! I have a project due tomorrow and I ACTUALLY understand this!

    • @panicflupbaster4667
      @panicflupbaster4667 8 ปีที่แล้ว

      +Judy Blanco Hey, could you maybe help me? I understand most of the video, but at the part where she calculates the optimal solution at the intersection of constraints 1 and 2 I lost it (at 9:49). Can you explain me how she got -x and -80? It will help a lot!

    • @sxmirzaei
      @sxmirzaei  8 ปีที่แล้ว

      +Panic Flupbaster to solve the system of two equations, I multiplied the two sides of the second equation by (-1) and added with the first equation. this way, when you add the first and second equations you ll get rid of x2 and can solve the equation for x1. when you have the value of x1, you can replace it in any of the two equations and get the value of x2.

    • @panicflupbaster4667
      @panicflupbaster4667 8 ปีที่แล้ว

      +Shokoufeh Mirzaei ooh i get it, thank you very much, this video helped alot! :)

    • @enewington
      @enewington 7 ปีที่แล้ว

      I'm stuck on how to solve the system of the two equations as well - how did you pick (-1) as the figure to multiply the second equation by? The more I try to find different examples, it seems that this is an arbitrary figure? Thanks so much, Erin

  • @aether46
    @aether46 7 ปีที่แล้ว +1

    Impressive and most helpful. I did this course years ago but need to brush up to solve my current problem.
    I'll definitely look at the other videos, in a crash course format. -- Immense gratitude.

  • @Termite1157
    @Termite1157 2 ปีที่แล้ว

    This was so much clearer than my professor thank you!!!

  • @msstylo
    @msstylo 3 ปีที่แล้ว

    Literally i passed toughest exam of my masters by learning via your lectures. Thanks 😊

  • @vusumuzikhumalo2128
    @vusumuzikhumalo2128 8 ปีที่แล้ว

    Lady you are a genius, you have a gift for teaching

  • @mwaneimwazi488
    @mwaneimwazi488 9 ปีที่แล้ว +6

    this was awesome....it really seemed tricky by looking and listening...but practicing was the best thing to catch up with the content...

  • @007mahaveer
    @007mahaveer 9 ปีที่แล้ว +1

    Best explanation of LPP !! Thank you so much !!

  • @Scatteril
    @Scatteril 8 ปีที่แล้ว +2

    you are really a life saver . Thank you from my bottom of my heart

  • @manianDevil98
    @manianDevil98 5 ปีที่แล้ว

    LIFE SAVER!!!!!!!! Thank you so much for such a crystal clear explanation.

  • @wilmarkjamesvillones5976
    @wilmarkjamesvillones5976 6 ปีที่แล้ว +1

    EZ pass on my midterm exam! Thanks!

  • @ridashams3389
    @ridashams3389 6 ปีที่แล้ว +3

    U r the saviour mam thanks!

  • @vishn2011
    @vishn2011 9 ปีที่แล้ว +2

    Straight and clear, good work

  • @jyjtbub
    @jyjtbub 10 ปีที่แล้ว

    Thanks a lot! It really took me 11mins to understand the concept. Great work!

  • @Reem-xp2qv
    @Reem-xp2qv 2 ปีที่แล้ว

    Thank you for the video. Simple, clear, and detailed explanation of the concepts.

  • @sesh1499
    @sesh1499 2 ปีที่แล้ว

    Am glad I found this explanation

  • @dianamuthini3514
    @dianamuthini3514 2 ปีที่แล้ว

    Thank you for the simple explanation

  • @MAli-o9h9n
    @MAli-o9h9n 10 ปีที่แล้ว +2

    Thanks a lot for your time and effort. This was very helpful.

  • @sahraunak94
    @sahraunak94 10 ปีที่แล้ว

    nicely explained the problem, you are a good teacher

  • @rohitchoudhary6665
    @rohitchoudhary6665 8 ปีที่แล้ว +1

    nice voice mam and way of teaching is also good.

  • @courageagbebaku4637
    @courageagbebaku4637 5 ปีที่แล้ว

    Thanks...I totally understand it now... keep up the good work dear.

  • @khubsimple
    @khubsimple 5 ปีที่แล้ว +1

    Your tutorial is so simple to understand. Thank you.
    Which software do you use to record your tutorial?

    • @sxmirzaei
      @sxmirzaei  5 ปีที่แล้ว

      Thanks! I used Doceri

  •  10 ปีที่แล้ว

    Yes you explained it very well. You are the best

  • @jonathantakyi1256
    @jonathantakyi1256 4 ปีที่แล้ว

    Great explanation and straight to the point. Thanks a lot

  • @hearthacker5565
    @hearthacker5565 4 ปีที่แล้ว

    You teaching skills and knowledge is amazing mam..may Allah bless you. Loads of love ❤❤❤

  • @ilovepickingnose_12yrago
    @ilovepickingnose_12yrago 10 หลายเดือนก่อน

    Holy, I never thought it was this easy

  • @AshanPeirisNCVU
    @AshanPeirisNCVU 10 ปีที่แล้ว

    Short & Sweet. Great video, Thanks a lot

  • @karabomohlala7257
    @karabomohlala7257 3 ปีที่แล้ว

    Thank u so much been struggling graph the objective function. Now I totally get ohw n u made find the optimal solution way easier keep at it.

  • @techifers
    @techifers 6 หลายเดือนก่อน

    Thanks a lot. BTW, the line for the second constraint in the last question is a mistake, right? Cos the line is at X2 = 2 not 3.
    It's a mistake, right?

  • @tesfaytizazu1715
    @tesfaytizazu1715 5 ปีที่แล้ว

    you are delivered beyond enough, Thank you very much I have learned a lot keep as it is

  • @arshiaray8525
    @arshiaray8525 3 ปีที่แล้ว +1

    straight forward and amazing

  • @TarreVizsla
    @TarreVizsla 10 ปีที่แล้ว +1

    Thank you so much for the video. You made it very easy.

  • @Mel-rv8gy
    @Mel-rv8gy 4 ปีที่แล้ว

    Thank you for this!!! I finally understand thanks to your video :)))

  • @CT-mc3sy
    @CT-mc3sy 4 ปีที่แล้ว

    So clear and easy to follow! Thank you :)

  • @ziedx5
    @ziedx5 6 ปีที่แล้ว

    Thank you, may God reward you well

  • @themorgoth
    @themorgoth 8 ปีที่แล้ว +1

    Thank you so much, Shokoufeh!

  • @lunakhadgee1494
    @lunakhadgee1494 8 ปีที่แล้ว +4

    thank u it was so helpful for me

  • @ugurozmen5513
    @ugurozmen5513 9 ปีที่แล้ว +2

    It's a lifesaver. Thanks.

  • @bariqallemyar7579
    @bariqallemyar7579 7 ปีที่แล้ว

    thanks a lot. it was really useful. if i had the whole question description that would be perfect. because i want to learn how to make objective function and constrains formulas.

  • @hoomanseyfi1941
    @hoomanseyfi1941 6 ปีที่แล้ว

    Ahsant! kheili khub tozih dadi. well explained thanks

  • @tamodevelopers2378
    @tamodevelopers2378 8 ปีที่แล้ว

    hey, how did you graph 3x+2x= 60, you have the first line cordinates equal to x1=20 and x2=40 shouldn't x2 be = to 30?

  • @SiddharthSinghFiery69
    @SiddharthSinghFiery69 9 ปีที่แล้ว +1

    Exquisitely explained...moreover ur voice is pretty appealing...thanks..keep up d good work

  • @BiLiMsElGuEyE
    @BiLiMsElGuEyE 3 ปีที่แล้ว

    Waouh amazing explaination. Thank you

  • @mohammedel-gayaar
    @mohammedel-gayaar 9 ปีที่แล้ว +2

    Special Thanks for your effort.
    Perfect explanation
    but I have a question in the first case where is there a feasible solution, can I calculate the profit at the intersected points taking in consideration the feasible area so I will have only 2 points, then i try solving the equations of these two points and choosing the higher one instead of trying to draw the objective function many times ?

    • @sxmirzaei
      @sxmirzaei  9 ปีที่แล้ว +1

      Yes, you can do that. Indeed, even though its not the formal way of finding the optimal solution, we suggest students doing it when their drawing its not properly scaled and they are not sure which point is exactly the last point that the objective function line hits as it exits the feasible region. But please note that you have 5 corner points (not three), which are (0,0), (40, 30), (40, 0), (20, 60), and (0,80). so you have to calculate the value of objective function for all the corner points and pick the one with max (min) value.
      If you already know the direction of objective function but you are not sure between the points (40,30) and (20 ,60), you can only calculate the value of OF for these two points and pick the one that has a higher value.

    • @mohammedel-gayaar
      @mohammedel-gayaar 9 ปีที่แล้ว +1

      Really Appreciate your work and answer thanks :)

  • @krunalnayak871
    @krunalnayak871 7 ปีที่แล้ว

    useful for one night before exams... thanks mam👍

  • @klirila7766
    @klirila7766 9 ปีที่แล้ว

    Plus point for a concise explanation. Thank You. Now, I have a question: why is the optimal solution found in the intersection points and not inside the feasible area? Any insight will be appreciated.

    • @moreibr1
      @moreibr1 9 ปีที่แล้ว

      +Lirila Mzr There are some theorems about the graphical method resolution, one of them says that the optimal solution is one of vertices of the polyhedra created by the restrictions, usually when we have a max. problem we use the farthest vertice from origin, the opposite is valid for the min problem, this time we use the nearest vertice from origin.

    • @moreibr1
      @moreibr1 9 ปีที่แล้ว

      +Lirila Mzr OBS: You have to consider the distance from origin using parallels from Z function drawn.

  • @rickygzz92
    @rickygzz92 10 ปีที่แล้ว +1

    Excellent explanation. Thank you! :)

  • @alfredo.orimbo2360
    @alfredo.orimbo2360 10 ปีที่แล้ว +1

    Thanks for sharing. Please also upload how to solve for problems with more than 2 decision variables-the simplex method

    • @sxmirzaei
      @sxmirzaei  10 ปีที่แล้ว

      It is already posted. Please you go to my channel to see all the videos that are posted.

    • @pittiemixbosslady6047
      @pittiemixbosslady6047 7 ปีที่แล้ว

      if x1 is nt given den how can we find d feasible solution

  • @ajazahmed5452
    @ajazahmed5452 7 ปีที่แล้ว

    Thank You Miss.. It's really helpful..

  • @FixcyJustin-wm7id
    @FixcyJustin-wm7id ปีที่แล้ว

    Well explain, I hope I can do better in this topic of linear problem.

  • @patricksiozon8473
    @patricksiozon8473 10 ปีที่แล้ว

    As you have said in that video that the line we're gonna draw for objective line should be equal to z. So the first line(obj. F) is 60, then you drawn a line that would be equal to z which is 60(40 +20).in that case, we're gonna forget the 20x1 and 30x2 because we should follow the rules right? So we would make the obj. F line equal to z(40 plus 20 = 60) because of your graph there. is that correct? And the second obj. F line, it should have equal to 120 (as you assumed) but you drawn a line with 40x1 and 60x2 that equal to 100, since the second obj. F line is not equal to z=120, can you explain to me what's going on there? Im just little bit confused there. And just asking here.. Thank you. :)

  • @illusiveedge5223
    @illusiveedge5223 8 ปีที่แล้ว

    This was a great help! Thank you!

  • @donjr3270
    @donjr3270 6 ปีที่แล้ว

    That was a neat presentation!

  • @vishaladitya9222
    @vishaladitya9222 6 ปีที่แล้ว

    Very Useful... Thanks a lot!!

  • @akshayubale6413
    @akshayubale6413 8 ปีที่แล้ว

    Thank you... It really helped me a a lot.. 👍👍

  • @EverestChiboli
    @EverestChiboli 10 ปีที่แล้ว +1

    What happens when you make X2 to be on the X-axis and X1 to be on the Y-axis (When you interchange the X1 and X2 coordinates) Does this change the end result? How do you determine X1 and X2 are on which axes?

    • @sxmirzaei
      @sxmirzaei  10 ปีที่แล้ว +1

      no, this will not change the final result and your objective function value at the end will be the same.

  • @muzaffermohamed1873
    @muzaffermohamed1873 9 ปีที่แล้ว +2

    thanx ur awesome.....
    also I hope u exeplaine forcasting & assignment & inventory. prop too and thanx agine

  • @idokoisaac8082
    @idokoisaac8082 9 ปีที่แล้ว +2

    thanks a bunch, was very helpful............

  • @DitiroKhuto-jx1or
    @DitiroKhuto-jx1or ปีที่แล้ว

    Good day, can anyone assist. Why the portion where line 3 and 2 intersect not included as the feasible region? TIA

  • @abrahamlegesse3331
    @abrahamlegesse3331 5 ปีที่แล้ว

    simply perfect and thank you!

  • @Ahmed20122
    @Ahmed20122 10 วันที่ผ่านมา

    You're the best
    Thanks

  • @goksunv
    @goksunv 9 ปีที่แล้ว +1

    I think you have drawn the line for 3X1 + 2X2 =60 wrong because it should intersect the number 30 in the X2 axis but you have intersected it on the number of 40.

    • @Ramguhan7
      @Ramguhan7 9 ปีที่แล้ว +1

      +goksun v : shes done it correctly ,watch close, its between 20 and 40.

    • @jdj2005yt
      @jdj2005yt 6 ปีที่แล้ว

      goksun is correct. she did not plot through 30 but 40. these lines should be parallel to line II if drawn correctly

  • @bhusals
    @bhusals 5 ปีที่แล้ว

    Nice Explanation, but It would be better if you had showed the question or the problem into the video since it is confusion that what is the question, the beginners

    • @sxmirzaei
      @sxmirzaei  5 ปีที่แล้ว

      The question is in the title "How to Solve a Linear Programming Problem Using the Graphical Method"

  • @hectorprado5137
    @hectorprado5137 9 ปีที่แล้ว +1

    Hello! I am doing a research paper on these types of problems in my Calculus two class, do you know how to intertwine the two? Also wonderful job, I have never done any of these in my lover div. economics classes, but after this video I will be able to no problem as I get further.

    • @sxmirzaei
      @sxmirzaei  9 ปีที่แล้ว

      +Hector Prado sorry for the late response, I can definitely help. send me a message to discuss this further if you are still intrested to know how to connect the two. smirzaei@cpp.edu

  • @edrismoradi5739
    @edrismoradi5739 9 ปีที่แล้ว +2

    great explanation!

  • @azma1099
    @azma1099 5 ปีที่แล้ว

    So good i am easILY able to understand it

  • @nimamaleki1595
    @nimamaleki1595 8 ปีที่แล้ว

    What do we do with constraints that have equality constraints? and what about those which have non positive RHS?
    Thank you

  • @MirceaAgrigoroaie
    @MirceaAgrigoroaie 9 ปีที่แล้ว +1

    thank you, very clearly explained

  • @songohan393
    @songohan393 3 ปีที่แล้ว

    What would be the minimum of the example in the video? (0|0) ?

  • @Kirosye
    @Kirosye 6 ปีที่แล้ว

    Thanks. Good explanation.

  • @ShoptarsheeBarua
    @ShoptarsheeBarua 8 ปีที่แล้ว +1

    hey thanks...plz can u help me for a solution of lp??

  • @chandanpandey6010
    @chandanpandey6010 6 ปีที่แล้ว

    thanxx for ur video and voice....

  • @rajyalakshmigonaboina7708
    @rajyalakshmigonaboina7708 7 ปีที่แล้ว

    its awesome and excellent sir

  • @tondonsanalaimayum3465
    @tondonsanalaimayum3465 4 ปีที่แล้ว

    Maam please reply me
    I could not understand that part z= 60 ..while the points are 30 and 20

  • @rodneyhutchings4119
    @rodneyhutchings4119 4 ปีที่แล้ว

    Dr. Mirzaei
    This is an amazing presentation!! Well Done!
    May I ask what tools you used to create it? I'd like to create and present a series of videos similar to this one to teach linear programming to my classes, and I'd like to include animations for the objective function. However, your whiteboard and blackboard visuals are quite good, and would make an excellent start for my classes. Thanks in advance.

    • @sxmirzaei
      @sxmirzaei  4 ปีที่แล้ว +1

      Hi Rodney, Thanks for your feedback! I am using Doceri. It is an ipad app and you can make animations with it! Let me know if you have any questions.

  • @seansss9525
    @seansss9525 10 ปีที่แล้ว

    Thanks, that was very helpful.

  • @ibtissammouhacine8261
    @ibtissammouhacine8261 4 ปีที่แล้ว

    You saved me thank you so much

  • @bayana962
    @bayana962 3 ปีที่แล้ว

    why did u graph the numbers wrong for the Z value it should be (0,40) & (60,0) but u switched them?

  • @djchilxxn
    @djchilxxn 6 ปีที่แล้ว

    THank you for your explaination, however I am confused as why you subtracted constraint II from constraint I at the end when finding the optimal value for xsub2. I tried (out of curiousity) subtracting I from II and got -x ≤ -20, which (after dividing by -1) gave me x ≥ 20, which is not the same. Should I be using an equals sign there since the direction is no longer relevant when finding the optimum points? Thanks!

    • @sxmirzaei
      @sxmirzaei  6 ปีที่แล้ว

      The intersection point of the two constraints falls on both lines, that's why we have to find the intersection point by solving the system of equations formed by the two constraints crossing the point with equal signs (because the point is exactly on the lines, not on one side of the lines). What I did there, helped me to solve the system of equations with two decision variables and two equations. You should know how to this from linear algebra.

  • @khaledsakkaamini4743
    @khaledsakkaamini4743 6 ปีที่แล้ว

    amazing tutorial​ thanks

  • @hessaalnaeem974
    @hessaalnaeem974 6 ปีที่แล้ว

    What about when they ask for minimize z? Is the constrain going to be greater just like the video or is it going to be less than ?

    • @sxmirzaei
      @sxmirzaei  6 ปีที่แล้ว

      handling of min problems is explained in the video. Please watch it again without skipping. for constraint with >= you exactly do the same procedure. There is no difference in the steps you implement. Just that you might end up choosing a different side of the line as your feasible region. you will figure that out by plugging a chosen point in the constraint, as explained in the video.

  • @clarus_tx
    @clarus_tx 3 ปีที่แล้ว

    Great video!

  • @ign_reaper
    @ign_reaper 9 ปีที่แล้ว +1

    very helpful thank u

  • @murtazabugti8305
    @murtazabugti8305 5 ปีที่แล้ว

    i am not understanding how get 3x1+2x2=60

  • @j.robertstewart3754
    @j.robertstewart3754 9 ปีที่แล้ว

    When you are finding the optimal solution, using the lines I and II, why does the second line become negative (-) while the first line is positive? 2(x1)+X2 = 100, but x1 + x2 = 80 because x(-1) x1+x2=-80 ...thank you.

    • @sxmirzaei
      @sxmirzaei  9 ปีที่แล้ว

      I multiply the second equation by (-1) so that I can cancel out X2 when I add the two equations.This way I can solve the resulting equation for X1. Then, I replace the value of x1, that I have found, in one of the equations (in this case equation 2) to find the value of x2.

    • @j.robertstewart3754
      @j.robertstewart3754 9 ปีที่แล้ว

      Thank you so much. Great video. Has been a lot of help.

  • @TuPielDevorarte
    @TuPielDevorarte 8 ปีที่แล้ว

    Hello! I got 2 constrains ,0.03 X1 - 0.01 X2 ≥ 0 and 0.21 X1 - 0.3 X2 ≤ 0 which both give (o,o )! . How can we draw them correctly? Thank you a lot :)

  • @deciogaspar5255
    @deciogaspar5255 9 ปีที่แล้ว +1

    thanks for the great explanation

  • @Neelam-xc9fl
    @Neelam-xc9fl 5 ปีที่แล้ว

    How we assume 60,120 by self? didn't get