Forecast → requirements → optimize → evaluate
Make staffing decisions with evidence, not guesswork.
A chronological ML forecast estimates shift workload. A capacity and safety-margin layer converts demand into staffing quotas. OR-Tools CP-SAT allocates indivisible employees while respecting availability, skills, rest, overtime and fairness.
CP-SAT · MILP-style integer decisions
Historical horizon
730 days2,190 shift observationsWorkforce baseline
3010 skill-qualified employeesShift types
3Morning · Evening · NightPlanning window
14 daysRolling scheduling cycle1 · Forecast workload
Compare seasonal-naive, moving-average, linear regression, random forest and gradient boosting on a chronological hold-out.
2 · Optimize shift allocation
CP-SAT assigns binary employee–day–shift variables. Hard constraints protect availability, one shift/day, rest transitions, weekly limits and consecutive-day limits.
- Regular shift cost + overtime premium
- Shortage and skill shortage penalties
- Workload imbalance and night preference penalty
- Solver status and optimality gap
Ready to run. Choose the safety margin, workforce size and test window, then click Run optimization. The first run generates the reproducible synthetic data and fits the forecasting models.
AI-Based Workforce Shift Scheduling & Staff Allocation · Academic research prototype · Synthetic data only