For example I have eight kids,
A,B,C,D,E,F,G,H
If I ask them to go into groups of two, their choices are
A->B
B->C
C->B
D->B
E->A
F->A
G->H
H->C
How to make sure they get their choices as much as possible?
Or similarly, to get into groups of four:
A->B,C,D
B->A,C,G
C->E,A,D
D->B,E,G
E->F,G,H
F->A,B,C
G->E,F,B
H->F,E,C
I am sure there are many ways to do this. But I just don't know where to start looking for algorithms. What is the mathematical term for such problems?