Mulled wine stand
Your lemonade stand works well during the summer months, but as winter approaches, you sense the need to switch your business model.
Thankfully, your inheritance of ingredients can be adapted from lemons to wine and spices, and you decide to open a mulled wine and hot tea stand.
As before, your goal is to maximize your daily profit by deciding how many cups of mulled wine and hot tea to sell, subject to the constraint that you have a limited amount of wine, spices, sugar, and tea bags available to you each day.
In this example you will offer two drinks: mulled wine $(x_{\textrm{mulled_wine}})$, which requires two cups of wine, two tablespoons of spice and four tablespoons of sugar per glass, and hot tea $(x_{\textrm{hot_tea}})$, which requires one tea bag, two tablespoons of sugar, and two cups of water per glass.
Thankfully, you still have access to unlimited water, however your daily inheritance of ingredients has changed to: 12 tablespoons of spices, 8 cups of tea, 30 tablespoons of sugar, and 15 cups of wine.
Your goal will again be to maximize profit by determining how many glasses of each drink to make given your limited daily ingredients. You can sell each glass of wine for $2.00 and each glass of tea for $1.50. Since you have cornered the market on drink stands in town, you can expect to sell all the drinks that you make and remember that your ingredient list is limited but costs nothing.
To formulate this as an integer programming problem, we can use the following model:
$$
\begin{equation}
\begin{array}{lcrcrl}
&\textrm{Objective:} & \max & 2x_{\textrm{mulled_wine}} & + & 1.5x_{\textrm{hot_tea}} & - & 2 \
&\textrm{Subject to:} & & & & & & \
& & & 2x_{\textrm{mulled_wine}} & & & \leq & 12 \
& & & & & x_{\textrm{hot_tea}} & \leq & 8 \
& & & 4x_{\textrm{mulled_wine}} & + & 2x_{\textrm{hot_tea}} & \leq & 30 \
& & & 2x_{\textrm{mulled_wine}} & & & \leq & 15 \
& & & & & & & \
& & & x_{\textrm{mulled_wine}} & & & \geq & 0 \
& & & & & x_{\textrm{hot_tea}} & \geq & 0 \
& & & x_{\textrm{mulled_wine}} & , & x_{\textrm{hot_tea}} & \in & \mathbb{Z}
\end{array}
\end{equation} \tag{4}
$$