Abstract
University timetabling is a real-world problem frequently encountered in higher education institutions. It has been studied by many researchers who have proposed a wide variety of solutions. Measuring the variation of the performance of solution approaches across instance spaces is a critical factor for algorithm selection and algorithm configuration, but because of the diverse conditions that define the problem within different educational contexts, measurement has not been formally addressed within the university timetabling context. In this paper, we propose a set of metrics to predict the performance of combinatorial optimization algorithms that generate initial solutions for university timetabling instances. These metrics, derived from the fields of enumerative combinatorics and graph coloring, include size-related instance properties, counting functions, feature ratios and constraint indexes evaluated through a feature selection methodology that, based on regression algorithms, characterizes the empirical hardness of a subspace of synthetically generated instances. The results obtained with this methodology show the current need not only to develop solution strategies for particular cases of the problem, but also to produce a formal description of the conditions that make instance spaces hard to solve, in order to improve and integrate the available solution approaches.
Similar content being viewed by others
Notes
From the available 16 types of XHSTT constraints described in Table 1, Distribute Split Events Constraint and Order Events Constraint are not used by the instance generator.
References
Barr, R. S., Golden, B. L., Kelly, J. P., Resende, M. G., & Stewart, W. R. (1995). Designing and reporting on computational experiments with heuristic methods. Journal of Heuristics, 1, 9–32.
Bonutti, A., De Cesco, F., Di Gaspero, L., & Schaerf, A. (2012). Benchmarking curriculum-based course timetabling: Formulations, data formats, instances, validation, visualization, and results. Annals of Operations Research, 194, 59–70.
Bouajaja, S., & Dridi, N. (2016). A survey on human resource allocation problem and its applications. Operational Research, 17, 1–31.
Brito, S. S., Fonseca, G. H., Toffolo, T. A., Santos, H. G., & Souza, M. J. (2012). A SA-VNS approach for the high school timetabling problem. Electronic Notes in Discrete Mathematics, 39, 169–176.
Cooper, T. B., & Kingston, J. H. (1995). The complexity of timetable construction problems. International conference on the practice and theory of automated timetabling (pp. 281–295). Berlin: Springer.
Di Gaspero, L., McCollum, B., & Schaerf, A. (2007). The second international timetabling competition (ITC-2007): Curriculum-based course timetabling (track 3). Technical report. Technical Report QUB/IEEE/Tech/ITC2007/CurriculumCTT/v1. 0, Queen’s University, Belfast, United Kingdom.
DMPP Group UoT (2014). Overview XHSTT-2014 (Instances and best solutions). https://www.utwente.nl/en/eemcs/dmmp/hstt/archives/XHSTT-2014/overview.html. Retrieved on May 5, 2017.
Fonseca, G. H., & Santos, H. G. (2014). Variable neighborhood search based algorithms for high school timetabling. Computers & Operations Research, 52, 203–208.
Fonseca, G. H., Santos, H. G., Carrano, E. G., & Stidsen, T. J. (2017). Integer programming techniques for educational timetabling. European Journal of Operational Research, 262, 28–39.
Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics, 29, 1189–1232.
Guyon, I., Weston, J., Barnhill, S., & Vapnik, V. (2002). Gene selection for cancer classification using support vector machines. Machine Learning, 46, 389–422.
Hastie, T., Tibshirani, R., Friedman, J., & Franklin, J. (2005). The elements of statistical learning: Data mining, inference and prediction. The Mathematical Intelligencer, 27, 83–85.
Kanda, J., de Carvalho, A., Hruschka, E., Soares, C., & Brazdil, P. (2016). Meta-learning to select the best meta-heuristic for the traveling salesman problem: A comparison of meta-features. Neurocomputing, 205, 393–406.
Kheiri, A., Ozcan, E., & Parkes, A. J. (2012). Hysst: Hyper-heuristic search strategies and timetabling. In: Proceedings of the ninth international conference on the practice and theory of automated timetabling (PATAT 2012) (pp. 497–499). Citeseer.
Kingston, J. H. (2016). A software library for high school timetabling. http://www.it.usyd.edu.au/~jeff/khe/. Retrieved on November 2016.
Kostuch, P., & Socha, K (2004). Hardness prediction for the university course timetabling problem. In: European conference on evolutionary computation in combinatorial optimization (pp. 135–144). Springer.
Kotthoff, L. (2014). Algorithm selection for combinatorial search problems: A survey. Ai Magazine, 35, 48–60.
Kristiansen, S., Sørensen, M., & Stidsen, T. R. (2015). Integer programming for the generalized high school timetabling problem. Journal of Scheduling, 18, 377–392.
Leyton-Brown, K., Nudelman, E., & Shoham, Y. (2002). Learning the empirical hardness of optimization problems: The case of combinatorial auctions. In: International conference on principles and practice of constraint programming (pp. 556–572). Springer.
Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. In: Advances in neural information processing systems (pp. 4768–4777).
McCollum, B., Schaerf, A., Paechter, B., McMullan, P., Lewis, R., Parkes, A. J., et al. (2010). Setting the research agenda in automated timetabling: The second international timetabling competition. INFORMS Journal on Computing, 22, 120–130.
Messelis, T., & De Causmaecker, P. (2014). An automatic algorithm selection approach for the multi-mode resource-constrained project scheduling problem. European Journal of Operational Research, 233, 511–528.
MirHassani, S., & Habibi, F. (2013). Solution approaches to the course timetabling problem. Artificial Intelligence Review, 39, 1–17.
Ochiai, H., Kanazawa, T., Tamura, K., & Yasuda, K. (2016). Combinatorial optimization method based on hierarchical structure in solution space. Electronics and Communications in Japan, 99, 25–37.
Pillay, N. (2014). A survey of school timetabling research. Annals of Operations Research, 218, 261–293.
Post, G., Kingston, J. H., Ahmadi, S., Daskalaki, S., Gogos, C., Kyngas, J., et al. (2014). Xhstt: An xml archive for high school timetabling problems in different countries. Annals of Operations Research, 218, 295–301.
Rodriguez-Maya, N., Flores, J. J., & Graff, M. (2016). Predicting the RCGA performance for the university course timetabling problem. In: International symposium on intelligent computing systems (pp. 31–45). Springer.
Rossi-Doria, O., Sampels, M., Birattari, M., Chiarandini, M., Dorigo, M., Gambardella, L. M., Knowles, et al. (2002). A comparison of the performance of different metaheuristics on the timetabling problem. In: International conference on the practice and theory of automated timetabling (pp. 329–351). Springer.
Sahargahi, V., & Drakhshi, M. (2016). Comparing the methods of creating educational timetable. International Journal of Computer Science and Network Security (IJCSNS), 16, 26.
Smith-Miles, K., James, R., Giffin, J., & Tu, Y. (2009). Understanding the relationship between scheduling problem structure and heuristic performance using knowledge discovery (p. 3). LION: Learning and Intelligent Optimization.
Smith-Miles, K., & Lopes, L. (2011). Generalising algorithm performance in instance space: A timetabling case study. In: International conference on learning and intelligent optimization (pp. 524–538). Springer.
Smith-Miles, K., & Tan, T. T. (2012). Measuring algorithm footprints in instance space. In: 2012 IEEE congress on evolutionary computation (CEC) (pp. 1–8). IEEE.
Soghier, A., & Qu, R. (2013). Adaptive selection of heuristics for assigning time slots and rooms in exam timetables. Applied Intelligence, 39, 438–450.
Soria-Alcaraz, J. A., Ochoa, G., Swan, J., Carpio, M., Puga, H., & Burke, E. K. (2014). Effective learning hyper-heuristics for the course timetabling problem. European Journal of Operational Research, 238, 77–86.
Štrumbelj, E., & Kononenko, I. (2014). Explaining prediction models and individual predictions with feature contributions. Knowledge and Information Systems, 41, 647–665.
Teoh, C. K., Wibowo, A., & Ngadiman, M. S. (2015). Review of state of the art for metaheuristic techniques in academic scheduling problems. Artificial Intelligence Review, 44, 1–21.
Yu, L., & Liu, H. (2004). Efficient feature selection via analysis of relevance and redundancy. Journal of Machine Learning Research, 5, 1205–1224.
Acknowledgements
We gratefully acknowledge the support of CONACYT-Mexico (Reg. 618204/461410) and the helpful suggestions of the reviewers.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Conditions that can be modeled by the CB-CTT instance generator
Conditions that can be modeled by the CB-CTT instance generator
Condition | Description | |
---|---|---|
1 | Assign teachers | Classes must have an assigned teacher |
2 | Assign rooms | Classes must have an assigned room |
3 | Assign times | Classes must be scheduled for the number of time slots required by their durations |
4 | Avoid clashes | Resources (i.e., curricula, teachers, and rooms) must not be assigned to different lectures at the same time |
5 | Split theory event | Specifies the valid set of lecture configurations in which classes of theory courses (which do not require a laboratory) can be scheduled |
6 | Split practice event | Specifies the valid set of configurations in which classes of practice courses (which require a laboratory) can be scheduled |
7 | Prefer teachers | Defines the subset of classes to which teachers can be allocated |
8 | Prefer rooms | Defines the subset of classes to which rooms and laboratories can be allocated |
9 | Prefer times | Limits a randomly selected percentage of classes to be scheduled only on a user-defined set of days |
10 | Teachers stability | Requires that all lectures derived from a class must be allocated to the same teacher |
11 | Rooms stability | Requires that all lectures derived from a class must be allocated to the same room |
12 | Courses stability | Requires that all lectures derived from a class which requires both a classroom (for theory instruction) and a laboratory (for practice activities) are allocated the same teacher |
13 | Single lecture | Requires that for each class only one lecture be scheduled per day |
14 | Daily lecture | Requires that a randomly selected percentage of classes be scheduled in a daily basis, within a user-defined set of days. |
15 | Link events | Requires that all lectures derived from a set of classes be scheduled simultaneously. This set of classes is defined by randomly selecting a class from each one of the active terms in the curricular plan |
16 | Working shifts | Requires that teachers be allocated only in the set of time slots defined by their work shifts |
17 | Study shifts | Requires that curricula be allocated only in the set of time slots defined by their study shifts |
18 | Idle times of part-time teachers | Specifies the range of daily idle time slots that part-time teachers must have |
19 | Idle times of curricula | Specifies the range of daily idle time slots that curricula must have |
20 | Busy days of full-time teachers | Specifies the number of working days that full-time teachers must give classes |
21 | Busy days of part-time teachers | Specifies the number of working days that part-time teachers must give classes |
22 | Busy days of curricula | Specifies the number of days that curricula must be assigned classes |
23 | Daily workload of full-time teachers | Specifies the number of daily time slots that full-time teachers must give classes |
24 | Daily workload of part-time teachers | Specifies the number of daily time slots that part-time teachers must give classes |
25 | Daily workload of curricula | Specifies the number of daily time slots that curricula must attend classes |
26 | Weekly workload of full-time teachers | Limits the number of weekly time slots that full-time teachers can be allocated |
27 | Weekly workload of part-time teachers | Limits the number of weekly time slots that part-time teachers can be allocated |
Rights and permissions
About this article
Cite this article
de la Rosa-Rivera, F., Nunez-Varela, J.I., Puente-Montejano, C.A. et al. Measuring the complexity of university timetabling instances. J Sched 24, 103–121 (2021). https://doi.org/10.1007/s10951-020-00641-y
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10951-020-00641-y