How to Use the Staffing Optimizer
This tool calculates the fewest employees needed to meet weekly staffing needs using fixed 5-day rotations.
Enter daily staffing requirements, and the optimizer returns the minimum number of workers required.
What You Need to Enter
Input the required number of workers for each day:
Day | Field |
---|---|
Monday | monReq |
Tuesday | tueReq |
Wednesday | wedReq |
Thursday | thuReq |
Friday | friReq |
Saturday | satReq |
Sunday | sunReq |
These values are sent to the API, which returns the optimal staffing plan.
Shift Variables (x1 to x7)
Each variable represents a 5-day shift rotation:
Variable | Shift Days |
---|---|
x1 | Mon-Fri |
x2 | Tue-Sat |
x3 | Wed-Sun |
x4 | Thu-Mon |
x5 | Fri-Tue |
x6 | Sat-Wed |
x7 | Sun-Thu |
The API tells you how many workers to assign to each shift to meet demand with the fewest total employees.
What You'll Get Back
The API response includes:
Field | Description |
---|---|
minStaff | Minimum total workers |
x1-x7 | Workers per shift |
monAva-sunAva | Daily worker availability |
monSlack-sunSlack | Daily excess workers |
totalSlack | Total weekly excess |
If a solution can't meet your input demands, the API returns an error.