Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default Solver not working for me

I remember studying mathematical optimization techniques for computers way
back in engineering school, so I remember some of the concepts. It is clear
to me that you cannot have step functions or other non-continuous functions
in the model, because that causes the search to get lost.

Basically, at each point, the technique is to take a small step in the
direction of each independent variable, then calculate the "slope" (partial
derivative of F with respect to X) of the function. Then the next point is
calculated by moving all independent variables in the appropriate
direction. If you have any functions in your cells that return the same
result (say 0) when this small step is taken, then the slope appears to be
0, so the technique concludes (wrongly) that it is at the "top of the hill"
(maximization problem) and then stops.

You simply have to take all of the non-continuous functions out of your
model (i.e. ROUND, ROUNDDOWN, ROUNDUP, RAND,
IF(var1<0,SomeValue,OtherValue), etc.).

I believe that Solver really is a powerful tool and can be used in a lot of
situations, as long as you understand the setup and usage requirements
first.

I guess the other lesson (or rule) is: Always double-check your
presentation demos before class! (You always get questions that can test
your credibility anyway!)
--
Regards,
Bill Renaud


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default Solver not working for me

I understand what you are saying. I'm just perturbed that EXCEL doesn't
seem to do a better job of telling you what functions you can't use, or must
work around.


"Bill Renaud" wrote in message
. ..
I remember studying mathematical optimization techniques for computers way
back in engineering school, so I remember some of the concepts. It is
clear
to me that you cannot have step functions or other non-continuous
functions
in the model, because that causes the search to get lost.

Basically, at each point, the technique is to take a small step in the
direction of each independent variable, then calculate the "slope"
(partial
derivative of F with respect to X) of the function. Then the next point is
calculated by moving all independent variables in the appropriate
direction. If you have any functions in your cells that return the same
result (say 0) when this small step is taken, then the slope appears to be
0, so the technique concludes (wrongly) that it is at the "top of the
hill"
(maximization problem) and then stops.

You simply have to take all of the non-continuous functions out of your
model (i.e. ROUND, ROUNDDOWN, ROUNDUP, RAND,
IF(var1<0,SomeValue,OtherValue), etc.).

I believe that Solver really is a powerful tool and can be used in a lot
of
situations, as long as you understand the setup and usage requirements
first.

I guess the other lesson (or rule) is: Always double-check your
presentation demos before class! (You always get questions that can test
your credibility anyway!)
--
Regards,
Bill Renaud




Reply
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
Solver not working Kerry[_2_] Charts and Charting in Excel 21 December 9th 09 04:34 AM
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM
Solver Macro quit working oghebrial Excel Programming 1 October 31st 04 04:11 PM
Splash screen stops Solver add-in working keepITcool Excel Programming 2 July 23rd 04 09:50 AM
Solver isn't working... Rob Bovey Excel Programming 0 September 5th 03 09:36 PM


All times are GMT +1. The time now is 08:32 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"