r/opensource • • 25d ago

Discussion Rotating shift software?

Hi Everyone,

I'm trying to find the words to use to search for a basic shift rotation software. My partner works for a theme park, and they have a shift structure wherein people rotate between rides every 2hrs or so to keep people from getting burned out on one ride all day.

Currently their system for calculating this is an employee sitting down and going through every day of operation and, in Microsoft excel, manually sorting all of the employees on shift that day into a rotation.

This seemed like a bad use of time, but the only example of a software solution I could find was that Disney has its own proprietary software called the Cast Deployment System that does this job automatically, but obviously they aren't willing to share with the world.

Just coming here to see if anyone knows of any open source software that can set up systems like this? It's relatively small theme park, the software would just need to be able to sort employee numbers into 5 large groups, each with 3-4 sub groups (the rides) based on their training level and physical capabilities (which I suppose could just be tags on the employee numbers) and then schedule their rotations between these subgroups at certain times.

I feel like that's not many variables for a computer, but I'm struggling to think of a program that can be retrofitted to this purpose. I don't think there's anything purpose-built out there.

Sorry for formatting, I am posting from mobile

11 Upvotes

23 comments sorted by

8

u/bonzog 25d ago

Something like Optaplanner/Timefold can probably do this. It's essentially a rostering problem, but hour-by-hour rather than day-by-day.

Just for comparison, in a regulated enterprise environment I've seen Quintiq used for a similar problem.

3

u/anti--seed 24d ago

Hey thanks for this suggestion! I'm looking into Timefold now! I appreciate the advice!

2

u/ram-popular 21d ago

Good search terms are “employee shift scheduling” and “job rotation scheduling”. For open source, look at Timefold Solver (its employee scheduling quickstart is close to your case) or Google’s OR-Tools. Both need some coding, but your rules (training tags, physical limits, 2-hour rotations) map neatly onto constraints. Since the park is small, a simple Python script that reads the Excel sheet and assigns people to rides by tag would also replace the manual work.

2

u/rowman_urn 19d ago

Also check out boat shifts (watches) they have such things as a dog watch, so, that it introduced overlapping of an hour around 1800 hrs. (Dinner hour) So crew had a chance to mingle. These watches stem back 2-3 hundred years introduced by navies.

1

u/Top-Basket4742 24d ago

Me encanta la IA, joder.

-12

u/andyfsu99 25d ago

Get Claude code. Ask Claude to make it. Test, adjust, repeat. Obviously this only works if they will use the thing, which is the hardest problem.

12

u/Mammoth_Loan_984 25d ago

They’re asking about existing solutions. If there’s already a solution that exists, why reinvent the wheel.

6

u/anti--seed 25d ago

Yeah, this. It seems like a niche enough application that there won't be purpose made software out there, but simple enough that an existing solution can be retrofitted from a more broadly capable program.

-6

u/andyfsu99 25d ago

They're using it - Excel.

-8

u/andyfsu99 25d ago

And what do you figure the odds are that an open source amusement park ride rotation program exists?

6

u/anti--seed 25d ago

Well, as I said, I figured the odds of there being a broadly applicable, more capable program that can be used in place of a purpose built program are pretty high. Most computers and programs are capable of keeping track of more than a handful of variables, so it stands to reason that there would be something more generally useful out there than can do the job better than a worker manually inputting shift information into Excel.

2

u/threedotsonedash 21d ago

Since you are looking into Timefold, their school timetabling seems a lot like your usecase - swap students for employees & classes for rides and it seems like it might be ideal.

1

u/anti--seed 21d ago

Holy shit, that could actually be perfect

5

u/MGMan-01 25d ago

It's a shift scheduler software, though? You're missing the forest for the trees