Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro to standard module | Excel Discussion (Misc queries) | |||
How do I replicate a macro for each button on standard toolbar? | Excel Discussion (Misc queries) | |||
How to get standard errors from the Solver results ? | Excel Discussion (Misc queries) | |||
Adding Macro Button on Standard Toolbar | Excel Programming | |||
Standard Deviation with a macro tool | Excel Programming |