Open wmodes opened 5 years ago
Checking in. I see the issue is assigned, but not responded.
Alternately, dummy group can be created that balance out Kernighan-Lin's partitioning method and then discarded when output is created. That is, if you have 50 members, and want groups of about 4, 4 dummy groups can be created to make 16 groups and the 4 dummy groups with no members can be discarded.
Unfortunately, this repository does not have a current maintainer -- I think the parties involved (@gkapfham, @huangs1, @barrezuetai, and others) would be willing to answer questions about implementations, but probably don't have the bandwidth to make any changes at this time.
Currently using the Kernighan-Lin Grouping Method, only power of 2 group splits are supported. This is impractical for some course sizes if the goal is to create groups of a certain size. For instance, in a course size of 50, 8 groups results in very large groups of 6 members, but 16 groups results in small groups of 3.
I don't know the algorithm very well, but some hasty research revealed similar algorithms that can do unbalanced partitioning, such as shemetis (from this article)