+ Reply to Thread
Results 1 to 2 of 2

Solver doesn't find the best solution

  1. #1
    Registered User
    Join Date
    03-20-2009
    Location
    Rome, Italy
    MS-Off Ver
    Excel 2003
    Posts
    1

    Solver doesn't find the best solution

    Guys,

    I have a spreadsheet with many calculations. I need to maximize my equation with some restrictions. As my equation is not linear, I'm using evolutionary option in solver. It finds me a solution, but it's not the best (maximal value). Is there any secret how solver can find the best solution, actually?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,453

    Re: Solver doesn't find the best solution

    I don't think you have provided enough information to provide a solid answer. It will depend on what is happening that is preventing the algorithm from finding the maximum.

    I am not familiar with evolutionary algorithms, so I quickly reviewed Wikipedia's article: https://en.wikipedia.org/wiki/Genetic_algorithm A few ideas from the "limitations" section:

    1) "The "better" solution is only in comparison to other solutions. As a result, the stop criterion is not clear in every problem." -- Perhaps there is something about your objective function that makes it difficult for the algorithm to see the maximum. This is more math than Excel, but you may spend some time with your objective function to see if it can be improved to make the maximum easier to find.

    2) As with a lot of optimization algorithms, "In many problems, GAs may have a tendency to converge towards local optima or even arbitrary points rather than the global optimum of the problem." Basically, the algorithm finds a peak, but it cannot see that there is a peak three ridges over that is higher. You have not given any indication if this is a possibility in this case. If this is the case, many times simply rerunning the algorithm with a better starting value(s) (close to the desired maximum) will allow the algorithm to find the maximum value.

    3) Can we assume here that the algorithm is terminating due to normal convergence critieria and not "max time" or "max iterations"? It might be worth checking to see what is causing the algorithm to terminate. If it is terminating due to anything other than "Solver has converged to the current solution", then examine why it is artificially terminating.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Solver doesn't find maxium revenue
    By Surminderbains in forum Excel General
    Replies: 13
    Last Post: 10-09-2015, 04:53 PM
  2. Use Solver in excel to find a solution to this set of equations.
    By lovejohn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2014, 11:11 AM
  3. 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
  4. Replies: 11
    Last Post: 10-30-2013, 02:11 PM
  5. Solver doesn't find the right answer
    By yangbo07520 in forum Excel General
    Replies: 1
    Last Post: 10-09-2013, 02:24 PM
  6. solver doesn't find all solutions
    By Alexander_Golinsky in forum Excel General
    Replies: 4
    Last Post: 05-26-2012, 06:13 PM
  7. [SOLVED] Solver does not find correct solution???
    By experiment626 in forum Excel General
    Replies: 5
    Last Post: 08-18-2005, 07: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