Trying to learn about integer programming in quarantine and I've come across a problem that stumped me. I searched the net but couldn't see anything similar and would appreciate another set of eyes on how to approach it.
Turn the given model in to a binary mixed integer linear programing model:
$\operatorname{Max} z=a(x)+2 b(y)$
s.t $\quad x, y \geq 0$
At minimum two thirds of the given constraints apply:
$$2 x+y \leq 16, \quad x+y \leq 9, \quad x+3 y \leq 12$$
$$a(x)=\begin{cases}10+3 x, & \text{if $0 \leq x \leq 4$}, \\ 14+2 x, &\text{if $x \geq 4$},\end{cases} \quad b(y)=\begin{cases}8+y, &\text{if $0 \leq y \leq 3$} \\ 2+3y, &\text{if $y \geq 3$}\end{cases}$$
It hints to consider making use of multiple $x$ and $y$ variables and I know that if I want to try linearizing the problem I should go with $b(y)$ due to $y$ having a coefficient of $3$ in the third function.