Implementation of Genetic Algorithm for Automatic Course Scheduling Optimization

Authors

  • Rakhmi Khalida Universitas Bhayangkara Jakarta Raya, Indonesia
  • Situmorang Ondo Palito Tua Universitas Bhayangkara Jakarta Raya, Indonesia
  • Dwi Budi Sri Sulistiowati Universitas Bhayangkara Jakarta Raya, Indonesia
  • Siti Setiawati Universitas Bhayangkara Jakarta Raya, Indonesia

DOI:

https://doi.org/10.30983/knowbase.v5i2.10260

Keywords:

Scheduling, Genetic Algorithm, Local Search, Optimization, Vocational High School

Abstract

Course scheduling in vocational high schools (SMK) constitutes a complex combinatorial optimization problem involving multiple hard and soft constraints related to teacher availability, class allocation, and time-slot distribution. Although Genetic Algorithms (GA) have been extensively applied in educational timetabling, existing studies largely emphasize standalone optimization or desktop-based solutions, with limited analytical evaluation of refinement strategies and system-level applicability. This study addresses this gap by empirically evaluating a hybrid GA–Local Search (LS) approach embedded within a web-based scheduling framework. GA is utilized as a global search mechanism to generate feasible schedules that satisfy all hard constraints, while LS is applied as a post-optimization phase to improve solution quality by reducing soft constraint violations. Experiments were conducted using real scheduling data from SMK Yadika 13 Bekasi, involving 3 subjects, 3 teachers, 4 classes, and 12 time slots within a single-day scenario. Although limited in scale, this configuration was deliberately selected to enable transparent analysis of the optimization dynamics and refinement impact of the proposed hybrid approach. The results show that the pure GA produces five soft constraint violations, mainly due to suboptimal placement of cognitively demanding subjects and uneven subject distribution. After applying LS, violations were reduced to two cases, with the fitness value improving from 0.873 to 0.946 and only a marginal increase in computation time (5–7 seconds). These findings demonstrate that local refinement significantly enhances schedule quality beyond conflict-free feasibility. This study contributes scientifically by providing an empirical assessment of GA–LS hybridization for soft-constraint optimization and by establishing a scalable web-based framework that supports future extensions to full-week scheduling and adaptive academic systems

References

S. B. Saputra and E. W. Pamungkas, “Development of scheduling system with genetic algorithm in website-based SMK Negeri 1 Sine,” J. Tek. Inform., 2023.

Z. Maulana, Fadlisyah, and F. Fajriana, “Sistem penjadwalan pada Dayah Darul Muarrif Al-Aziziyah menggunakan metode algoritma genetika,” Rabit J. Teknol. dan Sist. Inf. Univrab, 2025.

A. F. Rizki and M. Hardiyanti, “Sistem penjadwalan mata pelajaran menggunakan algoritma genetika SMK PGRI Rawalumbu,” J. Manaj. Inform. Jayakarta, 2024.

H. Wang, “Genetic Algorithm with Local Search for Multi-Target Scheduling,” World Sci. J., 2022.

X. Han, “Gradual Optimization of University Course Scheduling using GA,” Algorithms, 2025.

“Improving timetable efficiency using genetic algorithms,” J. Komput. dan Sist. Inf., 2024.

“Optimasi penjadwalan sekolah menggunakan algoritma genetika,” JATIS J. Tek. Inform. dan Sist., 2023.

D. Nasien and A. Andi, “Optimization of Genetic Algorithm in Courses Scheduling,” Inf. Technol. J. Res. Dev., 2022, [Online]. Available: https://journal.uir.ac.id/index.php/ITJRD/article/view/7896

P. R. de L. Andrade, M. T. A. Steiner, and A. R. T. Góes, “Optimization in timetabling in schools using mathematical model and Iterated Local Search,” Gestão & Produção, 2019, doi: 10.1590/0104-530x3241-19.

V. Kralev, “Combining Genetic Algorithm with Local Search Method,” Electronics, 2024.

A. R. Mahlous and others, “Student Timetabling Genetic Algorithm Accounting for Preferences,” Appl. Sci., 2023, doi: 10.3390/app13052951.

S. Anita, “Local Search Algorithm dalam Penyusunan Jadwal Asisten Laboratorium,” J. Teknol. dan Inf. (SINTA 2), 2022.

A. Rosadi and F. Fitriani, “Guided Local Search untuk Penyelesaian Masalah Assignment pada Industri Pendidikan,” J. Rekayasa Sist. Ind. (SINTA 2), 2022.

R. Afira and R. Wijaya, “Penjadwalan mata pelajaran dengan algoritma genetika: Studi kasus SMK Negeri 1 Padang,” J. KomtekInfo, 2024.

L. A. Pangestu, S. H. Suryawan, and A. J. Latipah, “Penerapan algoritma genetika dalam penjadwalan mata pelajaran,” J. Inform., 2024.

Q. Zhang, “An optimized solution to the course scheduling problem using coevolutionary Genetic Algorithms,” Gruyter Open Math., 2022.

H. K. Mammi and L. Y. Ying, “Timetable Scheduling System using Genetic Algorithm for School of Computing (tsuGA),” Int. J. Informatics Comput., 2021, [Online]. Available: https://ijic.utm.my/index.php/ijic/article/view/342

P. Rahayu and Syafrizal, “Pendekatan Heuristik dan Local Search untuk Penjadwalan Mengajar Guru,” J. Transform. (SINTA 2), 2023.

“Sistem penjadwalan pada Dayah Darul Muarrif Al-Aziziyah menggunakan GA,” Rabit J. Teknol. dan Sist. Inf. Univrab, 2025.

B. Rianto and P. Lestari, “Kombinasi Genetic Algorithm dan Local Search untuk Penjadwalan Pegawai,” J. Sist. Inf. Bisnis (SINTA 2), 2022.

S. Chawla and P. Verma, “A modified GA-LS hybrid for solving complex scheduling problems,” Int. J. Intell. Syst. Appl., vol. 13, no. 6, pp. 45–57, 2021, doi: 10.5815/ijisa.2021.06.05.

Jemakmun and M. S. Arkan, “Implementasi Algortima Genetika Dalam Sistem Penjadwalan Mata Pelajaran Pada SMP Negeri 3 Pemulutan Berbasis Web,” INFOTECH J., vol. 8, no. 2, pp. 67–73, 2022.

C. Wang, Y. Zhang, and H. Zhou, “Improved Genetic Algorithm for Educational Timetabling Using Adaptive Fitness Functions,” Appl. Intell., vol. 53, no. 7, pp. 9214–9233, 2023, doi: 10.1007/s10489-022-03600-7.

A. K. Nugroho, I. Permadi, and A. R. Yasifa, “Optimizing Course Scheduling Using Genetic Algorithms,” J. Inform. dan Teknol. Komput., 2022.

Y. Zhang and J. Huang, “An Optimization Method of Course Scheduling Problem Based on Improved Genetic Algorithm,” in Proceedings of the International Conference on Artificial Intelligence and Data Science (AIDAS 2022), Springer, 2022, pp. 310–319. doi: 10.1007/978-981-19-1256-6_27.

K. P. Dahal and others, “Roulette-wheel selection and adaptive crossover for timetable generation,” Appl. Intell., vol. 51, no. 12, pp. 8330–8345, 2021, doi: 10.1007/s10489-020-02139-1.

Q. A. Ayasy Siagian, M. S. Hasibuan, and S. Suhardi, “Sistem penjadwalan mata pelajaran memakai algoritma genetika berbasis web,” Infomatek, 2024.

A. S. Utami, A. I. Martinus, F. Wicaksono, and R. M. Yudha, “Course Scheduling Using Genetic Algorithms Enhanced by Linear Regression,” J. Teknol. Inf. dan Komput., 2021, [Online]. Available: https://jurnalnasional.ump.ac.id/index.php/JUITA/article/view/25598

A. Fekih, F. Yalaoui, and L. Amodeo, “Local Search Optimization for Scheduling with Resource Constraints,” Expert Syst. Appl., vol. 165, pp. 113–128, 2020, doi: 10.1016/j.eswa.2020.113828.

M. Mendoza, E. Fernandes, and H. Santos, “Adaptive Local Search Techniques for Educational Scheduling Problems,” Comput. & Oper. Res., vol. 144, p. 105826, 2022, doi: 10.1016/j.cor.2022.105826.

D. Subekti and A. Najib, “Enhanced Local Search for Improving School Timetabling Quality,” J. Teknol. Inf. dan Komun. (SINTA 2), 2024.

A. Nugroho, “Local Search-Based Improvement Heuristic untuk Penjadwalan Pelajaran Otomatis,” J. Pilar Teknol. (SINTA 2), 2021.

X. Han, P. Li, and X. Zhou, “Gradual Optimization of University Course Scheduling Using GA and Local Search,” Algorithms, vol. 15, no. 12, 2022.

C. Wang and B. Wang, “An Improved Genetic Algorithm for College Course Scheduling,” in Proceedings of the International Conference on Advanced Computational Intelligence (ICACI 2023), EAI / Springer, 2023. doi: 10.1007/978-3-031-65126-7_40.

A. Fauzan and I. Purnama, “Local Search Optimization for Reducing Soft-Constraint Violations in High School Timetabling,” J. Ilm. Komput. dan Inform. (SINTA 2), 2025.

M. Velez Falconí, “Virtual and Face-to-face Course Timetabling using Multiobjective Genetic Algorithms,” University Thesis, 2022.

A. Rezaeipanah, S. S. Matoori, and G. Ahmadi, “A hybrid method based on Improved Parallel Genetic Algorithm and Local Search (IPGALS) for course timetabling,” Appl. Intell., 2021, doi: 10.1007/s10489-020-01833-x.

V. Kralev, “Combining Genetic Algorithm with Local Search Method for Optimization Problems,” Electronics, vol. 12, no. 2, p. 244, 2023, doi: 10.3390/electronics12020244.

Downloads

Published

2025-12-31

How to Cite

Rakhmi Khalida, Situmorang, Dwi, & Setiawati, S. (2025). Implementation of Genetic Algorithm for Automatic Course Scheduling Optimization. Knowbase : International Journal of Knowledge in Database, 5(2), 218–231. https://doi.org/10.30983/knowbase.v5i2.10260

Citation Check