⚙ Optimization Rules
- FLOW Each unit of flow = 1 shift (5 hours)
- CAP Max shifts/day = max_hours_per_day ÷ 5 · Max shifts/week = that × 3 days
- COST Edge cost = (hourly × 5h × 100) − (skill × 500) − (200 if preferred day)
- PHANTOM Understaffing penalty = 99,999 per slot (last resort)
- PRUNE Edges only created where employee is available AND qualified
📈 Quick Schedule
Run optimization to see schedule
⚙ Problem Size
5
3
Slots = Days × 3 shifts × 2 jobs = 18
👥 Employee Attributes
| Name | Max Hrs/Day | Hourly Cost (£) |
|---|
📅 Availability (tick = available, ★ = preferred)
| Employee |
|---|
🎓 Qualifications (skill level, 0 = not qualified)
| Employee |
|---|