To find a solution, the application will perform successive draws until one of the draws is compatible with all the criteria.
Why these criteria?
The "distribute" criterion was designed to prevent members of the same family or the same department from getting together.,
The "Impose" criterion makes it possible to group together players from the same region, or to create group or team leaders..
Forming groups - Multicriteria
RANDOM COMPOSITION OF GROUPS or teams based on different criteria. A complete algorithm for creating groups - multiple options offered! Among which: pots for homogeneous groups, dispersal of members of the same family in different groups, impose certain groups on certain participants!
Control the probabilities
choose the number of teams to compose,
evenly distribute the levels of participants,
separate participants to allow better mixing,
assign participants to specific groups (geography, schedule, team leaders ...),
Random draw, odds-algorithm
form multi-criteria groups