Original Post
I'm currently in need of a (preferably simple to implement) algorithm to take a set of items with different probabilities and optimally split them into x groups (where x is something that is dictated to the algorithm), where each group has items of roughly the same probability (optimal meaning the lowest variance in probability of items within each group). Does anybody know of such an algorithm?