Constrained addative list construction. RRS feed

  • Question

  • I have a list of 196 servers. Each server has a second value associated with its respective server. I can get total seconds by summing all the second values in the list.. This list needs to be split into four lists containing 49 servers. Each list needs to have a close as possible TIME total.. (Total time / 4 needs to be ==) there can’t be any duplicates. Can anyone suggest an algorithm which will select from the original list, based on seconds and achieve the outcome respecting the constraints.
    • Moved by Bill_Stewart Thursday, December 20, 2018 8:35 PM This is not "scripts on demand"
    Sunday, October 14, 2018 5:42 PM

All replies