Results 1 to 5 of 5

Solver doesn't find global Max

Threaded View

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    77

    Solver doesn't find global Max

    I am trying to find the maximum value in a cell using Excel Solver by adjusting the values in two other cells. However, the Solver finds, what I assume are local maxima, and not the global maximum value. The found max value depends on the starting values of the variables.

    I have attached a simple example showing the issue.

    Use Solver to Maximize cell P8 (Orange highlight) by changing variable cells C2 & B3 (Yellow highlights)
    NOTE: I really wanted to change cell B2 instead of C2, but the integer constraint didn't work for Cell B2 so I instead change C2 while setting B2=int(C2)

    Optimal values are C3=7 (or any value 7-7.99999), B2=7 and B3=91.65% which results in P8=18.34%
    However, the solver does not find the optimal values. For example, if I start with C2=10 and B3=100%; I get C2=41.95 and B2=41, B3=86.95% and P8=8.50%


    The attached file only has two rows. The real files have several hundred rows (but still only one cell to maximize).



    p.s. If it is not possible to use the Solver, in my case, is it possible to use a VB script to test all combinations?
    For example:
    B2 = 2-100 step 1
    B3= 10%-120% step 2
    and then put the output into a new spreadsheet showing
    B2 B3 P8
    2 10% 22%
    ..
    100 120% 15%

    I could then sort the output to find the max value for P8.......
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 12-31-2016, 12:29 PM
  2. Solver doesn't find the best solution
    By waldymar in forum Excel General
    Replies: 1
    Last Post: 02-10-2016, 11:46 AM
  3. Solver doesn't find maxium revenue
    By Surminderbains in forum Excel General
    Replies: 13
    Last Post: 10-09-2015, 04:53 PM
  4. Solver doesn't find the right answer
    By yangbo07520 in forum Excel General
    Replies: 1
    Last Post: 10-09-2013, 02:24 PM
  5. solver doesn't find all solutions
    By Alexander_Golinsky in forum Excel General
    Replies: 4
    Last Post: 05-26-2012, 06:13 PM
  6. Solver: global or local max?
    By Ipinho100 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-30-2011, 08:11 AM
  7. Solver checked but doesn't appear
    By charles_weaver@post.harvard.edu in forum Excel General
    Replies: 1
    Last Post: 02-06-2005, 05:05 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