+ Reply to Thread
Results 1 to 11 of 11

Help! Excel Solver problem

  1. #1
    Registered User
    Join Date
    01-26-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    8

    Help! Excel Solver problem

    Hi guys,

    I am a first year Business student, currently taking a Management Science course. Recently, I came across this problem as I was doing my homework, formulated the Linear Programming (we are only allowed to use LP) model and tried solving it using Excel Solver. I came across repeated "Excel could not find a feasible solution" as well as objective and constraint errors as I changed the formulas for the cells. I don't understand why this is so, could I get some help with this?

    Thanks in advance!

    Assignment1_2014.doc
    Assignment1_Template.xls

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help! Excel Solver problem

    As the forum rules states that

    In this forum we cannot allow direct help with homework or assignment questions, if we tell you how to do it you will never learn how to do it! We can answer specific questions and point you in the right direction,
    I'll try to pass on some hints that may be of help. You have set range B6:D6 to be the cells to change. Why this range? Should not this be the result range for how much "Grade I" and "Grade II" you use in the production of each quality?

    You also need to rethink you average grade formula since you get an error by the zero division and solver is not happy with that.

    Alf

  3. #3
    Registered User
    Join Date
    01-26-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Help! Excel Solver problem

    I appreciate the advice, I do want to learn how to create these Excel models so that I might be able to do the same in my tests as well.

    1) The copy that I attached varied B6:D6, but in my attempts I did choose to vary $B$4:$D$5 too.

    2) I honestly have no clue how to generate that average formula which doesn't involve a division by 0; also shouldn't Excel generate values for my variables which would avoid having to divide by 0 in the final solution?

  4. #4
    Registered User
    Join Date
    01-26-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Help! Excel Solver problem

    I guess what I really need help with now is with thinking of a formula that allows me to avoid the div0 error

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help! Excel Solver problem

    Well if the one constraint is that quality of 75% Choc. should be 8 the you could change it to a constraint like this

    Please Login or Register  to view this content.
    where B12=B4*B10+B5*B11 and B13=8*B6 i.e. tons of Grade I * quality Grade I + tons of Grade II * quality of Grade II >= tons produced 75 % Choc. * 8

    Alf

  6. #6
    Registered User
    Join Date
    01-26-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Help! Excel Solver problem

    Thanks Alf for that tip, managed to get answers for a few questions.

    Just need help once more:

    Is there a way to format cells such that the value in one cell is x% of the value in another cell?

    Thanks

  7. #7
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help! Excel Solver problem

    Yes by adding a constraint i.e. cell D4 should be equal to or less than 75% of cell B3 so add a formula F3=B3*.75 and add the constraint

    Please Login or Register  to view this content.
    The more interesting part of this exercise is how to set up solver as the production cost for baking chocolate is $8410 but you can only sell it for $8000 so this is making a loss of $410 for each ton sold of baking chocolate. On the other hand if no baking chocolate is sold this will generate a surplus of cocoa beans and there is a loss of $1850 for each ton of cocoa beans not sold.

    In my opinion solver should be set up so that all 240 ton of cocoa beans are "consumed"

    Alf

    Ps If this fixed you problem could you please mark thread "Solved" as per forum rules.

    To mark your thread solved do the following:

    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

  8. #8
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Help! Excel Solver problem

    i prefere using excel as tool to create my problem and then sending the problem to "GAMS"-software where you can choose the LP-method (and a lot of others).
    Then you can load the solution back to excel for further use.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  9. #9
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help! Excel Solver problem

    Interesting to know but with a price tag of around US$ 3000 for the software I for one will stick to the Excel solver.

    Alf

  10. #10
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Help! Excel Solver problem

    http://www.gams.com/download/
    here you can download a basic version for free.
    It is limited to 300 constraints and variables (50 integer of binary), but that's a lot better than Solver. The speed of solving is incredible (milliseconds).
    The manuals are excellent with good examples.
    It takes a day to learn and work with it in combination with Excel if you have some VBA experience.
    Solver is for beginners, once it's more complicated, then it's GAMS !!!!!

  11. #11
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help! Excel Solver problem

    Thanks for the link! Have dowloaded the basic version and will have a go at it. Sounds interesting!

    Regards

    Alf

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with Excel Solver not able to find a solution while there should be one
    By mauzzzzz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2013, 02:13 PM
  2. Solver problem/help in excel 2007
    By djgianini in forum Excel General
    Replies: 1
    Last Post: 11-13-2013, 07:37 AM
  3. help with excel solver operations management problem
    By cduval04 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2013, 04:58 PM
  4. [SOLVED] Excel Solver Problem - I've never used it
    By mrr2 in forum Excel General
    Replies: 13
    Last Post: 04-08-2013, 03:44 PM
  5. Interesting Solver problem (Solver encounters an error)
    By MrShorty in forum Excel General
    Replies: 3
    Last Post: 12-22-2005, 06:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1