Skip to content
Open access

MODEL OF AUTOMATED SCHEDULE GENERATION BASED ON A GENETIC ALGORITHM

Oct 2026 · Radio Engineering and Telecommunication System · 0 citations

Abstract

The article considers the problem of automating class scheduling in a general education school. This problem belongs to the class of multi-criteria discrete optimization problems and is characterized by a large number of constraints: sanitary and epidemiological norms (SanPiN), availability of teachers and classrooms, curricula, distribution of complex and easy subjects during the day and week, as well as specific school requirements, such as conducting "Conversations about Important Things" as the first lesson with the class teacher and dividing classes into subgroups for a foreign language and computer science. The relevance of the work is due to the fact that manual planning in modern schools is extremely labor-intensive and does not guarantee optimality, while existing software products either generate feasible but not the best options or are insufficiently flexible to take into account all the requirements of a particular educational institution. A genetic algorithm simulating natural selection is proposed as a solution method. The choice is due to its effectiveness for problems with a large search space and many constraints. A mathematical model has been developed that formalizes all types of constraints as a penalty function. For each type of violation, a separate penalty component is introduced: exceeding the permissible number of lessons, incorrect placement of complex and easy subjects, absence of "Conversations about Important Things" as the first lesson, uneven teacher workload, time overlaps, and errors in dividing into subgroups. All weight coefficients are taken equal to one, but the model allows them to be adjusted to the requirements of a particular school. The genetic algorithm includes population initialization based on greedy heuristics, tournament selection, two-point crossover with protection of fixed genes, and mutation of non-fixed elements. An elitism strategy is used to preserve the best solutions. The algorithm is implemented in Python with a PyQt5 graphical interface and an Excel export module. Computational experiments were conducted on test data simulating a typical school with 11 classes, 35 teachers, 18 subjects, and 20 classrooms. The experiments showed that with optimal parameters (population size 50–70, number of generations 200–300, crossover probability 0.85, mutation probability 0.03), the algorithm converges to a solution with minimal penalty in 1–2 minutes on a standard PC. For all classes, schedules were obtained without overlaps in teachers and classrooms, with compliance with sanitary norms and an even distribution of workload across the days of the week. The novelty of the work lies in the comprehensive penalty function that combines sanitary norms with the specific requirements of the school, and in the adapted operators of the genetic algorithm. The practical significance consists in the possibility of using the developed system to automate the work of school administration, reduce time costs for planning, and improve the quality of the educational process.Keywords: isochrony, distributed parallel computing, network structure information system.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.