Solve Linear Program problem in Excel (Solver)

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • This video shows how to solve a linear programming problem using Excel’s Solver add-in.
    00:00 Installing Solver
    00:41 Setting up the layout
    03:16 Using Solver
    04:28 Solver Results

Komentáře • 72

  • @agarwalarti
    @agarwalarti Před rokem +8

    So brief and to the point and clear. You were SO helpful. Thank you.

  • @HieuNguyen-mz7oy
    @HieuNguyen-mz7oy Před rokem

    Joshua, you are a life-saver. I appreciate all the content that you've uploaded. Thank you!

  • @felixokwaraoha2893
    @felixokwaraoha2893 Před 6 měsíci +7

    hey... you made someone happy tonight.

  • @hannahbice9076
    @hannahbice9076 Před rokem +5

    WOW!!!! This helped me so so much you really will be the reason I pass this class! I felt at a loss with my current professor, but when you explained it - IT CLICKED! Great video, I'm sure it'll continue to help people through the years.

  • @kurtisternet2676
    @kurtisternet2676 Před 2 lety +6

    Joshua, you just saved my ass on my analytics test. Thank you sir! Keep up the great work!

  • @Umjion
    @Umjion Před rokem +2

    Thank you SO MUCH, sir, it helped A LOT!!!🙏

  • @ontherangegal4296
    @ontherangegal4296 Před 2 lety +2

    Thank you, Joshua! I had to watch your video for this, as my professor did not explain this well at all. I am new to using Excel for my class. I am watching all of your videos, and referring to my colleagues. You're a proficient professor. Also, for anchoring the variables, it's function + F4 on the newer PC's. Thank you, again !!!

    • @joshemman
      @joshemman  Před 2 lety +1

      Glad to hear and thanks for sharing the goodness.

  • @VARSYUS
    @VARSYUS Před 2 lety +2

    Thanks a lot, it was very clear and helpful illustration

  • @jbbin6718
    @jbbin6718 Před rokem +1

    Thank you, it helped out a lot!

  • @vanusadepaula7328
    @vanusadepaula7328 Před 3 měsíci

    Thank you so much!!! You made my day! I was able to do my school assignment thanks to this video. Many thanks!!!!

  • @chadrwilson1231
    @chadrwilson1231 Před 2 lety +1

    Superb video! Thank you!

  • @tewzoful
    @tewzoful Před 2 lety +1

    Great video!

  • @hsd287
    @hsd287 Před rokem +3

    Tx man great work ❤👍🏻

  • @guilhermegonzalez5501
    @guilhermegonzalez5501 Před 2 lety +2

    Thank you bro, I love you

  • @socketyellow3
    @socketyellow3 Před 5 měsíci

    My online teacher’s video and audio quality is so back in having to look for these. Now I know what the heck he meant well partly

  • @andrewzhauoo4664
    @andrewzhauoo4664 Před rokem +1

    Great boss. continue

  • @amandakaren6379
    @amandakaren6379 Před 8 měsíci +2

    omg. thank you so much

  • @reynoldhutagalung2647
    @reynoldhutagalung2647 Před rokem +2

    YOU ARE PERFECT

  • @forkanfahimfhf6563
    @forkanfahimfhf6563 Před 3 měsíci +1

    Thank you sooo much sir.

  • @superflash7398
    @superflash7398 Před rokem

    VERY HELPFULL

  • @aditi5112
    @aditi5112 Před 7 měsíci +1

    Thnku so much...this video is really very helpful... I have solved questions after watching this video very easily 😊 support and love from India

  • @artanzulali9489
    @artanzulali9489 Před 10 měsíci

    absolute goat

  • @ALPHAK249
    @ALPHAK249 Před 7 měsíci

    It really helped

  • @vicentediaz8106
    @vicentediaz8106 Před rokem +2

    Life-saver

  • @ishadyaabesinghe1216
    @ishadyaabesinghe1216 Před rokem +1

    Thanks💜

  • @user-jq1oj3cr9u
    @user-jq1oj3cr9u Před 5 měsíci +1

    Thanku soo much 😊

  • @habeebomotunde3487
    @habeebomotunde3487 Před 2 měsíci

    Awesome

  • @ziruiwang7293
    @ziruiwang7293 Před 3 měsíci

    Bro you literally saved my ass, thank you!

  • @shifamansuri3190
    @shifamansuri3190 Před 2 měsíci

    Can you make it for RSA, your explanation is very nice!!

  • @fatimamanzumaabdurahman3400
    @fatimamanzumaabdurahman3400 Před 4 měsíci +1

    Thankyou very much for this, it made it so much clearer. Please do you have a video for linking and binary constraints?

  • @lesliemenjivar
    @lesliemenjivar Před 9 měsíci +1

    you're awesome

  • @advaitmandlik3901
    @advaitmandlik3901 Před rokem

    Really amazing explanation! Thank you! I have one question which is, do we have to add another constraint specifying x1, x2, x3 >= 0. I did not see that in the constraints box. Or it is covered when we ticked the below box for non-negativity? Thanks in advance

    • @joshemman
      @joshemman  Před rokem +1

      Yes, nonnegativity is applied when you check the non-negativity box.

    • @advaitmandlik3901
      @advaitmandlik3901 Před rokem +1

      @@joshemman Got it. Thanks for the video and the quick reply . Keep going prof!!

  • @Wa1rrior
    @Wa1rrior Před rokem +1

    Legend

  • @sanjaykonapur463
    @sanjaykonapur463 Před rokem

    can I get the question for this solution, as in statement of the problem

  • @whyjamesisacommonname
    @whyjamesisacommonname Před 3 měsíci +1

    THANKS YOU ! EZ PZ !

  • @runatayjohnerrola.2127

    Do you have a video of how to make a graph about this? Thank you so much.

    • @joshemman
      @joshemman  Před rokem

      Search for Joshua LP Graph. Note that Graphical solutions are limited to 2 decision variables.

  • @rhe7187
    @rhe7187 Před rokem +1

    Thanks much

  • @Chippin-luv
    @Chippin-luv Před 4 měsíci

    thank you, you save me from uni

  • @peterzhao3684
    @peterzhao3684 Před 11 měsíci

    Hello, Joshua Im just wondering how you would adjust this process if there was an requirement for X3 = 0?

    • @joshemman
      @joshemman  Před 11 měsíci +1

      For X3 = 0, input "1" under the X3 variable, and "0" on the right side. Otherwise, you can omit X3 altogether. from the model.

  • @elladominiquetrece8865

    hello! how do you add the X subscript 1?

    • @joshemman
      @joshemman  Před rokem

      Here you go: czcams.com/video/IDkAv4IWHho/video.html

  • @vasanthashettyilanthila9955

    I have -1000 in my objective function formula what to do?

  • @ravenhawk6327
    @ravenhawk6327 Před rokem

    Can you help me with these.I am confused with the last 3x1 >= 50,x2 >= 30, x3

    • @joshemman
      @joshemman  Před rokem +1

      For 3x1 >= 50, enter 3 under x1 and 50 on RHS.
      For x2 >= 30, enter 1 under x2 and 30 on RHS.
      For x3

  • @nandinigupta1251
    @nandinigupta1251 Před 7 měsíci

    Hi! I followed the exact same process but i dont know why all my values are coming out to be zero...if you know can you help why?

    • @joshemman
      @joshemman  Před 7 měsíci +1

      One issue might be with selecting the Min radio button in Solver instead of Max. You should also check that your formulas are correct.

  • @adeobaadeteniola9232
    @adeobaadeteniola9232 Před 5 měsíci

    I can’t access the “About” function for your email. Kindly reach out pls

    • @joshemman
      @joshemman  Před 5 měsíci

      I can't post it here for obvious reasons but you can find it through a quick Google search.

  • @EmEpsilon
    @EmEpsilon Před měsícem

    the formula in cell e2 gives error message on my excel. There is no mistake in what we do but it just does not work

    • @joshemman
      @joshemman  Před měsícem

      Make the cells are either empty or contain only numbers, then try this pasting this:
      =SUMPRODUCT(B3:D3,B2:D2)

  • @nuttapronp3185
    @nuttapronp3185 Před rokem

    Why my LHS doesn’t equal RHS after solver.

    • @joshemman
      @joshemman  Před rokem +1

      When LHS does not equal RHS, there is a slack or surplus.

    • @nuttapronp3185
      @nuttapronp3185 Před rokem

      @@joshemman okkkk. Thank u so muchhh

  • @princeemma-ejikeme2622

    my sumproduct is bringing up an error

    • @joshemman
      @joshemman  Před rokem

      What exactly did you type and what error are you getting?

  • @brianng3989
    @brianng3989 Před 6 měsíci

    i am some questions,
    Max: 500X1+3.75X2+70Y1+60Y2+40Y3−750
    i am not sure where i should put the 750 as it is not a variable
    can you please explain, thank you

    • @joshemman
      @joshemman  Před 6 měsíci

      What does the 750 represent?

    • @brianng3989
      @brianng3989 Před 6 měsíci

      @@joshemman just a constant

    • @joshemman
      @joshemman  Před 6 měsíci

      @@brianng3989 If it is just a constant, then it is fine as you wrote it.

  • @manishanembang9396
    @manishanembang9396 Před rokem

    can anyone help me solve below question?
    flour A contains 20% fiber, 15% protein and 1.09% Acid
    insoluble ash : cost Rs 6/kg
    flour B contains 0.5% fiber, 10% protein and 0.06% acid insoluble ash ; cost Rs 90/kg
    constraints; fiber greater than equals to 10%, protein greater than equals to 13%, acid insoluble ash less than equals to 0.15
    total flour to be made is 1 kg with minimum cost.

    • @joshemman
      @joshemman  Před rokem +1

      There is no feasible solution to this problem. Some values are probably incorrect.

  • @Firstorder66
    @Firstorder66 Před 4 měsíci

    Why is excel even considered for linear programming? its so obsolete and garbage, you can solve the same problem in matlab with less effort. Excel is so dogshit and outdated

    • @joshemman
      @joshemman  Před 4 měsíci +1

      Most people don't have access to matlab but they have Excel. Besides, many will not be solving LPs in their professions but they might be using Excel.

    • @Firstorder66
      @Firstorder66 Před 3 měsíci +1

      @@joshemman Youre make a good point. However, I am interested in this field and not using newer, industry used programs puts me at a disadvantage. Anyways thanks for the videos, you are really good at excel and made it easy to learn.