1. 程式人生 > >How can I automate the scheduling of instructors / classes in shared spaces?

How can I automate the scheduling of instructors / classes in shared spaces?

I need to automate the scheduling of instructors, who teach one or more classes, in shared rooms (whose schedule is out of my control and changes daily).

Instructors can have preferences for one or more days of the week (M, T, W, Th, F) and time of the day. For half day seminars the times are usually morning (9-noon) or afternoon (1 - 4PM). Some classes may also be shorter, e.g. an hour long. Example:

Instructor 1 - M,W - afternoon Instructor 2 - M, T, F - any time Classes are often a series of individual classes that I would prefer all be schedule at the same time of day and be scheduled as close together as reasonably possible.

The room schedules I receive are a list of dates and times that are still open, such as:

October 17- Any time after 1pm October 22- Any time after 10am October 23- Free all day October 24- Any time after 4pm October 25- Any time after 3pm I have searched for software or python scripts to automate the matching of instructors to rooms but to no avail. I found tested out FET, "Free Educational Timetabling" software and MoAI-scheduler but neither did not get them to work correctly or they are not a god fit. Moodle did not seem to work either.

All of the solutions I have seen do a great job of scheduling classes when the room schedule is completely open.

My preference would be for a python script or software program that can run on a Mac. I am happy to reformat the instructor schedule and the class schedule if I could find a solution to match the two.