NIgel M. answered 13h
Variables:
- x₁ = number of PS4s
- x₂ = number of XboxOnes
- x₃ = number of Nintendo Switches
Objective function (maximize revenue): Z = 300x₁ + 400x₂ + 600x₃
Constraints:
- Games constraint: 6x₁ + 5x₂ + 10x₃ ≤ 2100
- Console stock constraint: x₁ + x₂ + x₃ ≤ 300
- Non-negativity: x₁ ≥ 0, x₂ ≥ 0, x₃ ≥ 0
Introducing slack variables s₁ and s₂ to convert inequalities to equalities:
- 6x₁ + 5x₂ + 10x₃ + s₁ = 2100
- x₁ + x₂ + x₃ + s₂ = 300
- Z − 300x₁ − 400x₂ − 600x₃ = 0
The initial simplex tableau and optimal solution are shown below:
V
visualize
V
visualize show_widget
Summary of the solution:
To maximize revenue, the store should stock 0 PS4s, 180 XboxOnes, and 120 Nintendo Switches, yielding a maximum revenue of $144,000.
The simplex method reached the optimum in just 2 iterations. The key insight is that the Switch generates the most revenue per unit ($600) but is also the most game-intensive (10 games each), so the optimal mix balances the game constraint against the console limit — settling on more XboxOnes (which are cheaper in game slots at 5 each) alongside as many Switches as the games constraint allows