I have the following problem which i'd like to solve with the excel solver or any other tool (any suggestion is welcome) but I would like not to write code.
I have several items (around 40) to put in several backpack (around 5). Every item has a different weight but every backpack has the same space.
The sum of the items' weight is much less then the capacity of the backpacks.
What i need to do is to allocate the items in the backpack filling all of them with more or less the same weight. In other words reducing the variance.
There is a constraint: some items cannot go together. I have a list (or adjacency matrix) of the items that can or can't go together.
Of course once one item is in a backpack cannot go in a second one (there is only one item for each king of items).
I'm trying to solve this with the excel solver but all 3 of the algorithms say they cannot find solutions, but manually i can find them so I think I'm not configurating properly.
Anyway I could configurate in excel only the part of the problem concerning weights but i cannot set up the part of the problem concerning the incompatibility between items.
Thank you for your help