Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Using the solver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Siberian - 12 Jan 2006 04:13 GMT
I've just learned how to use the solver add-in to solve sets of
equations. The problem is that this particular set (let's call the
unknowns x and y) has an infinite amount of solutions as long as x is 5
time bigger than y. This means that 5 and 1 is equal to 5000 and 1000.
My solver for some reason doesn't find the lowest usable values (it
probably doesn't care either), but it would be nice to have it return
more "pleasant" values like 5 and 1 instead of 5000 and 1000. Can it be
"told" to do so, or can I make it happen in some other way?

Signature

Siberian

ScottO - 12 Jan 2006 04:50 GMT
Can you scale it down with a constraint like X-Y<50 (or 100), or
something like that?
ScottO

| I've just learned how to use the solver add-in to solve sets of
| equations. The problem is that this particular set (let's call the
[quoted text clipped - 10 lines]
| Siberian's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=25361
| View this thread: http://www.excelforum.com/showthread.php?threadid=500498
Bernard Liengme - 12 Jan 2006 13:31 GMT
What do use for starting values?
Solver generally finds the solution closest to the initial values of the
variables
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

> I've just learned how to use the solver add-in to solve sets of
> equations. The problem is that this particular set (let's call the
[quoted text clipped - 4 lines]
> more "pleasant" values like 5 and 1 instead of 5000 and 1000. Can it be
> "told" to do so, or can I make it happen in some other way?
kcc - 13 Jan 2006 03:15 GMT
You can usually restructure a problem into one that works.
Depending on exactly what you are trying, this may work.

Lets say z is a cell you want to equal to 0 by changing
x and y.  Add a cell that is x+y and solve to minimize
that cell subject to the constraints that:
z is >= -.00000001 and
z is <= .00000001
You could try to constrain z to 0, but because of
binary rounding, you usually get a solution that is
very small rather than 0.

Benard's comment on starting values is always important
regardless of how the problem is structured.

kcc

> I've just learned how to use the solver add-in to solve sets of
> equations. The problem is that this particular set (let's call the
[quoted text clipped - 4 lines]
> more "pleasant" values like 5 and 1 instead of 5000 and 1000. Can it be
> "told" to do so, or can I make it happen in some other way?
Dana DeLouis - 13 Jan 2006 03:33 GMT
> ...has an infinite amount of solutions as long as x is 5
> time bigger than y. This means that 5 and 1 is equal to 5000 and 1000.

I would just add that since you know the relationship between x & y, I would
have Solver only adjust 1 value.
Say only 'x'.  The value for 'y' would then by =x/5.
Then add a constraint that  x <= 5, or something similar.
Signature

Dana DeLouis
Win XP & Office 2003

> I've just learned how to use the solver add-in to solve sets of
> equations. The problem is that this particular set (let's call the
[quoted text clipped - 4 lines]
> more "pleasant" values like 5 and 1 instead of 5000 and 1000. Can it be
> "told" to do so, or can I make it happen in some other way?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.