View Single Post
  #19   Report Post  
Posted to microsoft.public.excel.charting
Kerry[_2_] Kerry[_2_] is offline
external usenet poster
 
Posts: 26
Default Solver not working

On Dec 8, 12:36*am, Kerry wrote:
On Dec 7, 5:33*pm, "Mike Middleton"
wrote:



Kerry *-


Are there other Solver limitations I need to know about that could be
causing the issue? <


Bernard Liengme suggested *checkingwww.solver.com, where you will see that
Premium Solver can automatically transform nonsmooth functions like IF, MIN,
MAX, ABS, AND, OR, and NOT. As you have found, standard Solver generally
cannot.


For the standard Solver add-in shipped with pre-2010 Excel, Tushar Mehta
suggested a workaround for dealing with the nonsmooth IF function using a
binary variable.


For a brief description of these issues, seehttp://www.solver.com/xlsplatformb.htm


What is a binary variable in excel, how do I incorporate it and wouldn't
it also cause the function gaps or sudden jumps that Solver has issues
with? <


A binary variable is restricted to the values zero or one. On the Solver
Parameters dialog box, you click the Add button (for the Constraints),
specify the cell reference where your model's binary variable is located,
and use the unlabeled "relationship" drop-down list to select "bin," which
automatically enters "binary" in the Constraint edit box.


Using a binary variable does not have the same issues as a nonsmooth
function, because Solver uses a different algorithm for model formulations
that contain a binary or integer variable.


- *Mikehttp://www.MikeMiddleton.com


Trying Solver.com program now w/ free trial. First run was way off. I
actually think I have the optimal solution visually so I have a good
min value I know exists. I'm using the evolutionary algorithm as
suggested in the help file for non-smooth functions. I also have
placed bounds on all the variables. I think I will narrow the bounds
next time and let it run all night if possible), that is, if I can
ever get the first run to stop! I told it stop when it reached the
time limit and also pressed pause. Now it just says it's "pausing..."
and keeps going.


Solver.com's program doesn't help.. I tried auto-detecting the best
settings and putting them in manually using suggested parameters from
the help file (e.g. evolutionary algorithm). A couple times it said it
got an answer but the answer I already wasn't best. So no help there.

Still holding out hope that someone will explain Tushar Mehta
solution!!!

Thanks,
K