Академический Документы
Профессиональный Документы
Культура Документы
Abstract — Timetabling at large covering many different [7], [8], [9], sequential methods [10], [11], constraint-based
types of problems which have their own unique approaches [12], [13] and meta-heuristic methods [14], [15],
characteristics. In education, the three most common [16].
academic timetabling problems are school timetable, II. EXAMINATION TIMETABLING
university timetable and exam timetable. Exam timetable
is crucial but difficult to be done manually due to the Exam timetabling is the sub class of timetabling problem
complexity of the problem due to some reasons such as which its events take place in the university. Exam timetabling
dual academic calendar, increasing student enrolments, refers to a process of assigning exam entities to particular slots
limitations of resources and etc. This study presents a and rooms in the timetable. Students are required to seat for
solution method for exam timetable problem in centre for one exam in the specific room during a specific time slot.
foundation studies and extension education (FOSEE), Exam timetabling is one of NP-hard problem [3]; therefore
Multimedia University, Malaysia. The method of solution is a creating an exam timetable is difficult to be done manually
heuristic approach that include graph colouring, cluster heuristic due to the complexity of the problem. The complexity of the
and sequential heuristic. problem arises due to some reasons such as dual academic
calendar, increasing student enrolments, limitations of
Keywords— exam timetabling, graph colouring heuristic, cluster
resources, etc. Constraints involved in this problem can be
heuristic
divided into two categories which are hard constraints and soft
I. INTRODUCTION constraints.
Timetabling is at large covering many different types of Hard constrains are unacceptable problems which cannot
problems which have their own unique characteristics. occur at any percentage in order for the timetable to be
Normally, timetable is designed in a tabular form using room- considered as feasible. Burke et al. have carried out a survey
time slot matrix information. A timetable is presented for on differences between hard and soft constraints among
events to take place and it does not necessarily imply the British universities [3]. The most common hard constraints
allocation of resources [1]. However, in reality it is important can be summarized as follows:
to know whether the resources available are sufficient or not
for the given event to take place at a particular time. 1. Every exam must be scheduled in exactly one time slot
2. Every exam must be assigned to a room(s) of sufficient
In education, the three most common academic size and assigned an invigilator(s)
timetabling problems are school timetable, university 3. No student must be scheduled to be in two different
timetable and exam timetable. University timetables are more exams at the same time
complex compared to school timetables which have equal 4. There must be enough seats in each period for all exams
time slot and it is weekly repeated during a semester [2]. Time scheduled
slot for university timetable is not equal in length, some 5. Certain exams must be scheduled into specific time slots
subjects are taught every week in weekdays, some of them are or rooms
only taught during weekends, others are only taught in first 6. Certain exams must take place simultaneously
seven weeks in the semester, etc. At the end of each semester
or trimester, most educational institution must prepare a set of Normally, exam timetable will satisfy all hard constraints
examination schedules for their students. Normally, a but the problem is how to measure that it is a good timetable.
timetable that has been used previously will be recycled and Thus, soft constraints will be used as the measurement which
used again. Some minor adjustments may need to be made will evaluate either the timetable is good and practical or not.
and this can be done manually so that the new exam timetable Soft constraints can be considered as preferences which will
is acceptable. Exam timetabling approach is divided into four fulfil some of the user requirements to maximize the
classifications [6] which are cluster or decomposition methods perfection of the timetable [4].
In general, not all soft constraints can be satisfied. Soft solution quality so that if the person in charge resigns or
constraints are often encountered, which include the following change, the new person in-charge has a benchmark to measure
[3]: the quality of exam timetable.
This paper focuses on exam data for foundation student in
1. Exams for each student should be spread as far apart as MMU, Malaysia. The exam timetabling problem for trimester
possible 2, 2009/2010 session consists of planning 39 different exams
2. A student should not be required to take x exams in y in six days using eight venues with different capacity. This
periods exam involves five foundations with two intake of student.
3. Time windows for certain exams Furthermore, each day there are only two slots available
4. No more than x exams taking place simultaneously which are morning session and afternoon session. The main
5. No more than y students scheduled to sit exams at any objective of an exam timetable is to guarantee that all exams
one time are scheduled and students can sit all the exams that they are
6. Exams should not be split across rooms required to do.
7. No more than one exam in a room at a time
8. Teacher or student preferences IV. EXAMINATION TIMETABLING HEURISTICS
9. Distance between rooms holding a given exam should be
minimized (when the exam is split across two or more In exam timetabling problem, subjects need be to
rooms) schedule into limited number of time slot. Clustering heuristic
10. The total number of periods should be minimized will be applied to split exams into different group and conflict
between exams is represented by conflict matrix. The
Hard constraints and soft constraints are very subjective objective function will be used to determine the solution
to define and it depends on the requirements of the quality for exam timetabling problem. The graph colouring
universities [4]. In some cases, constraint on room availability heuristic will be used to determine the number of exam slot
is unnecessary because that university have a large amount of for this problem.
rooms that can be used for exam. The constraints such as
some exams must occur before other exams may not be A. Decomposition of subject
relevant in some universities due to all exams have the same
level and not a pre-requisite exam. For some exam timetabling Students are enrolled in the different subject according to
problems, it is difficult to find a feasible solution at all [3]. their foundation and intake. They have been group in the
Whereas for other problems, there is a large number of cluster based on their foundation and intake. All foundation
feasible solutions and the focus of the problem solving are students will be stream in a specific cluster, therefore a large
very much directed to the minimizations of soft constraint number of students can be dealt as a single entity with a
violations [3] [4]. certain number of students.
Exam timetabling problems in universities begin with the For decomposition of subject, subjects will be divided
integration of examination data and processes from various into small group called as cluster. Two characteristic that will
departments, centres, faculties and/or branches. It is a be used for decomposition are foundation and intake. Each
complex problem due to the number of exams that needs to be cluster will have different colour that represents their group.
scheduled. The aim of an exam timetable is to guarantee that With this method, the problem size becomes smaller and easy
all exams are scheduled and students can sit all the exams that to determine the conflict matrix between the subjects based on
they are required to do. The objective function in timetabling colouring method. The researcher used four steps in
refers to weighted penalty, where it is assigned to soft decomposing subject into cluster which are:-
constraints that are not satisfied [5].
Steps 1: Subjects will be divided into specific foundation.
There are five foundations involve which are management,
III. PROBLEM STATEMENT engineering, information technology, law and biological
science
The current system at FOSEE, MMU only considers the
hard constraints and ignores the soft constraints. For example, Steps 2: Subject will be divided into specific intake. There are
if the duration for the exam is seven days, the system will two intakes involve which are intake 1 - Jun 2009/2010 and
make sure the entire exam involve will be spread out within intake 2 - October 2009/2010
that duration without checking the resources allocation and
student constraints. There are no standards for solution Steps 3: Sort all the subjects based on intake - Subject for first
qualities that measure either the exam timetable is feasible or intake will be sorted first because it has more subjects and
not. The system analyst just makes sure that there is no students compare to second intake. Subjects in specific group
clashing between subjects and students can be fit in the will be sorted according to student enrolment and code for
specific room. Exam timetables should have a standard each subject will be assigned based on the sorting list.
Step 4: Assigned specific colour for intake 1 group followed Soft constraints for this problem are:-
by intake 2 group. The colour for each cluster will be assigned
after subjects have been sorted. 1. A student should not have more than one exam per day
2. Exams should not be split across rooms
TABLE I
THE CLUSTERS FOR SUBJECT DECOMPOSITION Objective functions will be used to measure how well the
soft constraints are satisfied. This is important to determine
Description Group
Colour the solution quality of the exam timetable. Penalty = 1 will be
Cluster / Group Foundation Intake given if the soft constraints are unsatisfied. In this problem,
objective functions that minimize the number of students
g1 Mgmt1 Management Trimester 1
having two examinations in the same day and minimizes the
g2 IT1 Information Technology Trimester 1 number of exams split into different room are used.
g3 Engin1 Engineering Trimester 1
g5 Bio1 Biological Science Trimester 1 The conflict matrix is one of the most important aspects
in exam timetabling problem representing hard constraint or a
g6 Mgmt2 Management Trimester 2
pair of clashing exams. The construction of the conflict matrix
g7 IT2 Information Technology Trimester 2 helps in determines the constraints that no student must attend
more one exam at the same time. Two subject conflict with
g8 Engin2 Engineering Trimester 2 each other if there are at least one student take both subject.
Researcher has to establish the conflict matrix that helps them
to check if two exams conflict with each other or not. Based
Cluster group for decomposition of subject only suitable
for subject in one foundation and intake but it didn‘t support on student‘s course registration in each semester, researcher
subjects with combination foundation or intake. Due to this can compute the conflict matrix.
problem, a special group called as special cluster has been
In Table II below, the ‗x‘ represents those pairs of
created for student from combination of foundation or intake.
clashing exams based on their group colour. Code such as
After subjects have been group in special cluster, it will be
S17, will be used to represent the subject instead of using the
sorted according to student enrolment.
subject name.
Then, code will be assigned to represent the subject and
this subject didn‘t have any specific colour because it comes TABLE II
from combination foundation and intake. After grouping, then CONFLICT MATRIX FOR FOUNDATION BIOLOGICAL SCIENCE CLUSTERS.
the subject will sorted based on student enrolment (sort in
their group only). Then code subject will be assign to each Conflict
subject. In Table II, S31 is an example of subject in special S17 S18 S19 S20 S31 Matrix
cluster which enrol by student in either different foundation or S17 x x x x 4
intake. S18 x x x x 4
S19 x x x x 4
S20 x x x x 4
B. Stating the Constraints S31 x x x x 4
Conflict
The exam timetabling problem is to assign exams to Matrix 4 4 4 4 4
specific time slot which must satisfied the hard constraints
with the objective of minimizing the soft constraints violation
[3]. D. Graph colouring for exam selection
For this research, hard constraints that must be satisfied The orders in which exams are selected are based on
are: graph colouring approach. In graph colouring approach, each
exam is represented by different vertex where the edges
1. Exam constraint - there is only one exam for each subject. between vertices represent the exam conflict [18], [19].
2. Student conflict - a student cannot take two exams at the Colouring the graph is the process of allocating the different
same time or slot. colour to each vertex so that two adjacent vertices will have
3. Seating restriction - the number of students seated for an different colour and each colour is equivalent to one period in
exam cannot exceed the room capacity the exam timetable [17], [18].
V. RESULT AND ANALYSIS
The objective of graph colouring is to find the minimum
number of colour applied on the vertices of a graph so that no In this study, all the 39 subjects will be group into their
two adjacent vertices have the same colour [20]. The cluster which have the same characteristic. The entire subject
chromatic number of a graph is the least number of colours it will be group into eight different cluster based on their
takes to colour its vertices so that adjacent vertices have foundation and intake. The entire cluster will have a group of
different colours [20]. Based on the literature, graph colouring subject and it can represent as colour or group name. For
in considered as NP-complete problem due to the fact that example subject for foundation management, intake trimester
there is no efficient polynomial-time algorithm that can find 1 can represent as g1 = Mgmt1. Decomposition subject will
the chromatic number for the graph. help research in reducing the problem size and it very useful
for determine the conflict matrix between subjects. Based on
Another way of checking the conflict matrix is to view it decomposition, researcher can define either the subject can
from a graph perspective [19]. From a graph perspective, the slot or assign in the same slot or not in the exam timetable.
total number of edges for the vertex equals to the conflict
matrix for each subject in the matrix. As the example refer TABLE III
subject S19. This subject belongs to cluster Bio1 represent by SUBJECTS BASED ON CLUSTER GROUP FOR INTAKE 1 AND 2
purple colour. Total conflict matrix for this subject is four
INTAKE 1 – Jun 2009/2010
(refer Table II) there for total edges for the vertex in the graph Code Subject Colour
colouring should be four. Cluster : Mgmt1
S1 PHD0015
Black S2 PPE0025
S20 S3 PCA0025
S4 PFM0025
Cluster : Engin1
S5 PCE0015
S6 PMC0025
S19 S7 PPH0025
Red S8 PMC0055
Cyan Cluster : IT1
S31 S18 S9 PPT0015
Pink S10 PFE0015
Silver S11 PPC0045
S17 S12 PMT0055
Cluster : Law1
S13 PCR0015
S14 PGL0025
Fig. 1 Graph for S19 S15 PIL0015
S16 PAL0015
Fig. 1 proved that conflict matrix in Table II can be used Cluster : Bio1
to find total number of edges in graph colouring. Vertex S19 S17 PBB0025
coloured by purple because it represent cluster group colour S18 PMB0015
S19 PCA0055
while for vertex S31, it combine four colours because student
S20 PPB0025
from different foundation enrol in this subject. Five vertexes INTAKE 2 – October 2009/2010
represent that this group of student enrol in five subject and Cluster : Mgmt2
these subjects cannot be schedule at the same period due. S21 PBM0035 / PFM0015
S22 PAT0025
Based on the literature, vertices with the same edge must S23 PPE0015
S24 PAT0035
represent with different colour. These colours refer to graph Cluster : Engin2
colour not a group colour. These processes will continuously S25 PPH0075
selecting a vertex and assigning it a new colour such that no S26 PMC0045
two adjacent vertices have the same colour. Cluster : IT2
S27 PPC0035
S28 PMT0045
A solution exists if the colour is equal to the number of S29 PCA0045
vertexes in the cluster. Fig. 1 has five vertexes with the same S30 PCT0015
edge and the colour should be five colours which represent
five different slots. The five colours in fig. 1 are black, cyan, For this problem, 39 subjects should be schedule but
pink, silver and red. However, the total conflict can not be however, only 30 subjects have been group in the cluster
applied for special cluster due to combination of group. Cluster group for decomposition of subject only
characteristic. suitable for subject in one foundation and intake but it didn‘t
support subjects with combination foundation or intake.
Therefore another nine subjects cannot be group in the After subjects have been group according to specific
current cluster. Due to this problem, a special group called as colour for scheduling, the exam slot (colour) now sorted
special cluster has been created for student from combination according to number of student enrolment per slot. Exam with
of foundation or intake. After subjects have been group in the highest number of student enrolments should be scheduled
special cluster, it will be sorted according to student first. Constructive heuristic with largest enrolment will
enrolment. Then, code will be assigned to represent the generate initial solution by sequentially selecting an exam and
subject. assigning the exam to a feasible slot without violating any
hard constraints.
After decomposition of subjects, conflict between
subjects will be determine by using conflict matrix table. For In this study, the constructive heuristic used in finding an
this problem, maximum number of conflict is 23 for subject initial solution is the largest enrolment graph colouring
S31. Subject S31 is a core subject where four group of student heuristic. This algorithm begins with an exam with the highest
enrol in this subject. For normal group, subject under Mgmt1 enrolment and assigns it to the first available slot. If a slot is
and Engin1 group have the maximum number of conflict, not available, the exam is put into the next available slot. A
eight. Based on conflict matrix, it shows that nine colours are slot is feasible if it fulfil the soft constraint where a student
used in the graph colouring for this exam problem. These nine should not have more than one exam per day. In this heuristic,
colours represent nine slots that should be used for this the potential penalty of assigning exam to each period is
problem. calculated and the period with minimum penalty is selected.
TABLE V
SLOT ARRANGEMENT BASED ON LARGEST ENROLMENT
1 Orange 1323
2 Green 1145
3 Red 1116
4 Yellow 953
5 Magenta 893
6 Pink 507
Fig. 2 The overall graph colouring
7 Cyan 401
Fig 2 shows the overall graph colouring heuristic that used
8 Black 384
nine different colours that represent nine slots. While Table IV
below show the entire nine colours and the subject for each 9 Silver 271
colour with the student enrolment.
Analyzing regarding maximum and minimum number of The graph colouring heuristic is used to group the subject
students per exam in one slot has been made and it shows that based on colour and one colour is represent one exams. Each
the current exam timetable didn‘t utilize the usage of the slot subject will represent as a vertex and the conflict are represent
because it shows a big gap between the current exam by the edges between the vertexes. Vertex with the some
timetable and suggestion exam timetable. Suggestion exam edges cannot be schedule in the same time slot. To slot the
timetable can schedule the exam for maximum 1323 students exams in exam timetable, the largest enrolment approach will
per slot and minimum 271 students per slot while current be used. This approach will select the exams with highest
exam timetable only schedule maximum 1263 students per number of student to fit in the slot first.
slot and minimum 95 students per slot.
This study has produced a feasible approach for exam
With the longer exam duration, current exam timetable timetable in FOSEE, MMU using a new technique such as
use about 39 venue or room to support the entire subject for combination of clustering and graph colouring heuristic. Even
the exam while suggestion exam timetable only used 31 though this study may be able to produce a good exam
venues to support all exams. Room penalty show that current timetable, there are still many matters to be studied.
exam timetable is not really well assigned because the
different only five subject. Based on the experiment, graph colouring heuristic is
suitable for the problem that focus on hard constraint but it is
difficult to solve the soft constraints. To get the optima
TABLE VI solution, meta-heuristic approach should be apply together
COMPARISON BETWEEN CURRENT TIMETABLE AND SUGGESTION METHOD
with graph colouring approach such as genetic algorithm, tabu
search, etc.
Current Suggestion
timetable timetable
This research only provides method or approach that can
be apply for exam timetable but it didn‘t have any automated
or computerized system. It will be good ideas if this method
Exam duration (in days) 6 5
can be apply as automated system using a specific tool and
language. Using a computerized system, the output can be
Slot used to schedule the more consistent and the experiment can be applied for any
12 9
exam
problem size.
Exam Penalty - more than
14 16 It will be a better idea if the system is a web-based exam
one exam per day
timetable. Therefore, academician can easy check and validate
Minimum student in one the subject involve in examination and system analyst also
95 271
slot
will get a faster respond from academician.
Maximum student in one
1263 1323
slot
The researcher found that this method can be extended to
Room Penalty - split another faculty in MMU. This is because the study has
19 14
subject in different room fulfilled a basic requirement of the exam timetable and all
faculties in MMU have the same routine in developing the
Room used 39 31 exam timetable.
REFERENCES
VII. CONCLUSION AND SUGGESTION
[1] A. Wren, ―Scheduling, Timetabling and Rostering — A special
An exam timetable is considered as good quality if all Relationship?,‖ in The Practice and Theory of Automated Timetabling:
soft constraints under consideration are minimized. For Selected Papers from the 1st International Conference (Lecture Notes
in Computer Science 1153), E. Burke and P. Ross, Eds. Berlin,
example, if the examination period is short (less than one Germany: Springer-Verlag, 1996, pp. 46–75.
week), it might be unavoidable or difficult to assign one exam
per day for students to sit and it should be minimized the [2] V. A. Bardadym, ― Computer-Aided School and University
number of students that have more than one exam per day. Timetabling: The New Wave,‖ in the Practice and Theory of
Automated Timetabling: Selected Papers from the 1st International
The use of clustering heuristic is very important to decompose Conference (Lecture Notes in Computer Science 1153), E. Burke and
the subject based on their characteristic (foundation and P. Ross, Eds. Berlin, Germany: Springer-Verlag, 1996, pp. 22–45.
[3] E. K. Burke, D. Elliman, P. H. Ford and R. F. Weare, ―Examination [12] S.Deris, S.Omatu and H. Ohta, ―Timetable Planning using the
timetabling in British Universities: A survey,‖ in The Practice and Constraint-based Reasoning‖, Computers & Operations Research 27,
Theory of Automated Timetabling: Selected Papers from the 1st 2000, pp. 819-840.
International Conference (Lecture Notes in Computer Science 1153),
E. Burke and P. Ross, Eds. Berlin, Germany: Springer-Verlag, 1996, [13] M. Kambi and D.Gilbert, ―Timetabling in Constraint Logic
pp. 79–90. Programming, ‖ Proceedings of INAP-96: Symposium and Exhibition
on Industrial Applications of Prolog,Tokyo, 1996.
[4] E. K. Burke, A. J. Eckersley, B. McCollum, S. Petrovic and R.Qu,
―Analysing Similarity in Examination Timetabling,‖ Proceedings of [14] M. Eley, ―Ant Algorithms for the Exam Timetabling Problem, ‖
the 5th International Conference on the Practice and Theory of Practice and Theory of Automated Timetabling VI: Selected Papers
Automated Timetabling, Pittsburgh-USA, 2004, pp. 89-106. from the 6th International Conference, 2007, pp. 364 – 382.
[5] M. Cupic, M. Golub and D. Jakobovic, ―Exam Timetabling using [15] K. Sheibani, ―An Evolutionary Approach for the Examination
Genetic Algorithm,‖ Proceedings of the 31st International Conference Timetabling Problems,‖ in the Practice and Theory of Automated
on Information Technology Interfaces, Croatia: ITI 2009, 2009, pp. Timetabling: 4th International Conference (PATAT 2002), In E.K.
357-362. Burke, & P. D. Causmaecker, Belgium: Springer-Verlag, 2002, pp.
387-396.
[6] M. Norberciak, ―Universal Method for Timetable Constructionbased
on Evolutionary Approach, ‖ World Academy of Science, Engineering [16] G. M. White and B. S. Xie, ―Examination Timetables and Tabu Search
and Technology, Poland, 2006, pp. 91-96. with Longer-term Memory,‖ in the Practice and Theory of Automated
Timetabling III: Selected Papers from the 3rd International
[7] E. K. Burke, D. G. Elliman and R. F. Weare, ―A University Conference, 2001, pp. 85–103.
Timetabling System based on Graph Colouring and Constraint
Manipulation,‖ Journal of Research on Computing in Education, [17] E. K. Burke, B. Mccollum, A. Meisels, S. Petrovic and R. Qu, ―A
1994a, pp. 1-18. Graph-Based Hyper-Heuristic for Educational Timetabling Problems,‖
European Journal of Operational Research 176, 2007, pp. 177-192.
[8] E. K. Burke and J. P. Newall, ―A Multi-stage Evolutionary Algorithm
for the Timetable Problem‖, IEEE Transactions on Evolutionary [18] P. Cowling, S. Ahmadi, P. Cheng, R. Barone, ―Combining Human and
Computation, 1999, pp. 63–74. Machine Intelligence to Produce Effective Examination Timetables,‖
The 4th Asia-Pacific Conference on Simulated Evolution and Learning
[9] R. Qu and E. K. Burke, ―Adaptive Decomposition and Construction (SEAL 2002), Singapore, 2002, pp. 662-666.
for Examination Timetabling Problems,‖ Multidisciplinary
International Scheduling : Theory and Applications (MISTA'07), [19] M.Malkawi, M. A. Hassan and O. A. Hassan, ― A New Exam
France, 2007, pp. 418-425. Scheduling Algorithm Using Graph Coloring,‖ The International Arab
Journal of Information Technology, 2008, pp. 80-87.
[10] E. K. Burke, J. P. Newall and R. F. Weare, ―A Simple Heuristically
Guided Search for the Timetable Problem‖, International ICSC [20] S. A. Rahman, A.Bargiela, E. K. Burke, E. Ozcan and B. McCollum,
Symposium on Engineering of Intelligent Systems (EIS98), 1998c, pp. ―Construction of Examination Timetables Based on Ordering
574–579 Heuristics,‖ in 24th International Symposium on Computer and
Information Sciences , 2009 , pp. 680-685.
[11] A. Schaerf, ―A Survey of Automated Timetabling,‖ Artificial
Intelligence Review, 1999, pp. 87-127.