Abstract
Examination timetable scheduling is a serious challenge in every University system with concerns on assigning examinations to venues over a period of time. Major challenges facing examination scheduling includes: having student’s population to be much more than the available resources, availability of examination venues for the examinations within limited time periods and satisfying all constraints is becoming increasingly difficult. An enhanced particle swarm optimization (PSO) was employed for unraveling the examination timetable scheduling problems at the Federal University of Agriculture, Abeokuta, Nigeria. A combined approach using PSO with local search mechanism was used to enhance the effectiveness of the algorithm against the manual timetabling method. PSO algorithm and local search technique was implemented using Java to develop an examination timetabling system, however, PSO algorithm could not provide a perfectly feasible solution for the University examination timetable but approaches a near-optimal solution with the integration of local search technique.
Access provided by Autonomous University of Puebla. Download chapter PDF
Similar content being viewed by others
Keywords
1 Introduction
Educational timetabling challenges include school timetabling, examination timetabling and university course. Basically, university timetable problem exists in two forms, viz course and examination timetable formats [1]. Examination scheduling or timetabling is one of the most difficult problems faced by academic community [2]. Timetabling challenge is defined as assigning examinations into a fixed number of timeslots hereby satisfying all university constraints [3]. However, for every institution the objective is to construct an effective and satisfactory examination timetable. An institutional timetable is said to be effective when it keep its users satisfied to a reasonable extent.
The main challenge of examination timetable scheduling is the population of students when compared to the inadequate available resources within a short period of time; hence, the population of students will always be more than available resources [4]. The problem addressed here deals with the assignment of examinations into a limited number of timeslots with respect to certain constraints for the undergraduate students with about a population of 15,000 from the Federal University of Agriculture, Abeokuta, Nigeria. There are two major types of constraints to be satisfied when dealing with a university examination timetabling which are: Hard and Soft constraints. Hard constraints are conditions that must be conceited while soft constraints may not be conceited, but it is desirable to have a good and feasible timetable. Hard constraints considered in this study was adopted from [5]: (i) every examination should be assigned to a venue at a particular timeslot; (ii) the scheduled examinations must not exceed the venue capacity; (iii) the maximum number of time period within a day should not be exceeded. Soft constraint include: (i) student preference for having an examination a day; (ii) finalist preference for having their examinations scheduled for first to second week of the examination. Satisfying all the constraints to have a good timetable is becoming increasingly difficult. The motivation of this study is the complexity of satisfying the constraints in examination timetable which includes high time consumption and manpower, thereby being too stressful. However, the major objective of this study is to design an algorithm that performs all hard and soft constraints using optimization algorithm and local search techniques to produce an effective timetable feasible solution. The rest of the paper is organized as follows. The literature review and related work is presented in Sect. 2. Section 3 presents the methodology and the results obtained. Section 4 discusses the implementation of the proposed system and the result obtained. The study concluded in Sect. 5.
2 Background and Review of Related Works
This section reviews some related work on examination timetabling, although quite a number of solutions have been suggested on solving course scheduling in a university system. Particle swarm optimization is one of the most common approaches applied by earlier researchers in solving timetabling for institution, metro transit network, etc. [6, 7].
Particle swarm optimization (PSO) is a population-based stochastic optimization mechanism inspired by social behavior of bird flocking or fish schooling. This approach solves a problem by having a population (swarm) of candidate solutions known as particles around in the search space over the particles position and velocity [8]. The velocity directs the flying of potential solution, called particles by following its current position known as local best known position, and is also guided toward the best known position in the search space known as the global best position, tracked by particle swarm optimizer [9]. The main concept of the PSO algorithm comprises of changing the velocity or accelerating each particle toward its gBest and lBest locations at each step. Acceleration is measured by a random term, with separate random numbers being generated for acceleration toward gBest and lBest locations [3]. However, the velocity and position of the particles are updated by Eqs. (1) and (2).
where:
-
v(t) is the velocity component of particle ith at iteration t;
-
v(t+1) is the velocity component of particle ith at iteration t + 1;
-
Pit is best location of particle ith and
-
Pgt is the global best position of particle ith of the whole swarm,
-
c1 and c2 are learning factors for deriving how the ith particle approaching the position that is closer to the individual local best and global best,
-
rand() is a random number in the range [0, 1].
2.1 Literature Review
Pillay [10] presented a genetic programming approach for automated induction of construction heuristics for the curriculum-based course timetabling problem on ITC 2007 dataset. Ahmad and Shaari [3] proposed a PSO approach for solving examination timetable generator in three institutions. However, the proposed study has not been implemented and evaluated yet. Ilyas and Iqbal [11] analyzed hybrid heuristic and meta-heuristic technique to solve university course time tabling challenges. The study concluded that hybrid methods require more computational cost and is difficult to implement.
Chen and Shih [4] presented a constriction PSO with local search technique in solving university course timetabling problems. The experimental result shows the improvement in the solution quality and low computational complexity based on the small data sample used for implementation. Oswald and Anand [12] presented a novel hybrid PSO algorithm for solving university course timetabling problem. The experimental result gave a suboptimal solution, with major limitation on the inability to satisfy the soft constraints. Tassopoulos and Beligiannis [13] experimented with dataset from different high schools using PSO algorithm. The result shows that PSO outperformed the other techniques while [8] analyzed the application of PSO in course scheduling system. The study considered the hard and soft constraints and gave a quality solution. Najdpour and Feizi-Derakshi [14], Bhatt and Sahajpal [15], Karol et al. [16] developed an automatic course scheduling system using a generic algorithm, however, the former combined GA with cycle crossover approach for solving soft constraints with an improve solution when compared with the manually generated solution. Karol et al. [16] introduced known parallelization techniques to generic algorithm, which has high computational complexity.
The overall summary of the existing approaches to timetable scheduling problems includes difficulty of incorporating the constraints into scheduling procedures to improve schedule quality. Table 1 shows a summary of some existing solutions on timetabling problems related to this work.
3 The Proposed Methodology
This study designed an automatic examination timetable system for the Federal University of Agriculture, Abeokuta (FUNAAB), Nigeria, using particle swam optimization algorithm and local search technique. In FUNAAB, the manual examination timetable was always done by a Timetable Committee known as (TIMTEC). However, in the process of designing the timetable by TIMTEC, several draft copies are corrected before the final timetable is reached due to the manual procedure and complexity of the scheduling; hence, there is a need for an automatic examination timetabling scheduling algorithm. The proposed PSO-based algorithm structure is shown in Fig. 1 while Table 2 shows the pseudocode of algorithm for the PSO-based algorithm, and Table 3 shows the local search techniques algorithm.
3.1 Mapping of University Examination Timetable to PSO
Federal University of Agriculture Abeokuta uses three weeks’ time period for her examination, the three weeks duration starts on Monday–Friday due to the general five working days, when it falls during the festive period, then it is likely to start anytime during the week. In FUNAAB, the duration of an examination can be 2, 2.5, or 3 h. The time given on the timetable does not determine the time spent for the examination; the lecturer(s) determines that. Therefore, the preferable length of one timeslot is half an hour.
Considering the theory examination only, we have two sessions; morning (9 am–12 pm) and afternoon (2 pm–5 pm) for the examination. Maximizing the available facilities, examinations can be allocated to venues for 30 time period, considering the availability of venue for each session in the time period (three weeks). The Halls and their capacity are represented using one-dimensional array, respectively, where the name of a particular hall is referencing its capacity using the same index (as shown in Tables 4 and 5). The Examinations and their population will also be stored in one-dimensional array (as shown in Tables 6 and 7).
The total timeslots per day will be 12 with half an hour per timeslot. The day of the timeslot can be calculated by taking the ceiling of the number divided by 12. For example, the day of timeslot number 15 will be equal to the ceiling (15/12) = 2 (Tuesday) and the day of timeslot number 38 will be equal to the ceiling (38/12) = 4 (Thursday). The whole timeslots of a week can be represented by one-dimensional array as shown in Table 8, the first 12 elements (1–12) of the array will represent the timeslots for Monday, the second 12 elements (13–24) of the array will represent the timeslots of Tuesday, etc.
After the PSO algorithm has been applied, Tables 4, 5, and 8 are mapped to PSO to form Table 9. The total number of examinations is represented as one-dimensional array (Table 4) where the index of the array will represent implicitly the hall name and will also be used to calculate day and session of the day the examination is to hold.
After the allocation of examinations to venues using the PSO algorithm, local search algorithm is applied which works by searching for venues that fit for the population of each examination until examinations are exhausted.
3.2 Data Source
In this study, the examination timetable problem at the Federal University of Agriculture, Abeokuta was properly studied. The dataset presented in this study is a real data for 2016 undergraduate examinations for first and second semester. The dataset, the total number of examinations is 889 with about 15,000 students and 39 halls; the capacity of the venues for examinations is different from the normal capacity of venues due to the sitting arrangement during the examination. The number of examination days and timeslots are 15 days with 30 available timeslots. The dataset is available at TIMTEC of the Federal University of Agriculture, Abeokuta.
4 Implementation and Results Obtained
This section discusses the implementation and the experimental results obtained from the automatic PSO_LST timetable system. The minimum system requirement for this study includes Window XP or any compatible OS, NetBeans IDE/Eclipse, 2.4 GHz processor, 20 GB Hard disk, and 1 GB RAM. The following are the parameters required to execute this algorithm:
-
A list of all courses whose examination is to be done
-
A list of all Halls to be used for examination
-
The number of particles
-
The Constriction (Learning) factors
-
The Minimum fitness threshold
-
The Maximum fitness threshold
-
Days: the number of days required for the examinations.
Table 10 shows the venue and examination details for FUNAAB displaying the number of sessions per day.
4.1 Experimental Results
The algorithm has been tested using the first and second semester examination, session 2015/2016, of the Federal University of Agriculture, Abeokuta. Figure 3 shows the screenshot result from first semester examination scheduling test (Figs. 2, 4, and 5).
4.2 Results
This section gave an evaluation result of the FUNAAB examination timetable after using the particle swarm optimization technique and a result after combining the PSO and local search algorithm. Table 11 shows the table of the evaluation result obtained.
-
Allocation: total number of examinations successfully allocated to an examination hall.
-
Un-allocation: total number of examinations not successfully allocated to an examination hall.
-
Clashes: Conditions where two examinations are allocated to the same venue.
-
Multiple: a condition where a venue has been allocated more than one examination.
-
Duplication: a condition where an examination has been allocated multiple times.
From the summary of the results on Table 11, using Eqs. (3) and (4), a degree of accuracy of 84%, error of 10% for first semester and a degree of 77%, error of 22% for second semester was observed. Based on this result, PSO algorithm could not provide a perfectly feasible solution but a near-optimal solution with the integration of local search technique as its degree of accuracy is in the range of 77–84%. It is observed from the results that, when the value of the learning factors c1 and c2 equals 1; more optimal solutions are obtained compare to when c1 and c2 equals 2.
5 Conclusion
In this study, an enhanced particle swarm optimization algorithm was presented for the Federal University of Agriculture, Abeokuta, Nigeria examination timetable scheduling by integrating the local search technique. The integration of the local search technique in the scheduling process helped to increase the effectiveness of the algorithm and the degree of accuracy against using only PSO. From the results obtained, combination of the particle swarm optimization algorithm and local search technique for the University examination timetable approaches near-optimal solution. By using the method of integrating PSO algorithm and LS technique, this research may produce feasible timetable for E-examinations, laboratory, and college timetable. A future research consideration would be to apply the PSO algorithm, LS technique, and course sandwiching to the University course and examination timetable.
References
Jaengchuea, S., Lohpetch, D.: A hybrid genetic algorithm with local search and tabu search approach for solving the post enrolment based course timetabling problem: outperforming guided search genetic algorithm. In: International Conference on Information Technology and Electrical Engineering, pp. 29–34. IEEE, Chiang Mal (2015)
Legierski, W., Widawski, R.: System of automated timetabling. In: International Conference of Information Technology Interfaces (ITI), pp. 495–500. IEEE, Cavtat (2003)
Ahmad, A., Shaari, F.: Solving university/polytechnics exam timetable problem. In: 10th International Conference on Ubiquitous Information Management and Communication (IMCOM’16). Association for Computing Machinery, New York (2016)
Chen, R.-M., Shih, H.: Solving university course timetabling problems using constriction particle swarm optimization with local search. Algorithms J 6(2), 227–244 (2013)
Shaker, K., Abdullah, S.: Incorporating great deluge approach with kempe chain neighbourhood structure for curriculum-based course timetabling problems. In: Conference on Data Mining and Optimization, pp. 149–153. IEEE, Selangor (2009)
Guo, X., Sun, H., Wu, J., Jin, J., Zhou, J., Gao, Z.: Multiperiod-based timetable optimization for metro transit networks. Elsevier J Transp Res Part B 96, 46–67 (2017)
Aziz, M.A., Taib, M.N., Hussin, N.M.: An improved event selection technique in a modified PSO algorithm to solve class scheduling problems. In: IEEE Symposium on Industrial Electronics and Applications, pp. 203–208. IEEE, Kuala Lumpur (2009)
Li, L., Liu, S.-H.: Study of course scheduling based on particle swarm optimization. In: Cross Strait Quad-Regional Radio Science and Wireless Technology Conference (CSQRWC), pp. 1692–1695. IEEE, Harbin (2011)
Shiau, D.-F.: A hybrid particle swarm optimization for a university course scheduling. J Expert Syst Appl 38(1), 235–248 (2011)
Pillay, N.: Evolving construction heuristics for the curriculum based university course timetabling problem. IEEE Congress Evolutionary Computation (CEC), pp. 4437–4443 (2016)
Ilyas, R., Iqbal, Z.: Study of hybrid approaches used for university course. In: IEEE 10th Conference on Industrial Electronics and Applications, pp. 696–701, Auckland (2015)
Oswald, C., Anand, D.C.: Novel hybrid PSO algorithms with search optimization strategies for a university course timetabling problem. In: 5th International Conference on Advanced Computing (ICoAC), pp. 77–85. IEEE, Chennai (2013)
Tassopoulos, I.X., Beligiannis, G.N.: Solving effectively the school timetabling problem using PSO. Expert Syst. Appl. 39(5), 6029–6040 (2012)
Najdpour, N., Feizi-Derakshi, M.-R.: A two-phase evolutionary algorithm for the university course timetabling problem. In: International Conference on Software Technology and Engineering, pp. 266–271. IEEE, San Juan (2010)
Bhatt, V., Sahajpal, R.: Lecture timetabling using hybrid genetic algorithms. In: International Conference on Intelligent Sensing and Information Processing (ICSIP), pp. 29–34. IEEE, Chennai (2009)
Karol, B., Tomasz, B., Henry, K.: Parallelization of genetic algorithms for solving university timetabling problems. Parallel Computing in Electrical Engineering. IEEE Computing Society Technical Committee on Parallel Processing (TCPP). IEEE, Great Britain (2006)
Komaki, H., Shimazaki S., Sakakibara,K., Matsumoto, T.: Interactive optimization techniques based on a column generation model for timetabling problems of university makeup courses. In: Computational Intelligence and Applications (IWCIA), 2015 IEEE 8th International Workshop on, pp. 127-130. IEEE (2015)
Acknowledgements
We acknowledge the support and sponsorship provided by Covenant University through the Centre for Research, Innovation and Discovery (CUCRID).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this chapter
Cite this chapter
Abayomi-Alli, O., Abayomi-Alli, A., Misra, S., Damasevicius, R., Maskeliunas, R. (2019). Automatic Examination Timetable Scheduling Using Particle Swarm Optimization and Local Search Algorithm. In: Shukla, R.K., Agrawal, J., Sharma, S., Singh Tomer, G. (eds) Data, Engineering and Applications. Springer, Singapore. https://doi.org/10.1007/978-981-13-6347-4_11
Download citation
DOI: https://doi.org/10.1007/978-981-13-6347-4_11
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-6346-7
Online ISBN: 978-981-13-6347-4
eBook Packages: Computer ScienceComputer Science (R0)