LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Standard solver in a macro

I am currently using a the standard solver add-in in a macro. Although the
procedure does yield results, I think that the optimisation (linear) is not
running correctly. The target cell is maximised by changing x. If I guess
an initial value for x as 10, the "maximum" of the target cell is a negative
number (and x changes to 15). If I stop the macro and manually change x to 5
the target cell is a positive number. The constraints are 0<x<20. I do not
understand that if the intial guess for x is 10 why the optimisation
algorithm will yield a maximised optimum of a negative value at x= 15, rather
than a positive value at x = 5? In the formula for my target cell I use
LOOKUP and IF statements. I read in the user guide for the Premium solver
platform that IF, CHOOSE and LOOKUP functions may cause difficulty for the
standard solver.

Is this the problem that I am experiencing and will installing and using the
Premium solver platform sort this out?

Thank you for your help in advance




 
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
macro to standard module Simon Excel Discussion (Misc queries) 9 May 17th 07 08:25 PM
How do I replicate a macro for each button on standard toolbar? Suzi Excel Discussion (Misc queries) 2 February 16th 07 11:25 PM
How to get standard errors from the Solver results ? Euh Excel Discussion (Misc queries) 1 January 9th 07 03:27 PM
Adding Macro Button on Standard Toolbar sebastienm Excel Programming 3 August 19th 04 03:59 AM
Standard Deviation with a macro tool BrianB Excel Programming 0 January 20th 04 02:05 PM


All times are GMT +1. The time now is 12:17 AM.

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"