+ Reply to Thread
Results 1 to 6 of 6

Solver add in not delivering desired function

  1. #1
    Forum Contributor
    Join Date
    02-03-2007
    Location
    Burleson, TX, USA
    MS-Off Ver
    2010
    Posts
    132

    Solver add in not delivering desired function

    Hello,

    I am using excel 2010 and had a person help me setup this solver function and it is not delivering results that I expect. I am not proficient with solver and need some help. H2 AND J2 are not calculating correctly and I am unsure why. Please see the attached spreadsheet. Let me know if any questions arise.

    Thanks in advance for any help!!!

    Mark
    Attached Files Attached Files

  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: Solver add in not delivering desired function

    I've set up a solver model without all bells and whistles your model had in order to get solver to work.

    One of the problems your model had was that in "Options" -> "All Methods" the box marked "Ignore Integer Constraints" was marked so even if you set a number of cells to "binary" solver happily ignored this. Removing this was not enough to get solver to produce a "sensible" result so I rebuild your model on sheet "Mod_salaries"

    Alf
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-03-2007
    Location
    Burleson, TX, USA
    MS-Off Ver
    2010
    Posts
    132

    Re: Solver add in not delivering desired function

    Alf, that added a nice enhancement to modify the lineup, and fixed my existing problems, but it divulged two new problems.

    1. The goal is to deliver the highest scoring (cell E89) while staying within the max salary cap (Cell F86). When I set cell F86 to a high number, say 100,000, the selections that solver makes are merely the most expensive. Although the most expensive players do have commonly have the highest average points, not always. There are several positions that have performers that score higher, yet cost less. Can the priority be to create the max possible score (cell E89) and stay beneath the salary cap (Cell F86)?

    2. When Cell F86 is set to 65,000 solver makes a selection that is over the budget. The selected group must stay below the salary cap in cell F86.

    Thank you so much for your help!!!!

    Mark

  4. #4
    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: Solver add in not delivering desired function

    Sorry my bad. Change Objective cell from E86 to E89 that will change solver to go for maximum points instead of maximum costs as I had set it.

    Doing so and changing F86 to 65000 made solver find a solution of 164,2 points at a cost of 64200.

    Alf

  5. #5
    Forum Contributor
    Join Date
    02-03-2007
    Location
    Burleson, TX, USA
    MS-Off Ver
    2010
    Posts
    132

    Re: Solver add in not delivering desired function

    Alf, thank you for the wonderful assistance!!! Works like a charm!!!


    Mark

  6. #6
    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: Solver add in not delivering desired function

    Glad to be of help. Thanks for feed back and rep!

    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. Suit function to insert desired value
    By dreammaker in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-15-2013, 09:35 AM
  2. Matching names then delivering value in another cell
    By dans123 in forum Excel General
    Replies: 1
    Last Post: 09-04-2012, 12:40 AM
  3. Row & Columns - Delivering a result in name
    By husfay@1990 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-23-2011, 03:27 AM
  4. Delivering Data Based on a table
    By joekrebs in forum Excel General
    Replies: 10
    Last Post: 12-11-2010, 06:35 PM
  5. delivering excel spreadsheets to mobile devices
    By Scott in forum Excel General
    Replies: 0
    Last Post: 05-01-2006, 02:30 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