Problem

The campus recreation center at Auburn has 103 student employees and 35 shifts a week, from 5:15 am openings to 11:45 pm closings. The manager built each week’s schedule by hand in scheduling software, which took about two hours, and employees still ended up on shifts they had blocked off. For our deterministic operations research course (INSY 3410), our team of 4 modeled the problem as an optimization: fill every shift and keep employees as happy as possible.

Approach

Interviews. We interviewed the manager and several employees about what makes a schedule good or bad, and had employees rate every shift from 0 to 10. Two answers shaped the model: being scheduled outside your preferences scored as low as 0, and one employee said closing at night and then opening the next morning was the hardest thing about the job.

Decision variables. One binary variable for each employee, day and shift: does this person work it? That is 103 × 7 × 6 = 4,326 yes/no decisions. Four helper binaries track daily workload, weekday hours and opening shifts so the if-then rules below can be written as linear constraints.

Objective. Maximize the total satisfaction score: the sum of each employee’s rating for every shift they are given.

12 rules. Nine are hard limits:

  • At most 20 hours a week (university policy for student workers).
  • At most 2 shifts in a row, and at most 3 shifts in a day.
  • 2 to 4 supervisors on every shift.
  • No more staff than each shift needs (9, 10 or 11 people).
  • No closing one night and opening the next morning.
  • At most one shift per day on Friday, Saturday and Sunday.
  • No supervisor works 3 days in a row.

Three are if-then rules, written with big-M constraints and the helper binaries:

  • If someone works more than 2 shifts on a weekday, they work at most 1 the next day.
  • If someone works 15 or more hours Monday to Thursday, they get no weekend shift.
  • If someone opens twice from Sunday to Wednesday, they don’t open again that week.

Result

We formulated and solved the binary integer program, with all shift times, staffing levels and satisfaction scores in one data workbook. The solution is a full weekly schedule that follows all 12 rules and gets the highest total satisfaction score the rules allow, so the manager can compare a hand-built schedule against it.

What I’d do next

  • Add a minimum-staffing constraint and re-solve, to see what full coverage costs in satisfaction.
  • Rebuild the model in Python (PuLP or OR-Tools) so the manager can re-run it each week.
  • Compare the optimized schedule’s satisfaction score with the hand-built one for the same week.
  • Add finals-week hours and class times as hard blocks, since several employees asked for both.