I am trying to solve a problem that was asked by a friend of mine who is attending high school. As it has something to do with linear optimization, I think I should be more than capable of solving the problem as I got really good results from my recent course in linear optimization. However, I am struggling to solve the problem. The problem is as follows:
Suppose you are competing with another class at school about getting the highest amount of points by either rowing or planking.
The rules are:
- Four people have to row at once and four people have to do the plank at once.
- You have to row for six minutes and do the plank for three minutes.
- The class may only use 30 minutes total or less
- The class may have 28 pupils and may only do one activity at once
- The class gets 5 points for rowing once and 3 points for planking once.
So basically we must have a maximization problem
$$\max_{x,y} 5x + 3y$$
with the following constraints
\begin{align} 6x + 3y & \leq 30 \\ x & \leq 8 \\ y & \leq 4 \\ x, y & \geq 1 \end{align}
but what about the first rule. How would one incorporate such a thing? And does it even matter if they at $28$ pupils? Wouldn't just $4$ be enough?