The mapping of timetabling problem into the SA algorithm involves the following constructs:
Along with all of the necessary constraints and the output of the rule-based preprocessor, the simulated annealing algorithm also takes as input data the following: a list of classes that have not been already scheduled by the preprocessor and their associated professors and room types, a list of rooms provided by the registrar's office, a department to building distance matrix, a list of students and their class preferences, and a list of classes that are not allowed to be scheduled simultaneously.