So I'm working on a problem which involves 9 agents which will be separated as follows. Each round, one of the agents will be put into a group on their own, ie. they will "sit out", whilst the other 8 agents will be divided into 2 groups of 4. There will be 9 rounds in total so that each agent will sit out one time. My questions are as follows:
- Is it possible that each agent could be grouped with every other agent the exact same number of times?
- If not, what is the smallest range of the number of times each agent will be grouped with another?
- Can you design a schema to arrange $a_1, \cdots, a_9$ into such groups?
My initial thoughts are that 1 is not possible, 2 is likely going to be only a range of 1 (each agent grouped with some agents 4 times, some 3 times), and I have no idea how to mathematically formulate this so couldn't devise any sort of permutation schema to ensure this setup. I've looked at similar questions and answers on here which, while interesting and insightful to this problem, do not as far as I can tell contain the complete information to solve it.
Thanks for your help.
It is possible to find a solution where each agent is assigned to each other agent in the same group in three of the nine rounds.
I tackled this problem using the MiniZinc constraint solver:
Solution (edited):
For $3$ agents/rounds, the number of matching group assignments is $0$. This cannot be found by my model, as it restricts/assumes the counts to values greater than $0$.
Assuming that the two groups have the same size, the total number of agents must be odd. It appears that the number of matching group assignments for $2k+1$ agents is $k-1$. The model can show this for $5, 7, 9$ agents. For $11$ agents, the solver narrowed down the interval to $3..5$ but has been unable to arrive at the expected value $4$.
For $2k+1$ agents/rounds, each of the agents takes part in $2k$ rounds. Per round, he is assigned to the same group as $k-1$ other agents. Therefore, the total number of assignments to other agents is $2k(k-1)$. On average, this is $k-1$ for each of the other $2k$ agents.
Update:
A simplified MiniZinc model capable to solve the problem for larger teams:
The difference compared to the first model is that there are fewer decision variables with smaller value domains. Rather than narrowing down the interval of matching assignments, the number of assignments is enforced as constraint. This leads to faster solution times.