LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 690
Default precision in solver

Randi wrote:
Hi.. Does anyone know what the precision means when you run the solver? We
have to change the number from 0,000001 to 0,001 before solver could find an
optimal solution but I don't know how this affect the solution.
I hope someone can help us!


Hi. Precision in Solver isn't so much about numerical calculation. It
is more about telling Solver what is "acceptable" in order to Solve
certain problems in a reasonable time, or to solve them at all.
Because of the hundreds of functions a spread sheet can have, it is
impossible to calculate a "derivative" of the target cell that is made
up of many dependent cells. Solver uses "finite differences" to around
10^-8 to determine a derivative for it calculations. When Solver
converges on a solution in certain models, it is often that Constraints
are not met "exactly".
For example, you may have a constraint that xx <= 6.
If Solver ran for a long time, and found that a constraint was xx =
6.0001, what would you do? Do you accept the solution, or do you run it
for a much longer time to try to get it to xx = 6.000000001, or 6 exactly?
You may need it <=6 exactly, but it is often the case that this is not
necessary.
It sounds like your model was caught up in this. It really depends on
the complexity of your model.

If is hard to quantify the precision of Solver's solution also in part
to the options you see in Solver's options. Changing the Solver option
for "Derivatives" and "Search" can also have an impact on the final
solution.

One common situation is using Solver for Financial analysis is having a
constraint like x=0. In these models, using a precision of 0.0001 is
often good enough by allowing x to go as low as -0.0001, This is
usually "good enough" and there really isn't any need for Solver to work
a long long time with a precision of 0.000000001.

If I need buy pipes cut to 50', I would hate to be told I need to spend
$10,000 where the constraints were met at exactly 50', but Solver passed
on a earlier possible solution of $2,000 when the constraint were met at
49.999999. We have to know our model, and know that this is for all
practical purposes good enough to be 50.0. Again, it all depends on
the model. It's more of an art than science when picking an acceptable
precision for your model.

HTH
Dana DeLouis


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number precision Kenneth the polynomial man Excel Discussion (Misc queries) 2 October 4th 06 07:37 AM
Precision in formulas? Chris W Excel Worksheet Functions 4 January 11th 06 03:33 PM
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM
Precision displayed does not match precision in cell James Wilkerson Excel Discussion (Misc queries) 10 June 15th 05 02:40 PM
Precision as displayed Susan Lambert Setting up and Configuration of Excel 1 December 17th 04 07:36 PM


All times are GMT +1. The time now is 01:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"