#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 690
Default Solver

Hi. For this small problem, note that you do not have any constraints.
Therefore, there are an infinite number of solutions.

One quick solution with 3 equal values (100 gpm) is to assign a penalty
weight for each station. For example, assign a penalty of 1 to #1, 2 to
#2, ..etc

Change the logic to "Minimize the penalty" with the constraint that
Sumproduct(GPM, Percentage) = 175.

Now, you will fill station 1 first, then start using station 2, etc.

Make sure the option for "assume non-negative" is selected. )

The "General" technique for selecting "2 out of 3" (or whatever) is to
assign 3 cells to hold "Binary" cells (0 or 1 in Solver)

Target:
Sumproduct(GPM, Percentage, Binary) = 175
Subject to:
Binary cells = Bin (Binary)
Sum(Binary) = 2

(I like to use <= 2.1 to account for any rounding issues)

For each, one needs to add the constraint that Percentages <= 1

Good luck.
= = =
HTH
Dana DeLouis



Soccer boy wrote:
I am currently trying to use Solver to help optimize some water pump usage.
I have three locations where these pumps are located. If the water demand
can be met by two sites alone i would prefer to only use those two sites not
the three.
For instance
Site A - 100gpm
Site B - 100 gpm
Site C - 100gpm
I need 175 gpm so solver would tell me 100% use on Site A, 75% use on Site B
and 0% on site C.
Currently Solver is giving me Site A =58.33%, B=58.33%, and C=58.33%
So is there i way i can do this?

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 Richard4926 Excel Discussion (Misc queries) 4 December 17th 07 08:28 PM
how to add-in solver without cd sspeak Excel Discussion (Misc queries) 1 March 3rd 07 01:22 AM
Solver Randy Excel Discussion (Misc queries) 1 January 21st 07 04:36 PM
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM
Solver help laskuh Excel Worksheet Functions 1 April 29th 05 02:00 AM


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