Distribute values into n groups such a way that mean remains same for each group

后端 未结 0 1420
情深已故
情深已故 2020-12-17 18:28

I have a set of values that I need to distribute into n-groups of max size z in such a way that the mean is approximately the same.

Example:

   weights         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题