Time Tabel Base Paper 7
Time Tabel Base Paper 7
-
Abstract This paper describes an automated curriculum curriculum is fairly dynamic and such software would
timetabling system based on a stochastic search methodology, become obsolete very fast. In addition, commercial software
namely a co-evolutionary algorithm. The application timetable is complex to use and do not meet the needs of the School
is taken from the undergraduate courses of the School of directly.
Electrical and Electronic Engineering (EEE), Nanyang
Technological University (NTU). A co-evolutionary algorithm
approach is found to be well suited. Practical courses have The current approach to planning the timetable was to
duration greater than one hour. A schedule can be generated manually manipulate the previous timetable, taking into
separately and its population, which consists of a set of practical account impending changes. However, with the introduction
schedules, is termed as the practical population. Lecture and of the modular system and the increasing number of students,
tutorial schedules can also be generated separately. These are of such an approach is no longer efficient. Some students are
one-hour duration and they are termed collectively as also taking a combination of subjects that would not have
lecturehtorial schedule. A set of lecture/tutorial schedules been feasible in the past. For example, a third year student, in
could be generated to form the lecture/tutorial population. addition to taking the third year subjects, may also take some
These two populations use the same set of resources and have second and final year subjects.
constraining effects upon one another. Since the placement of
practical courses have a more constraining effect, the schedules
in the practical population are first generated and are then used Many heuristic algorithms for timetabling have been
to guide the generation of the set of lecture/tutorial schedules. proposed. They include simulated annealing, constraint logic
For every lecture/tutorial schedule generated, it is combined programming, linear programming and graph coloring
with its corresponding practical schedule to form a combined heuristic [1,2,3,4]. Heuristic algorithms use the concept of a
schedule. The average fitness of all the combined schedules is multi-dimensional search space, which contains the complete
then computed and used as a measure of the fitness of the solution set. Heuristic techniques are employed to explore
practical schedule that drives them. The practical population is the search space for the best solution. The main difficulty
then evolved progressively to obtain the best practical schedule. faced in this approach is the tendency to be trapped in a local
It is then used as a base configuration for the rest of the courses
to populate and evolve. The resultant system compares optimal point, which may not be the best.
favorably to the current manual system.
Researchers are now turning to evolutionary algorithms, or
its hybrid, as a powerful method of solving the timetabling
I. INTRODUCTION problems. Evolutionary algorithms [5,6] are powerful
An educational institution, such as a University, relies general-purpose optimization technique, which models the
heavily on a curriculum timetable to function smoothly. A principles of evolution. However, the structure of the EEE
curriculum timetable is usually a schedule containing a set of timetable is not apt for a traditional evolutionary algorithm
teaching activities planned over a week. This timetable is approach. This arises out of the need to incorporate courses
used in NTU over an academic semester, which is 13 weeks having different duration per class session.
long. The planning of such a timetable is not trivial. Some of
the courses of EEE in NTU have more than 1000 students. The main objective of this paper is to present the feasibility
Such courses have to be divided into smaller lecture classes of automating the timetabling process in EEE by using a co-
of about 350 each. Hence, the same lecture may have to be evolutionary algorithm. There are five types of courses:
repeated over a week. At NTU, the planning of timetables is lecture, tutorial, project, laboratory and design. Project,
camed out manually, aided by word-processing, spreadsheet, laboratory and design courses can be further grouped as
database and the internally developed facility-booking practical courses. Practical courses, which have duration per
systems. Commercial timetabling software was once class session longer than one hour, are scheduled first on its
considered but later abandoned as it was felt that the NTU own without considering lecture and tutorial courses. The set
-
methodology on the population of practical schedules. One
Compute fitness important consideration is then the fitness of each practical
schedule. A logical approach is to generate randomly several
lecture/tutorial schedules from each practical schedule. Each
lecture/tutorial schedule and the corresponding practical
schedule are combined into a main schedule. The fitness
value of each combined schedule is computed. The average
fitness value is then used to express the fitness of the
corresponding practical schedule. This is shown in Figure 2.
L--FF-i co= 1
1
Keep best schedule
t co <= coend?
IS Awrage fitness
I
I
Figure 1 Main flow chart
the system. g is a loop counter for each generational step. Figure 2 Compute fitness of practical schedule flow chart
gend is the maximum number of generations. The postlude
module closes all working files and databases and terminates
the program normally. In Figure 2, co is a loop counter over the set of schedules
in the practical population. coend is the number of schedules
An initial population of practical schedules is generated by in the practical population.
a random placement of all practical courses. Due to the large
number of such courses, they are more or less fixed in As shown in Figure 2, one of the key operations is to
position in the practical schedule. The only movable entity is generate a population of lecturehutorial schedules from every
the placement of individual student group. With this in mind, practical schedule. This is usually done randomly. However,
mutation of a practical schedule is simply a random mutual the operation is very time-consuming and can fail. Certain
swapping of two student groups. The mutation used here is practical schedule is very constrained and it is not possible to
very much akin to the manual planning process where a populate other one-hour courses on it without violating some
timetable planner likes to make only minor changes to the
The linear scaling over the fitness values and the roulette TABLE 1 NEEDS AND RESOURCES TABLE
selection method are used to select the set of practical
schedules for mutation [ 121. Just before mutation, the best 1 Types of courses 1 Number of sessions I Number of sessions I
needed available
practical schedule is kept. After mutation, the previously kept Lecture 69 150
best practical schedule replaces the worst practical schedule Tutorial 152 600
in the latest population of practical schedules. This is done to Laboratory 76 80
preserve the good practical schedules and at the same time Project 38 40
allows some urobabilistic diversitv. Design 38 40
References