Projects / How many workers to hire and when, for a factory with seasonal demand
How many workers to hire and when, for a factory with seasonal demand
Course project, Michigan Ross MBA. Integer program for a 12-month production plan, in Excel Solver and Python. Not client or employer work.
| Situation | A factory has 160 workers and makes one product. The demand forecast for the next 12 months is known. |
|---|---|
| Complication | Demand in the peak month is three times the demand in the low months. The factory can hire, lay off, use overtime or build inventory, and each of the four has a cost. |
| Question | Which mix of the four gives the lowest cost for the year? |
| Answer | A mixed plan of hires, overtime and inventory costs $6.22M for the year, 8% less than a level workforce. |
Four costs make the total; the plan trades inventory and overtime against changes in the workforce
- Cost for the year$6.22M in the answer
- Regular labor
- Workers each monthThe lever: 160 at the start, 237 at the peak
- SalaryFixed: $2,400 a month
- Changes in the workforce
- Hires and layoffsThe lever. $1,800 for a hire, $1,200 for a layoff
Is one workforce size all year cheaper?
No. A level workforce costs 8% more.
- Overtime
- Workers on overtimeThe lever. $3,300 for a worker-month
When does overtime pay?
At the peak only. Two months of the year.
- CapacityThe limit: one overtime shift for each worker; 13,000 units a month
- Inventory
- Units held at month endThe lever. $8 for a unit-month
Is a plan with no inventory cheaper?
No. Production that follows demand costs 2% more.
Lever what the decision changes Limit what the answer must respect Fixed outside the decision
Lowest cost for the year
$6.22M
8% below a level workforce, 2% below production that follows demand
Workforce
160 to 237
hire before the peak, then reduce in steps to 140
Overtime
2 months
Aug and Sep only; inventory takes the rest of the peak
The mixed plan costs 8% less than a level workforce and 2% less than production that follows demand
Build inventory before the summer, then use overtime for the last part of the peak
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Demand | 4,400 | 4,400 | 6,000 | 8,000 | 6,600 | 11,800 | 13,000 | 11,200 | 10,800 | 7,600 | 6,000 | 5,600 |
| Production | 6,400 | 6,400 | 6,400 | 6,400 | 9,400 | 9,480 | 9,480 | 11,200 | 10,800 | 7,600 | 6,000 | 5,600 |
| Inventory at month end | 2,240 | 4,240 | 4,640 | 3,040 | 5,840 | 3,520 | 0 | 0 | 0 | 0 | 0 | 0 |
| Workers | 160 | 160 | 160 | 160 | 235 | 237 | 237 | 237 | 237 | 190 | 150 | 140 |
| Hires | 0 | 0 | 0 | 0 | 75 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
| Layoffs | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 47 | 40 | 10 |
| Workers on overtime | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 43 | 33 | 0 | 0 | 0 |
One worker makes 40 units a month for $2,400. A hire costs $1,800, a layoff $1,200, a worker-month of overtime $3,300, and one unit in inventory $8 a month. The plant makes 13,000 units a month at most.
The model
Decision
For each of 12 months: hires, layoffs, workers on overtime. 36 whole-number variables.
Objective
The lowest total of salaries, hire and layoff costs, overtime and inventory cost.
Constraints
Demand is met each month from production and inventory. Production is inside plant capacity. Each worker does one overtime shift at most.
- Salaries are 85% to 90% of the cost in each strategy. The strategies differ in how they pay for the peak: inventory ($600k in the level plan) or overtime ($412k when production follows demand).
- The mixed plan pays $188k for inventory and $251k for overtime, plus $255k to change the workforce.
- The whole-number plan costs only $160 more than the plan with fractions of a worker, so the rounding has no practical effect.
- The plan uses one demand forecast. A plan for use must be tested against a high and a low forecast.