Type: LP (Linear Programming)
This handbook explains the Production Planning sample problem in the LP Black Box platform.
A factory produces three products (P1, P2, P3) with different profits and resource requirements.
| Product | Profit ($) | Labor (hrs) | Materials (units) | Machine (hrs) |
|---|---|---|---|---|
| P1 | 45 | 2 | 3 | 1 |
| P2 | 30 | 1.5 | 2 | 2 |
| P3 | 25 | 1 | 1.5 | 1.5 |
Maximize total profit while respecting resource limits.
Labor: Max 100 hours available
Formula: 2×P1 + 1.5×P2 + 1×P3 ≤ 100
Materials: Max 120 units available
Formula: 3×P1 + 2×P2 + 1.5×P3 ≤ 120
Machine Time: Max 80 hours available
Formula: 1×P1 + 2×P2 + 1.5×P3 ≤ 80
Select Production Planning from the dropdown.
Variables: P1, P2, P3 (Continuous, lower_bound=0)
Objective: Maximize profit (P1=45, P2=30, P3=25)
Constraints: labor ≤ 100, materials ≤ 120, machine ≤ 80
The solver determines how many of each product to produce for maximum profit.
This sample demonstrates multi-product profit maximization with multiple resource constraints.