Type: LP (Linear Programming)
This handbook explains the Machine Scheduling sample problem in the LP Black Box platform.
A factory has 2 machines (M1, M2) that can produce two products (A, B). Each machine-product combination has different efficiency.
| Machine-Product | Profit per Unit ($) | Time per Unit (hrs) |
|---|---|---|
| Machine 1 → A | 10 | 2 |
| Machine 1 → B | 8 | 1 |
| Machine 2 → A | 12 | 1 |
| Machine 2 → B | 6 | 2 |
Each machine has 40 hours available.
Maximize total profit by deciding how much of each product to produce on each machine.
| Variable | Meaning |
|---|---|
| M1_A | Units of A produced on Machine 1 |
| M1_B | Units of B produced on Machine 1 |
| M2_A | Units of A produced on Machine 2 |
| M2_B | Units of B produced on Machine 2 |
Machine 1 Time: Cannot exceed 40 hours
Formula: 2×M1_A + 1×M1_B ≤ 40
Machine 2 Time: Cannot exceed 40 hours
Formula: 1×M2_A + 2×M2_B ≤ 40
Product A Demand: Must produce at least 20 units total
Formula: M1_A + M2_A ≥ 20
Product B Demand: Must produce at least 15 units total
Formula: M1_B + M2_B ≥ 15
Select Machine Scheduling from the dropdown.
The solver determines how to allocate production across machines to maximize profit while meeting demand.
This demonstrates multi-machine production scheduling with constraints.