Excel Solver Problem not an optimal solution

MarkZuckerberg

New Member
Joined
Oct 20, 2020
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
I am using solver GRG nonlinear, to solve this problem.. i have 7 sets of 8 items selected out of 15 total. The solver choosing the changing cells the solver
will try to insert integer values into the cells, and th goal is to have as many combinations that are less similar to each other, by using a countif function to count
which of the 7 sets have values in common with all the others. However the solver gives me a solution that is a higher total than my own manual solution,
any ideas how to get it to solve it the right way?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
If I understand your question ...

There are =combin(15,8) = 6435 ways to choose 8 items from 15.

There are =combin(6435, 7) ~ 9E22 to select 7 of those combinations.

If Solver could evaluate a million arrangements a second, it would take a billion years to evaluate them all.

Solver is great at solving smooth problems, but this isn't one, and it's probably the wrong tool. I think (again, if I understand your question) you need a different approach.
 
Upvote 0
Hey found a solution, i had to take away the unique requirement in solver since this conflicts with the bounds, then i added some countifs to get unique items in sets and this worked with evolutionary solver just fine.
 
Upvote 0

Forum statistics

Threads
1,214,789
Messages
6,121,605
Members
449,038
Latest member
Arbind kumar

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