I am having trouble coming up with a linear programming formulation for the following question:
As head of a sales department, you have to form sales teams to perform site visits to 6 sites: $A, B, C, D, E, F.$ Each site must be visited at least $a_i$ ($a_i$ is a constant, $i=A,B...F$) times by your department, and each sales team can only visit strictly 3 or 4 sites.
Furthermore, due to conflicts of interest, certain pairs of sites cannot be visited by the same sales team: $(C,D), (C,E), (A,B), (B,F), (D,F)$.
Formulate an LP to minimise the number of sales teams you need to form.
I forgot the exact numbers for $a_i$s but you can take them to be 7,8,9,10,11,12 for convenience.
Can this LP be formulated at all? I was thinking of funny stuff like "the set of all teams visiting A", but that seems ridiculous.
Here is another formulation, that will be easier to solve than Math1000's model (as it has only $4$ variables and $6$ constraints). Let $\Omega$ be the set of feasible schedules for a given team. $\Omega$ is thus composed of the following visits:
Define binary variables $y_j$ that equal $1$ if schedule $j\in \Omega$ is used. The following formulation models the problem: $$ \min\quad y_1+y_2+y_3+y_4 $$ subject to \begin{align} y_1+y_2 +y_3 &\ge a_A\\ y_4 &\ge a_B \\ y_1 &\ge a_C \\ y_2+y_4 &\ge a_D \\ y_2+y_3+y_4 &\ge a_E \\ y_1+y_3 &\ge a_F \\ y_j&\in\{0,1\}\quad \forall j\in \Omega \end{align}
Note: it is easy to see that the problem is infeasible if $a_A>3$ or $a_B>1$ or $a_C>1$ or $a_D>2$ or $a_E>3$ or $a_F>2$.