Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scheduling algorithm/problem

I'm bored, and this problem just haunted me again. Back at university, I used to always wonder how they schedule exams. The ability to schedule 10k student to do exams in 2 weeks and guarantee that no student will have an exam in two consecutive periods. I'm assuming some form of heuristics be applied.

I'm bored tonight, and if you give me the right tools, I'll work on it tonight and up to the weekend

cheers, dassouki

EDIT 1: I guess the assumption would be that all we know is the following:

  1. Number of students and the courses that they're each enrolled in
  2. Number of exam period spots
like image 497
dassouki Avatar asked Oct 20 '09 21:10

dassouki


1 Answers

This is a famous computer science problem (the exam scheduling problem) which is known to be NP-hard. You might not be able to solve it over a weekend.

like image 150
cdiggins Avatar answered Dec 04 '22 05:12

cdiggins