Solver not finding solution

millhouse123

Active Member
Joined
Aug 22, 2006
Messages
335
I am newbie to solver and trying to solve what I think would be a very simple problem but solver is cant find a solution and I can't figure out what I am doing wrong. There is clearly a soltiom which I included in the mini sheet.


Here are my solver constraints. I have tried everything I can think of but still get non solveable.

1701966920937.png




Solver Example.xlsx
ABCDEFGHIJKLMN
1Contraints
2B8:D10Integer, value must be between 1 and 3
3Totals for rows and columns need to = 6
4L8:L10 = 3
5Counting occurences of each # by activity, should only be 1 activity per hour and should be different each hour
6
7Activity 1Activity 2Activity 3Activity 1Activity 2Activity 3
8Hour 11.003.002.006.00 = 6.003115=3
9Hour 21.001.001.003.00 = 6.003115=3
10Hour 31.002.003.006.00 = 6.003115=3
113.006.006.00
12 = = =
136.006.006.00
14
15Solution
16123
17231
18312
Sheet1
Cell Formulas
RangeFormula
I8:I10I8=COUNTIF(B$8:B$10,1)
J8:J10J8=COUNTIF(C$8:C$10,2)
K8:K10K8=COUNTIF(D$8:D$10,3)
L8:L10,E8:E10L8=SUM(I8:K8)
B11:D11B11=SUM(B8:B10)
Named Ranges
NameRefers ToCells
solver_adj=Sheet1!$B$8:$D$10B11, I8:I10, E8
solver_lhs2=Sheet1!$B$8:$D$10B11, I8:I10, E8
solver_lhs3=Sheet1!$B$8:$D$10B11, I8:I10, E8
solver_lhs4=Sheet1!$B$8:$D$10B11, I8:I10, E8
solver_lhs7=Sheet1!$B$8:$D$10B11, I8:I10, E8
solver_lhs8=Sheet1!$B$8:$D$10B11, I8:I10, E8
solver_lhs9=Sheet1!$B$8:$D$10B11, I8:I10, E8
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top