I have to create a PHP script that would generate an optimal schedule for several student assistants. User input is the student assistant's class schedule, and from this information his free time will be extracted. From his free time an optimal schedule will be generated for him and other student assistants.
I'm stumped, as I have no idea how to tackle this problem. A google search didn't help, too. I really would appreciate any help with this.