Acme Employee Scheduling Model with Three Scheduled Meals per Shift - LINDO
Comments:
E10:E11:E12 are the full-time Early shift (7 am - 4 pm) workers with lunch at 10 am, 11 am & 12 noon
L5:L6:L7 are the fukk-time Late shift (2 - 11 pm) workers with dinner at 5, 6 & 7 pm
P7-P19 are the part-time workers starting at 7 am ... 7 pm
PTH is the total part time hours worked, FTH is the total full-time hours worked and TOTH is the total hours worked
LINDO input follows:
Min 750E10+750E11+750E12+750L5+750L6+750L7+300P7+300P8+300P9+300P10+300P11+300P12+300P13+300P14
+300P15+300P16+300P17+300P18+300P19
ST
7AM) E10+E11+E12 +P7 >= 15
8AM) E10+E11+E12 +P7+P8 >= 15
9AM) E10+E11+E12 +P7+P8+P9 >= 15
10AM) E11+E12 +P7+P8+P9+P10 >= 20
11AM) E10 +E12 +P8+P9+P10+P11 >= 20
12PM) E10+E11 +P9+P10+P11+P12 >= 20
1PM) E10+E11+E12 +P10+P11+P12+P13 >= 20
2PM) E10+E11+E12 +L5+L6+L7 +P11+P12+P13+P14 >= 20
3PM) E10+E11+E12 +L5+L6+L7 +P12+P13+P14+P15 >= 25
4PM) +L5+L6+L7...