Question : A company wants to form three different teams $A, B, C$ from a pool of 7 employees, which we represent as the set $E=\{1, \ldots, 7\}$. Each employee $i$ has a certain number of years $\alpha_{i}$ of experience at the company, and has $\beta_{i}$ as their current annual salary. Note that $\alpha_{i}, \beta_{i}$ are constants, but you may assume that $0 \leq \alpha_{i} \leq 10$ and $0 \leq \beta_{i} \leq 100000$. We define binary variables $x_{i j}$ for all $i \in E$ and $j \in\{A, B, C\}$ to represent $$ x_{i j}=\left\{\begin{array}{ll} 1 & \text { employee } i \text { is on team } j \\ 0 & \text { otherwise } \end{array}\right. $$ Suppose we are writing an integer program, and we have already defined the constraints which ensure that each $x_{i j}$ is a binary variable.
For each of the following conditions, give constraints that correctly formulate it. You may use additional variables. You need to explain why your constrains work. At least 2 of these 3 conditions hold:
- Team $A$ has at least 5 years of experience.
- Team $B$ has at most 250000 in combined annual salary.
- Teams $B$ and $C$ have the same number of employees.
I am working on this optimization problem and have been stuck trying to define and apply binary variables to this question.
I understand what the question is asking and can formulate each constraint individually but I do not know how to formulate the linear constraints such that "at least 2 of the 3 conditions are fulfilled".
My thought was to introduce 3 binary variables for the 3 conditions, say y1, y2, y3, and have them take on the value 1 if the condition is satisfied and 0 otherwise. I do not know how to proceed from here.