Linear Programming (LP) Optimization with Excel Solver

Поділитися
Вставка
  • Опубліковано 24 кві 2017
  • #excel #solver #linearprogramming
    Please SUBSCRIBE:
    ua-cam.com/users/subscription_...
    alphabench.com/data/linear-pro...
    Please watch: "Linear Programming Optimization Transportation Problem Excel Solver"
    • How to Setup & Solve L...
    A tablet computer manufacturer offers two models of its product, the Tablet Pro and the Tablet Mini. The Tablet Pro requires 1 chipset, 15 electronic components and 6 hours of labor and returns a profit of $182. The Tablet Mini requires 1 chipset, 9hours of labor and 10 electronic components and returns a profit of $139. Monthly resources are limited to 1,000 chipsets, 7,000 labor hours and 14,000 electronic components. The tablet manufacturer is interested in maximizing monthly profit. What product mix achieves maximal profit?
    Overview of formulating linear programming models and using Solver to find an optimal solution. Includes discussion of sensitivity reports and important terminology.
    Demonstration of classic two product profit maximization formulation.
    Spreadsheet used in the video can be downloaded from:
    alphabench.com/resources.html
  • Наука та технологія

КОМЕНТАРІ • 249

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

    Matt, thank you for taking the time to produce this video. It has helped me a lot.

  • @ASB-cf2ke
    @ASB-cf2ke 6 років тому +10

    easy way to learn ,good work to the developers of the video

  • @CT-mc3sy
    @CT-mc3sy 4 роки тому +18

    Thank you!!! So much better than my prof at explaining, especially since you use much clearer terms.

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

      Thanks. Glad it helped.

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

      @@MattMacarty Do you help with homework at a reasonable $/hr rate? The model I have to create is very complicated!

  • @user-ru2ry7rm3p
    @user-ru2ry7rm3p 5 років тому +1

    Thank you for posting this! you explained it in a easy but clear way. Now, I know how to solve my assignment problem. Thank you!

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

    Easy to understand and so much easier than doing the simplex method by hand 🙏🙌 Thank you!

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

    I think I watched about 5 videos before I found one that has the best example on what to do. Thanks!!! Short and Simple!!

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

    Thank you so much. I was struggling to solve LP with excel solver and your video helped me a lot.

  • @goonhead3791
    @goonhead3791 5 років тому +76

    Man thank you I wish I could give you my money instead of my professors. I’ll repay you one day

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

      Glad it helped. c

    • @matthewh4377
      @matthewh4377 4 роки тому +6

      Thank you Matt! Ive spent hours trying to interpret my professor's videos and you taught this in 20 mins! My university needs to fire my professor and give me a refund as well! - Thanks dude! Im sending your link to the class

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

      I got help from thechinahacks financially .They got me a transfer of $37,000 just yesterday .

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

      @@MattMacarty This is a great review on how to use solver. Any other ones? I second Goon Head's comment. My professors focused on the results but not the Answer Report, Sensitivity Report, and Limits Report.

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

      lol 😂 for real

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

    THANK YOU! This helped me finally understand Solver.

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

    Saved me a lot of time and stress, can't thank you enough!!

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

    Hi Matt! Thanks for your video, this really helped me to find the LP for my problem.

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

    Explained clearly. Thank You, Matt!

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

    it was easy to learn and certainly very helpful to me. Thank you so much for making this video!

  • @brandycurtisrichards6946
    @brandycurtisrichards6946 4 роки тому +2

    Great video! Thank you so much for the explanation.

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

    It baffles me that Matt made this problem so easy to understand. Why can’t my Professor break it down like this? Thanks Matt!

  • @jemimamagak
    @jemimamagak 5 років тому +3

    You are incredible thank you for your help 🙏🤗

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

    Thank you so much for this video. It really helps a lot for my upcoming report with this kind of topic. Thanks a bunch!

  • @HungTran-fj8hg
    @HungTran-fj8hg 5 років тому +1

    Saved my life homie. Much love.

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

    Saved me for my Quantitative Analytics module! My lecturer explained this so badly, thank you!

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

    Great video. My professor took 2 hours to teach this method and i did not understand a thing. whereas you made me understand it in 10 mins. :)

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

    You are a god among men. This is the best explanation of this I have heard. Thank you.

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

    Very helpful and straight forward - thank you!

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

    Thank you Matt. It was very helpful for me 🙏

  • @GSZ818
    @GSZ818 6 років тому +4

    Thank you so much, really helped a lot!! Awesome work

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

    Thank you for making this video!

  • @RamandeepSingh-kk4zt
    @RamandeepSingh-kk4zt 2 роки тому

    This is the best explanation I've seen so far💯 ,Thank you Sir☺️

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

      You are welcome. Glad it helped.

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

    Thorough and clear explanation. THANKS so much :)

  • @AbdoulayeDiallo-xu4hx
    @AbdoulayeDiallo-xu4hx 4 роки тому

    Wow man, you are a LEGEND; the way you explain.... just wow. I wish I could trade you with my professor.

  • @Light-vu6ws
    @Light-vu6ws 2 роки тому

    You're awesome for replying to every comment. Good video!

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

    you're really a good tutor. thank you so much. this helped a lot.

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

    Very clear and concise tutorial thank you!

  • @RandlemanProductions
    @RandlemanProductions 7 місяців тому

    Thank you so much!!!! I had so much trouble with understanding this and you explained it perfectly. I now understand this. THANK YOU!!!

  • @Tsunade64
    @Tsunade64 6 років тому +3

    Thank you! Awesome job btw, and very clearly and thoroughly explained :)

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

    Edit: I found it! I had to go to Data/Solver and then go through the set-up there and the "Limits Report" showed up! Thank you so much for the video again!
    Thank you for the insightful video! Only thing I was unable to do on my own when following your video was to find the "Limits Report" which didn't show up anywhere in my Excel document. I'm using the newest versions of things, so it probably is just somewhere I don't know where to look for it

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

    Thanks for the help! Definitely useful stuff

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

    Thank you! Video was very helpful!! :)

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

    Video really helped me! Thank you!

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

    Let me tell you. You definitely aleviated a headache and got me out of a tough spot. You explained and showed me this in a manner that was easy to pick up thanks a ton.

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

      Thanks very much. Glad it helped.

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

    Thank you. Well explained. Great Job (thumbs up).

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

    So helpful, thank you so much Matt!

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

    Thank you so much!! Now I understand a lot!

  • @jimparsons6803
    @jimparsons6803 2 роки тому +2

    Interesting. ... going to school in the early 70s, we did all of this by hand... with the use of a slide rule to estimate the answer and then draw a couple of graphs by hand to zero in on the better answer. Them were the days!! Enjoyed the clip.

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

      They still teach that in school, but without the slide rule.

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

      @@MattMacarty we would just use our Ti-84 and a pencil and paper to solve these in my operations management class.

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

    Thanks, really helpful!

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

    Very clear and easily understood.
    Thank you

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

    Thank you - very well explained!

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

    Thank you very much for your UA-cam video. I’ve subscribed to your channel.

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

    Very easy to understand, thank you!

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

    Thank you! This helped a lot

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

    Thank you! Very helpful

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

    Very helpful! Thank you

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

    Excellent Matt

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

    Thank you so much this was super helpful

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

    Wow! well explained. Thanks.

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

    Extremely good video. I was pulling my hair in class because my teacher was confusing everyone. Thank you!

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

    LIFESAVER THANK YOU SO MUCH

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

    thanks Matt, you're awesome

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

    You saved my ass. I have an assignment on this and I had no idea before I watched this video.

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

    You are the man!

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

    so so so helpfull, gonna submit my semester project with t your spreadsheet. thank you so muchh

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

    man you are literally a god thank you so much !!!!!

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

    Thanks Matt - it was help in college

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

    Thank you!

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

    Thank you so much!!!

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

    very helpful, thank you very much for sharing

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

    Thank you so much.

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

    thanks, gonna use this to find probable missing amounts

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

    im student from indonesia, thank youu this video really helpful :)

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

      Glad it was helpful!

    • @surik.5481
      @surik.5481 3 роки тому

      sen türk değil misin şimdi? ali fikri türkçe ad değil mi?

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

    Thank you!!!

  • @TerryBowl
    @TerryBowl 9 місяців тому

    perfect thanks!

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

    Thank you very much. :-)

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

    Thank you so much

  • @zizo8737
    @zizo8737 7 місяців тому

    I don’t understand why professors make so difficult huhhh thanksss a lot man❤

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

    thank you!!!!

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

    My professor literally gave us a link to this video instead of just teaching it himself, I wish I can just take back the money I gave to my professor and give it to you instead. Have my like and sub cuz idk how else to repay u back

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

    Awesome

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

    My Professor shared this Video with in class :)

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

      Thanks, hop it helped.

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

      @@MattMacarty Thankyou too :)

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

    hi- to define if i exceeding daily usage what would be my constraints?

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

      I think you will just have to compare actual usage with "optimal" usage

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

    thanks

  • @mansigupta927
    @mansigupta927 10 місяців тому

    THANKYOUUUUUU

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

    Back in the days, we used simplex method, and I wrote C program to solve the opimization... now there is an excel solver.... People have forgotten the importance of solving problems on their own.

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

      Agreed If I were in a classroom I would have started by solving with Simplex and then moved onto Solver. Most courses still cover with a graphical example so you can see what's going on but as soon as you move past a couple of variables pretty much everyone is using a solver. I was actually considering showing Simplex with a python program but I haven't gotten to it yet.

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

    Thank you so much. Can I share this youtube with my students?

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

      Thanks. Yes please feel free to share.

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

    Better than my professor explanation that took 6 classes and I did not understand a thing

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

    Thank you #Matt Macarty

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

    Thanks. You teach better than my prof. who teach in the most famous university in my country.... #youtuisbetterteacherthanteacherinclass

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

    How do you do a weight using your format? I have a problem that I set up just like you did, but one product cannot account for more than 50% of units produced and another has to account for at least 20%. Thanks for your help!

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

      So you need side constraints. This example has something like what you are talking about: ua-cam.com/video/C_v0rlpTEmc/v-deo.html

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

    Hello Matt, what keys did you press for you to change (B4:C4) to ($B$4:$C$4)??

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

      It's F4 (function4) in Windows, command + T in MAC

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

    Wonderful video... Can we use excel solver to solve goal programming?

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

      Yes, you may also be able to simply use goal seek

  • @LiLi-ul8jy
    @LiLi-ul8jy 5 років тому

    Do you have an example on linear programming to minimize interest payment? Example whether to get bank loan at the beginning of the year or monthly loan or combination of both types of loan. I can’t seem to find any examples online. Hope you can show an example. Thank you.

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

    Hi. I have a question. I created a macro (VBA) that emulates the solver by clicking on a button. The problem is that sometime I have to click 3-4 times before getting the last results. Do you know how to avoid this and getting on solution with one click?

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

      Hi. This is really difficult to diagnose, but one thing to consider is that usually there are many feasible solutions, but only one optimal solution. it sounds like maybe your script is stopping once it finds a feasible solution and then on subsequent runs it gets closer and closer to the optimal. Another common problem is in the modeling step. It's pretty easy to design your model in such a way that it is no longer linear. When this happens you sometimes end up with "local" optima rather than global optima.

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

    Hi! I am a little confused about 5:37 for the total profit function. Can you explain what you did? I tried sum product for the number to make * used numbers and got VALUE!.

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

      This may mean you have selected the wrong range for one of the arguments or ranges of different sizes. You can download my spreadsheet here: alphabench.com/data/linear-programming-optimization.html

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

    Your channel it s very helpful 👏👏
    I just want to ask How we can use linear programming for asset allocation

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

      HI. Take a look at this one: ua-cam.com/video/sI5X2kJA_4k/v-deo.html

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

      @@MattMacarty can we solve it with simpleLP ?

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

      @@houssainchaer8335 Well whatever we do is based on a forecasted return and volatility. There are many ways to formulate the problem, my video describes one of them where we maximize Sharpe ratio.

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

    when i add subj to constraints it says unequal number of cell ref and constraints, however they are equal, how do i fix this? thanks great video btw, just encountered some technical difficulties

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

      Thanks. It's probably telling you that you have selected different dimensions for one of the ranges, so maybe three cells for one and two for the other or something similar. You can download the spreadsheet here:
      alphabench.com/data/linear-programming-optimization.html

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

    can you do it with multiple objective? and can we pick one thing from list with multiple objective problem with excel solver?

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

      You can only have one objective function.

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

    Can you articulate the example in a paragraph or give the link of the example?

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

      Hi. I have posted in the video description: ua-cam.com/video/6xa1x_Iqjzg/v-deo.html

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

    Hi Marty, do you have this as a certificate course on Udemy?

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

    Can you give me the same example (question, issue) Because I want to solve it on my own?

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

      Hi. I am not sure what you mean. If you want to download the spreadsheet I used follow this link: alphabench.com/data/linear-programming-optimization.html

  • @mdaroza
    @mdaroza 6 місяців тому

    I'm wondering if you can help set up the following question in Solver:
    I'm travelling 15000km. Each tire has travel a max distance of 10000km (assume I start with a set of 4 tires).
    What is the min number of tires I need to use to complete the trip?

    • @MattMacarty
      @MattMacarty  6 місяців тому

      I may be missing something, but this sounds like a simple algebra problem

    • @mdaroza
      @mdaroza 6 місяців тому

      @@MattMacarty I'd like to know if Solver is smart enough to calculate that I need 6 tires as opposed to 8.

    • @MattMacarty
      @MattMacarty  6 місяців тому

      It should if you set the objective to minimize instead of maximize.

    • @mdaroza
      @mdaroza 6 місяців тому

      @@MattMacartyI think this is where I’m struggling with, is to set up the constraints.

  • @1rasha
    @1rasha 2 роки тому

    This sensitivity report is not clear. Can you make a detailed video on its analysis please

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

      You mean you can't see the report? You can changethe settings to HD and that should clear it up.

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

    how did you do the absolute referencing

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

      In windows it's F4. Mac is command + T

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

    what course do you learn this in? operations management?

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

      There used to be a course called management science or operations research. Now it may be covered in OM.

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

      @@MattMacarty cool it will help google stuff