Forum Discussion

Telles65's avatar
Telles65
Copper Contributor
Feb 26, 2020

Optimization Problem with Fixed Discreet Variables

Hello!
My problem is relatively simple, but I can't find a way to make it.
I have 14 parts of type A and 14 parts of type B and their weights. I need to group they in 7 sets containing 2 of each (each part can be used only once).
I want to group the parts so all sets are as close as possible in weight. Would mean targeting the smallest StdDev of the total weight of each set:
 
 
Anyone can help?

5 Replies

    • Telles65's avatar
      Telles65
      Copper Contributor

      JKPieterse 

       

      Thank you for the attempt!

      On the file you've sent the sets have the biggest possible StdDev of the totals. 

      I would like to be able to combine to find the smallest possible StdDev.

      I've also tried to use the Solver, did not work because I need it to iterate using fixed specific values of the table.

      The file is attached this time!

      Regards,

       

       

      • JKPieterse's avatar
        JKPieterse
        Silver Contributor
        Is set A always smaller than set B? If so your second table is likely to be the best solution.

Resources