Program for the head teacher schedule. The problem of complete automation in creating a school schedule

On September 1, 2011, new SanPiN requirements came into force. A feature of the new requirements is the introduction of a detailed difficulty scale for each subject. Now the difficulty of each subject is assessed in points for grades 1-4, separately for grades 5, 6, 7, 8 and 9, and for grades 10-11. When scheduling, students' heaviest workload, calculated in points, should occur on Tuesday and/or Wednesday.

Programs for scheduling "Rector 3" and "Rector-School" provide support for drawing up lesson schedules taking into account the new requirements of SanPiN. Below we will look at the sequence of scheduling when switching to new SanPiN requirements in the Rector 3 program. All actions in the Rector-School program look similar.

Our plan is this:

  1. Setting up fines for violating SanPiN requirements.
  2. Entering a difficulty scale for each subject.
  3. Drawing up a schedule taking into account SanPin requirements.

The presentation of the material is aimed at experienced users. For beginners, we recommend that you first read the program manual.

Setting up fines for violating SanPiN requirements

The values ​​of fines for violating SanPiN requirements are set in the Parameters dialog on the SanPiN tab. To open the dialog, launch the program and in the Settings menu, select the Options command, as shown in the screenshot.

As a result, the Options dialog will open:

Go to the SanPiN tab:

As can be seen from the screenshot, in this case the values ​​of fines for violating SanPiN requirements are equal to 10. In order to give more weight to the SanPiN requirements, we will increase all fines to 50:

To save the new values, click OK.

Is it possible to set values ​​other than 10 and 50? Yes, you can. Fines are specified in relative units and must be non-negative numbers. The most important thing is that the fines must be balanced with each other, that is, the fines on the SanPiN tab must be balanced with the fines on the Classes and Teachers tabs.

Why are fines set separately for grades 1-9 and 10-11, since the SanPiN requirements for maximum load are the same for all classes? The requirements of SanPiN cannot be violated, but if we assume that small deviations are possible, then they are more likely for high schools and the program allows you to do this.

Entering a difficulty scale for each subject

In the new version of the program, in the file with demo data, the difficulty scale for each subject has already been entered in accordance with the new requirements of SanPiN. However, if you have been using the schedule program for more than a year, then you probably need to set the difficulty of the subjects in points again, since previously the difficulty of the subject was either constant or depended only on the level of study.

To do this, go to the Lists section on the Items page. Your list of items might look something like this:

Double-click on the line with the name of the item to open the Item Properties dialog.

Make sure that in the List of subjects according to SanPiN window, the program correctly determined the name of the subject (in the screenshot, the name of the subject “Algebra” coincides with the name of the subject according to SanPiN - “Algebra”). In some cases, the program will not be able to independently determine the name of the item according to SanPiN. First of all, this concerns languages. While the program uses the usual “Russian language,” “English language,” “German language.” etc., in SanPiN there are only “national language” and “foreign language”. If the program could not correctly determine the name of the item according to SanPiN, do it manually.

Now click on the Install button. A “green wave” will run along the difficulty scale on the left side of the dialogue and the recommended values ​​will be set.

If necessary, points can be adjusted manually.

Drawing up a schedule taking into account SanPin requirements

When automatically creating a schedule (Find button on the toolbar, see Help and Program Guide for more details), the program takes into account the requirements of SanPiN. The program window with your data may look something like this:

On the screenshot:

  1. The difficulty of the subject in points for the current class is 5a.
  2. Total workload of the current class on Tuesday (sum of points in all subjects on Tuesday).
  3. Red color shows the day of the week on which the total load exceeds the load on Tuesday and/or Wednesday.
  4. The day of the week on which the total load is equal to the load on Tuesday and/or Wednesday is shown in brown.
  5. The labels of classes whose schedule has been drawn up, but in violation of the requirements of SanPiN, are shown in pale green.

There are eight main modifications of the program for various educational institutions:
. AVTOR School - for secondary schools, lyceums and gymnasiums;
. AVTOR College - for colleges, technical schools and vocational schools;
. AVTOR Art College - for schools of art and culture;
. AVTOR High School - for universities (full-time education);
. AVTOR High School Semestric - for universities (correspondence courses);
. AVTOR M High School Semestric - for military universities;
. AVTOR Educational Centers - for training centers, educational programs and educational programs;
. AVTOR High Shool Pro - for universities with several remote academic buildings, taking into account the travel time between them (full-time and part-time forms of study, network version).

History of the creation and development of the system.
. The first version of the AUTOR-2 program (under MS DOS) was developed by RSU researcher Igor Gubenko in April 1993. The program was originally intended for scheduling at a multidisciplinary lyceum at RSU with intensive study of a foreign language, computer science and many special subjects (where classes are divided into 2-4 subgroups and can be combined into streams). Already the first version of the program made it possible to build correct schedules.
. Then the program was tested in several more schools in Rostov-on-Don. The experience of many head teachers and the specifics of the schedules of various schools were taken into account. The program was significantly improved and implemented over 2 years in more than ten schools, lyceums and gymnasiums.
. By 1996, the author managed to develop a unique algorithm for automatically constructing and optimizing schedules, which made it possible to significantly increase the power of the program. In the same year, the first version of AUTOR-2 was released for colleges and for a small university.
. In 1997-98 the author develops and successfully implements the first version of the program for a large university with several academic buildings (RGUE "RINH").
. In 2000, the first WIN version of the AVTOR-2000 program was released for all types of educational institutions.
. In 2001, a version of the program was released with an interface in three languages: Russian, Ukrainian and English.
. In 2001, the first university version for distance learning was put into operation.
. In 2002, a network version of the program for universities appeared with several workstations and a common database of audiences.
. In 2003, AVTOR-2003 was successfully integrated into a single package with the PPP "Plany" (YURGUES), which made it possible to automate the entry of the database into the program and build a complete schedule of this university in 2 hours! In YURGUES (Shakhty) there are 7 educational buildings, two of them are located far away. Previously, the same schedule was compiled manually by two methodologists in 2-3 months.
. In 2004, a version of the AVTOR program was developed for military universities.
. In 2005, a version of AVTOR was released for schools of culture and art, as well as for training centers.


Clients.

Currently, the AVTOR program is successfully used by more than three hundred educational institutions in Russia, Ukraine, Belarus, the Baltic states and Kazakhstan. Among them: Don Real Gymnasium (secondary school No. 62), Classical Lyceum at the Russian State University, secondary school No. 104, No. 38, No. 67, No. 81, No. 52, No. 92, No. 27, No. 46, No. 69, No. 83 (Rostov- on-Don), secondary school No. 297, No. 1117 (Moscow), secondary school No. 315, No. 17, Gymnasium of Oriental Languages ​​(Kiev), secondary school No. 44 (Zaporozhye), Tikhoretsky College of Railway Transport, Beloyarsk Pedagogical College, Rostov Mechanical Engineering College, RGUE "RINH", IUBiP, SKAGS, RGASHM, RGSU (Rostov-on-Don), YURGUES (Shakhty), RGAU named after Timiryazev (Moscow), MU Ministry of Internal Affairs of Russia (Moscow), Irkutsk State University, Institute of Foreign Languages, USPU, USU (Ekaterinburg), SGSEU (Saratov), ​​as well as dozens of other schools, lyceums, gymnasiums, colleges and universities.

Specifications.
The running time of the program depends on the size of the educational institution and the power of the computer. A complete calculation and optimization of the schedule for a medium-sized school with complex initial data (40 classes, 80 teachers, more than 10 part-time teachers; two shifts; shortage of classrooms) takes about 2-3 minutes on a Celeron-2000 computer.

AVTOR allows you to:

    build a schedule without "ok"He" in classes (study groups);

    optimize in schedule"windows" of teachers;

    consider the required range of days/hours for classes, for teachers and for classrooms;

    take into account the nature of the work and the wishes of both full-time employees and part-time hourly workers;

    optimally place classes in classrooms (auditoriums), taking into account the characteristics of classes, subjects, teachers’ priorities and classroom capacity;

    enter call schedule;

    installtransition time (transition time)ezda) between academic buildings;

    optimize the number of transitions from cabinet to cabinT, and from body to body;

    easily connect any classes (study groups) into streams when conducting any classes;

    divide classes (study groups) when conducting classes in a foreign language, physical education, labor, computer science (and any other subjects) into any number of subgroups (up to ten!);

    introduce combined lessons for subgroups (such as “foreign/computer science”) in any subjects;

    introduce (in addition to the main subjects) special courses and electives;

    optimize the uniformity and labor intensity of the schedule;

    easily and quickly enter and adjust source data;

    have any number of schedule options;

    automatically convert schedules when the database changes;

    easy to save in archives, copy and send viaE- mailcomplete databases and schedule options (the volume of the archive of the complete database of secondary school schedules is 10-30K, large university - 50-70K);

    quickly make any necessary adjustments to the schedule;

    find replacements for temporarily absent teachers;

    automatically control the schedule, eliminating any “overlaps” and contradictions;

    display schedules in the form of convenient and visual documents: text,Word, HTML, as well as filesdBaseand booksExcel;

    post ready-made schedules on the local network and on Internet pages for public access.

Difference from analogues.
A comparative analysis of the work of the AVTOR program and programs from other developers has been repeatedly carried out by specialists from various educational institutions. The research results are published on well-known Internet sites, as well as in reports at conferences and master classes. It was concluded that AVTOR has the most powerful algorithm for automatically creating and optimizing schedules: working 10-20 times faster than its analogues, the program builds better schedules according to many criteria. For example, the number of “windows” in teachers’ schedules is 2-3 times less than when using other programs.
AVTOR is a program with unique capabilities. Main advantages compared to similar CIS programs:
. speed, compactness of system files and the ability to work in verylargeeducational institutions with complex schedules;
. high level of automation (accommodates 100% of possible classes);
. high performance:cThe system allows you to create a new schedule during one work session, and then quickly adjust, save, and print various schedule options, modifying them if necessary throughout the academic year;
. powerful automated SCHEDULE EDITOR,whichallows you to easily perform ANY actions with the schedule (adding, deleting, rearranging classes, calculating and optimizing the schedule, changing rooms, replacing teachers, etc.). At the same time, the program clearly and conveniently suggests various options for rearrangements (changes) of the schedule and compares their quality;
. availability of detailed statistics and objective assessment of the quality of any schedule option;
. ability to support any national language (at the client’s request).

Adaptation and configuration of the program.
At the request of the customer, AVTOR is modified and customized to suit the conditions of a specific educational institution (taking into account the specifics of the educational process, operating mode, form of documents, etc.).

Download it to your phone so you don’t forget anything and won’t be late for anything.

Android

Timetable

A beautiful and intuitive application for managing school life. You can enter your schedule, homework, exams, and even vacations. The application can synchronize with all your Android devices, and during classes it will go into silent mode.

School diary

In this electronic diary you can keep a schedule, indicating the name and telephone number of the teacher, as well as the location of the lesson. To make sure you don’t forget anything, the application has widgets for your phone’s home screen. It is also possible to take notes on subjects and grade them. But perhaps the most pleasant feature is crossing off completed homework.

LightSchool

Allows you not only to maintain a schedule and record homework, but also to track the time before the start or end of the lesson. A special feature is the presence of theoretical materials. If you suddenly forgot how to find the sine of an angle, you can look it up directly in the application.

Sign up

Not very colorful, but multifunctional application. You can create a schedule in it and export it to the calendar on your device. You can view your class schedule for a week or several at once and display a widget with reminders on your home screen. During a lesson, the application automatically turns on silent mode, and you can set due dates for homework.

Schedule - school planner

The essence of the application: one user publishes his school schedule so that his classmates can then find a ready-made class schedule. Comfortable! It's a pity that few people use the service yet. But there is a widget and a QR code scanner.

iOS

iSchool

Allows you to create a beautiful multi-colored schedule indicating the rooms where classes will be held. It’s convenient to write down tasks: you can simply take a photo of the board or dictate by voice. And one more super useful feature: you can enter grades in subjects and calculate your average score. The application supports Russian language, synchronization with iCloud works.

iStudiez pro

Allows you to create a schedule with repeating lessons. Each subject can be assigned its own color - this will make it easier to navigate the schedule in the future. You can add holidays and weekends to your calendar, and also save useful information about classmates and teachers.

Class Timetable

Rainbow Planner for Students. The standard set of functions includes a schedule with reminders and a list of homework. But there is also an interesting feature: the application works not only on iPhone and iPad, but on Apple Watch. It’s convenient if, in addition to studying, there are also sports sections and you need to keep up with everything.

Grade Hound

Calendar for schoolchildren and students with the ability to mark subjects by color and assign grades to subjects. The highlight: time graphs that show how much time you'll spend on a particular subject. Minus: does not support Russian language.

Class Schedule – Timetable

Another helper for students who lack organization. You can create a study schedule with repeating or alternating weeks, share it with friends, and write down homework assignments. Thanks to the convenient widget, you don't even need to unlock your device to quickly check your schedule.

Foxford timetable

The class-by-class schedule of classes in the Foxford Home School and external studies is on the website in the “Educational Process” section.

Select your class and click "More details". You will see what day of the week and what time this or that lesson takes place and you will be able to enter the schedule into your electronic planner.

Also, at the beginning of the school year, students receive schedules in the form of convenient pdf tables.

All homework is stored in the student’s Personal Account. You just need to select a course and lesson number.

The dashboard will remind you of new and already completed tasks. From there you can proceed to completing the task in one click.

Well, if a student forgets about some lesson or homework, he will be immediately reminded of it. More reliable than any application! :)

annotation

This article introduces the reader to a unique, recently appeared algorithm for creating a school schedule. The results of testing the only program in the world that can not create, but create such a schedule in a fully automatic mode are reported. Based on the results of tens of millions of tests (built school timetables), the myth about the impossibility of drawing up a school timetable without human participation is debunked. Forecasts are made for the further development of this software. The SaaS business model for its use is discussed.

To understand the main content of the article, no special mathematical preparation is required, so the article is addressed to a wide range of interested readers.

Over the past decade, at least a dozen dissertations have been defended in the Russian Federation on topics related to the task of compiling educational schedules. Over the previous decade, the number of defended dissertations was no less. Although dissertations are mainly defended for the title of Candidate of Technical Sciences and the problems of drawing up a class schedule for a higher educational institution are considered, nevertheless, this fact indicates that more and more researchers are paying attention to the problems of drawing up a school timetable. Perhaps this stream of work is associated with the constant progress and universal availability of computing technology. Indeed, truly amazing processes are taking place before our eyes. Just twenty-five years ago, only a large, usually defense, enterprise could afford to purchase such an electronic computer as the EC1066. Such a computer was located in a room of up to several hundred square meters, equipped with a powerful uninterruptible power supply system and a microclimate support system. Such electronic computers were primarily intended to solve unique scientific and technical problems that had an impact on the country’s defense capability. Today, many people have personal computers on their desks at home. But just think about it. The RAM of such a personal computer is 125 - 250 times larger compared to the above-mentioned giant. Performance is more than 1000 times faster. And this is not a typo. More than a thousand times.

2 Generations of scheduling software

The first publications on the topic of using computer technology to automate the preparation of class schedules appeared in the early 60s of the previous century, so the task of creating an educational schedule using computer technology has a fairly long history. Over almost 50 years of intensive research, enormous intellectual work has been carried out by thousands of specialists around the world. However, the task of creating educational timetables, both then and now, is still a tough nut to crack. Prices for computers were steadily moving from astronomical to earthly (albeit still exorbitant). By 1965, the circle of scientists who had access to computer technology for research had grown quite noticeably. To this time (the beginning of the sixties), as noted above, the first publications on the topic of compiling a school schedule on mainframe computers date back to this time. It is quite natural that the work was at first staged in nature, and later theoretical. It is very likely that designers from radio components would have remained the lot of a handful of “not normal” if the largest manufacturer of typewriters at that time, and one of the most common computers at that time, the American corporation IBM, around 1985, had not perspicaciously I would not have realized that these designers, if given the shape of a typewriter, could replace these typewriters. And not just replace, but make a super intelligent typewriter out of a typewriter, competing with “lead technologies” in publishing. Of course, at that time, no one, except perhaps the most visionary, could have imagined that designers made from radio components would ever be able to compete with real computing devices. Those working in this field “the soles of their shoes were torn.” But the programs for drawing up school timetables somehow didn’t want to work correctly... Now, of course, it is difficult to say whether or not the manufacturers of programs for drawing up school timetables knew about the legacy that their predecessors left them in the 1965 - 1980s of the last century and about the warning of Israeli mathematicians in 1976 that this problem was difficult to solve, but the fact remains that the administration of educational institutions was slowly writing off the good old typewriters, replacing them with personal computers. The schedule was still, with few exceptions, compiled manually. If we start comparing the school timetable programs available on the market (in use), we will discover an absolutely amazing variety of ways to generate (enter) the initial data necessary for the calculation, although from a mathematical point of view all programs do (or at least should do) absolutely the same thing. Thus, the quality of school timetable programs began to be significantly influenced by the consistency and convenience of the user interface.

3 Are such programs necessary?

Usually, when talking about the benefits (necessity) of using a program for automated scheduling, they indicate such a factor as an order of magnitude reduction in the work costs (time) of the head teacher when drawing up the educational schedule. It is often pointed out that better quality schedules can be obtained using a computer. Although this argument, taking into account what is said below, is not without controversy. In our opinion, we should agree that calculating the schedule using a computer will, in addition to saving time and obtaining a better quality schedule, on the one hand, exclude subjective assessments and personal sympathies of the head teacher in relation to the teacher (part of the teachers), when drawing up the schedule, in including when distributing the teaching load, and on the other hand, it will completely eliminate undeserved accusations against the head teacher from teachers of such subjective assessments and sympathies, since it is obvious that the computer is “a person not interested” (the computer is “to blame” for everything) . Thus, calculating the distribution of teaching load and schedule on a computer can improve the psychological climate in the teaching staff (comply with the principles of fairness and equality), just as the match referee improves the mood of the players of a football team after deciding the right to kick the ball first using a draw. . According to head teachers of schools with extensive work experience, practice shows that these programs can only be used as a tool for the initial arrangement of objects with subsequent manual finishing, as well as storing information and printing it out. After the automated distribution of objects (the program, as a rule, arranges from 40 to 70%), it is practically impossible to take into account the hygienic requirements for the lesson schedule, since it is necessary not only to deliver the remaining unarranged objects, but also to significantly change (up to 60%) the automated arrangement of objects according to the principle “just to arrange it”. Experienced masters of their craft recommend that beginners, when creating a lesson schedule, use a dozen or more tips, proven by many years of experience and practice, using, instead of a computer, lesson schedule table layouts made from sheets of cardboard, colored paper, wide transparent tape, glue, pockets and so on. And they are certainly right. Using a computer in the mode of a regular editor (like a familiar text editor) or using programs that lead the process of arranging classes into dead-end situations, when not a single lesson can be theoretically fit into the schedule grid, can bring nothing but unjustified difficulties, inconvenience and anger. In our opinion, this is a very balanced and worthy position, which, despite a little cunning, can only inspire respect. Or, at least, it does not cause an aggressive attitude towards developers on the part of users.

4 A little about the complexity of the problem being solved

It is worth saying a few words about the complexity of solving the problem of creating a school schedule. To qualified users of a personal computer who believe in its omnipotence, it seems that the task of creating a school schedule is almost more difficult than the task of creating, for example, a high-quality video editor or sound editor. However, as mentioned earlier, the number of researchers who have studied this problem in one way or another is difficult to count. Among them are dozens of doctors of technical and physical and mathematical sciences, hundreds of candidates of science, not only technical, but also physical and mathematical, not to mention thousands of ordinary lovers of mathematical puzzles, which certainly includes a large army of students in technical and physical and mathematical fields of study. Among the researchers of the problem of compiling a school schedule, two academicians can be mentioned - V.S. Tanaev and V.S. Mikhalevich, one could also name foreign scientists of world renown. In addition to scientists, outstanding businessmen did not ignore the task of drawing up school schedules. And yet, despite, without exaggeration, the titanic efforts of researchers, there is no need to talk about a complete and comprehensive (or at least satisfactory) solution to the problem of drawing up an educational schedule. To confirm what has been said, we give a quote from a famous Russian mathematician. The four-color hypothesis can rightfully be called the “four-color disease,” since it is similar in many ways to a disease. It is highly contagious. Sometimes it proceeds relatively easily, but in some cases it becomes protracted or even threatening. There are no vaccinations against it; However, people with a fairly healthy body after a short outbreak acquire lifelong immunity. A person can get this disease several times, and it is sometimes accompanied by severe pain, but no deaths have been recorded. There is at least one known case of the disease being passed on from father to son, so it may be hereditary. Here, an outstanding American mathematician mocks the ancient problem of coloring a political map in four colors, where countries with a common border should be painted in different colors. It seems that everything he said can be attributed to the task of drawing up a school timetable. So, the author of these lines decided, to the best of his ability, to track the future careers of people who defended their dissertations on the relevant topic. It would seem that “God himself” ordered the newly promoted scientist to turn his scientific achievements into money. That is, somehow bring your brainchild to the market, since almost always after defending a dissertation, some program or part of an automated system for scheduling classes remains. So - no. All cases of dissertation defense on this topic known to the author end in one way - after the defense, the dissertation candidate gives up this task and, as a rule, begins (or continues) a career as a teacher at a university. In other words, it acquires lifelong, lasting immunity to the task of drawing up a school schedule. In his article, in particular, he writes: ... From a mathematical point of view, the problem of constructing an optimal training schedule is quite complex, since it belongs to the class of so-called NP-hard problems. ... This article shows how coloring the vertices of a graph can be used to construct a training schedule. ... ... The graph vertex coloring problem is NP-hard, and hence its generalization described in Sect. 2 is also an NP-hard problem. ... Further. Lazarev Alexander Alekseevich, Doctor of Physics and Mathematics. Sciences, professor, chief researcher at the Institute of Management Problems named after. V.A. Trapeznikova RAS, Moscow, one of the most prominent specialists in the field of scheduling theory, author of a number of monographs on scheduling theory. In his article, in particular, he writes: ... The educational scheduling problem is a well-known combinatorial optimization problem called “timetabling”. Even finding a feasible schedule is a strong NP-hard problem. Therefore, when solving it, it is necessary to use mathematical methods for solving combinatorial optimization problems. ... In short: - “Drain the water, dry the oars, turn out the lights...”

5 Timetable Software Market

The market for scheduling software, which developed along with the market for any software for personal computers, seems simply unique, or at least surprising, or at worst very strange. So what makes it unique or strange? We get the final figure - 15 thousand schools. This is, perhaps, the potential market capacity for the Russian Federation. Which is about 10% of the potential market capacity. Therefore, 90% of potential clients have not yet been converted. That is, from 1000 to 5000 US dollars. This is what we are actually observing, or at least previously observed, in reality. At first, these programs cost exactly that much on the world market. The drop in prices, it seems to us, occurred precisely because it suddenly turned out that a pan with holes was bought for $5,000.

6 “Ancient Egyptian” algorithm for solving the problem

In the spring of 2012, an archaeologist turned to some programmers he knew with a strange request. According to him, while deciphering ancient Egyptian manuscripts, he came across a description of an algorithm for compiling a school schedule. The authorship of the algorithm was attributed to an Egyptian priestess named Anush. Actually, his request was to check on a modern computer whether this algorithm is really capable of creating a school schedule. At first his friends laughed at him. But after carefully reading the strange records, we still decided to check them. So, let's begin to describe the idea of ​​​​this algorithm, in fact, to a brief summary of the translation of an ancient manuscript. Let us first say that the very terminology of this algorithm and the organization of the ancient Egyptian school are of separate historical interest, but since this article is not intended for historians, we will present the algorithm in modern terminology familiar to people living today. The main difference between the ancient Egyptian algorithm (hereinafter we will omit the word ancient Egyptian) from modern approaches is that the problem is divided into parts, or more precisely, into a series of sequentially solved problems, and each solved problem at the previous step is a constraint for the problem to be solved at the next step . In modern terminology, the method of decomposition of the problem being solved is used. It should be noted that each individual problem that is solved sequentially during the algorithm is not NP-hard (unsolvable). This allows, by sequentially solving a series of easily solvable problems, to solve the entire problem of creating a school schedule. a schedule for part-time workers is being built. It turned out that ancient Egyptian educational institutions did not disdain part-time work. The main feature of this task is that part-time workers are allowed to declare in an ultimatum form the days on which they will work. In addition, some part-time workers are allowed to refuse work on the first lesson of all working days when they work. Apparently these part-time workers were women and they could not come to school early. The problem is solved using an algorithm for prescribed coloring of the vertices of an ordinary graph. You can get acquainted with this mathematical model in detail using the already mentioned article or with the help of numerous other journal articles, for example, [,], as well as by getting acquainted with books [,]. consists of solving the problem of conducting classes of students' choice (in our terminology, elective courses). The peculiarity of this task is that a certain number of classes, at a certain school hour, are combined into streams, and then at that hour they disperse to their elective courses. The construction of the schedule will consist in the fact that each stream will be assigned a time at which elective courses will be held, but teachers will be appointed after the entire schedule has been finalized. That is, at this step, teachers are not assigned to conduct elective courses. When constructing the schedule, the rule is observed - for any stream in one academic day, no more than one academic hour can be assigned to conduct an elective course. In addition, another rule is observed - elective courses cannot be scheduled for more than one stream at any given time. This rule (restriction) seems quite reasonable, since when conducting elective courses, the need for premises for conducting classes increases sharply. It was introduced precisely for the purpose of avoiding a situation where several threads at the same time require a large amount of free space. algorithm to build a schedule for lessons in learning a foreign language. A special feature of this task is that the class can be divided into groups. Teachers cannot declare as an ultimatum what days they will work. However, for teachers with light workloads, one or two days off are guaranteed and will be given to them. Just like in the second step of the algorithm, some teachers teaching a foreign language may require them to be released from lessons in the first hour of the working day when they work. The problem of scheduling teachers/classes for studying a foreign language, just like in the second and third steps, is solved using an algorithm for prescribed coloring of the vertices of an ordinary graph. In the same way as in the second step, using an algorithm for assigning each lesson, or rather, each group of students and their teacher, a room is selected for its conduct. The end of the fourth step, as well as the second and third, is the operation of combining the table of prohibitions on conducting lessons with the resulting schedule. Thus, we get a new version of this table, which we will use in the sixth step. a schedule is built for all remaining subjects except those taught in scarce premises. Teachers do not have the opportunity to declare an ultimatum about which days they will work, but for those teachers whose workload is low, one or two days off are guaranteed, and for some teachers there is the opportunity to refuse to work during the first lesson. This problem is solved using a prescribed edge coloring algorithm for a bipartite multigraph. You can get acquainted with the idea of ​​​​this algorithm from a book or from journal articles [, , , ,]. The constructed schedule consists of fours - class, teacher, subject, time. At the same step, all fours, using an algorithm for solving the assignment problem, are matched with the premises where these classes (fours) will be held. After completing this step, the entire schedule is filled, with the exception of classes held in scarce premises. However, the remaining “holes” in the schedule are the schedule for conducting classes in scarce premises. Thus, we can consider that at this sixth step, in a sense, two schedules are simultaneously constructed - for regular teachers/classes and for scarce premises/classes. At this step, all previously obtained schedules are combined, that is, the final schedule is formed. To carry out this step, no algorithms are required, simple arithmetic operations are sufficient.

After receiving the final schedule, each teacher can decide for himself when it is convenient for him to conduct elective courses. Time for them was reserved at step 3 of the algorithm. And if this teacher can recruit a group of students, then he will independently put his elective course on the schedule, along with the premises selected by him.

As can be seen from the previous section, there is nothing difficult to understand in the operation of the algorithm for constructing a school schedule. One after another, individual easily solvable (non-NP-hard) problems are solved, interconnected, until they are all exhausted. Nevertheless, there was no basis to assert with confidence that each of these problems could be solved. In the absence of any theoretical justification for the algorithm, it was possible to test its performance only experimentally, especially since this was precisely the task posed by the archaeological scientist who stumbled upon the ancient manuscript and translated it. Indeed, this is the style of mainframe computers from the distant past and long gone from the scene - MS-DOS. But these windows have one advantage. They can hang on the computer screen, making the necessary calculations, without any human intervention, for a day, a month, and... I can’t say how long. This is exactly what was required to test the algorithm. And for a dozen computers (you can estimate the amount of heat generated from these computers and the constant noise emitted from the fans) a separate room is required. But nothing, you can’t stop us... A dozen, not a dozen, but seven four-core computers were soon put into operation.

The general rule for all previously described steps, except for the fifth, is the rule - each class cannot have more than one lesson in any subject on one day.

After completing the annual testing of the school schedule algorithm, the question arose: “What next?” When you click on this button, a window appears with a Data Generation button. You click Data Generation, and the generated data appears in a window on a white background. We close the window. The button that was just pressed goes out (no longer active), the next one to be pressed becomes active. Click. The following window opens. And there is a button Create a schedule. Click on Build schedule, the constructed schedule appears. Anyone can check whether the schedule is built correctly or not. And so on until all steps of the algorithm have been completed. And then you can click on the big Start a new task button. And so on in a circle. Or click the Close me button. Such an analysis or examination could be carried out by specialists who are well acquainted with the topic, for example, head teachers with sufficient work experience who teach mathematics at school. To understand the details of the calculation, of course, their qualifications are not enough (and no one would have such a desire), but due to the general mathematical culture they have acquired, they can discern obvious omissions in the formulation of the problem much better than any professional mathematician who is familiar with the work of the school only by hearsay or various publications.

In addition, the general rule for teachers is that each teacher can teach several subjects, including one class.

As previously estimated, the global market for school schedule software, in a fully automatic mode, ranges from 100 million to 500 million US dollars. However, this market, as venture investors say, still needs to be “raised.” And here, at least two problems emerge quite clearly. One problem is: - “Expensive”. We have already stopped there. And another, in our opinion more serious, is: - “The reputation of such software.” To use a metaphor, the reputation of such software is reminiscent of a dirty, heavily manured and smoking garbage dump, like after the battle on the Kulikovo Field. Moreover, the smoke is so acrid that you want to close your eyes and stop breathing. As mentioned earlier, when talking to potential clients of school scheduling software, the conversation easily turns to swearing. “We’re fed up... with our automation, the school’s information space and electronic diaries, let us work in peace...” Our demo version is no different from the working version of the program, but you cannot save the entered data, and you cannot print the results obtained. And so, everything works. Is it possible to use such a demo version to evaluate all the advantages and disadvantages of the program? .. still smart for not paying money for it..., my mother told me, “Don’t take a pig in a poke.” What can be done to change the reputation of such software and the attitude of head teachers towards it from hostile to at least neutral? We won’t talk about a positive image yet. Our demo version is no different from the working version, there is only one limitation, the maximum number of classes is five. And so, everything works. As a result, such a statement appears on the forum. “I saw your program, if I may say so. And he introduced that, nothing at all - four classes. And she told me: “I can’t make a schedule.” You can stick it in your... Damn speculators.” Here we are faced with a case where the developers found adventures on their “... (head)”. Those who think that creating a schedule for a school with four classes is much easier than, for example, with twenty, are deeply mistaken. It is for this reason that when testing the “Ancient Egyptian” scheduling algorithm, it was decided that when generating test data, for the minimum number of classes, choose the number nine. This is sometimes explained by the impossibility of automatically compiling a table for the distribution of teaching load. Simply put, distribute the load between a tiny number of classes and, accordingly, a tiny number of teachers. Apparently, such tricks can only be performed by a very experienced hand (or eye, if you like) of a person. Option three.

OK then. Use our program. But, two weeks. And in two weeks it’s all over. “We’ll turn off the water...” Is it possible to master the program in two weeks and evaluate all its advantages and disadvantages? Let's put our hand on our hearts: “Perhaps it’s possible...”. But on one condition. You need to stop doing everything else. And the head teacher’s favorite word is: “Busy.” “Oh, busy. I’m so busy that I don’t even have time to breathe.” Will the head teacher drop everything in the world for two weeks and immerse himself in a timetable program for this period? As scientists say: “It’s hard to say...”.

In short, everything is bad... And so bad, and so inconvenient... Where to look for a way out? Maybe rent? 10 Business model for SaaS software use Initially, the entire computer industry used a rental business model - the first computers cost a lot of money and their computing power was rented out to customers. With the advent of the Internet, the old business model was revived, but on a fundamentally different technological basis. SaaS(English)

The main difference between SaaS and the old model is that previously customers accessed computers directly, rather than using global networks. Since the SaaS model is focused on providing services via the Internet, its development is directly related to the development of the global network. The first companies offering software as a service appeared in Western countries in 1997 - 1999, and the acronym SaaS came into widespread use in 2001.

It seems that in our “difficult case”, this business model is the most optimal, and maybe even the only acceptable one. It will save potential clients from risking a relatively large amount of money when paying for a software product from a group of products with an almost hopelessly damaged reputation. Using a rental business model, the customer can calmly and gradually become convinced that the product being offered is what he really needs, and that his expectations from using the product coincide with what he actually receives. We previously spoke in some detail about the expectations of head teachers from this type of program.

11 Instead of a conclusion

Sometimes, some people ask sarcastically: “Do you have a business plan?...” Yes. And at the same time, very simple. “Consistently solve emerging problems as they arise...” As a last resort, you can use the SaaS model (business plan - upon request). If anyone needs it, it will be possible to plan everything in detail and not a single accountant will find fault!

Baltak S.V., Sotskov Yu.N. Construction of a training schedule based on coloring the vertices of the graph // Informatics, 2006, No. 3, p. 58 - 69. Borodin O.V. Colorings and topological representations of graphs // Discrete analysis and operations research. 1996, Vol. 3, No. 4, p. 3 - 27. Borodin O.V. Generalization of Kotzig's theorem and prescribed coloring of edges of planar graphs // Mathematical Notes. 1990, Volume 48, Issue 6, p. 22 - 28. Vizing V.G. Coloring of graph vertices under majority restrictions on the colors used // Discrete Analysis and Operations Research. 2009, Vol. 16, No. 4, p. 21 - 30. Vizing V.G. On connected coloring of graphs in prescribed colors // Discrete Analysis and Operations Research. 1999, Series 1, Volume 6, No. 4, p. 36 - 43. Gafarov E.R., Lazarev A.A. Mathematical methods of optimization in the preparation of educational schedules // New information technologies in education. Collection of scientific papers. - M.: 1C-Publishing, 2013, Part 2, p. 51 - 55. Gary M., Johnson D. Computers and hard-to-solve problems. - M.: Mir, 1982. - 416 p. 2001, No. 4, p. 47 - 52. Harari F. Graph theory. - M.: Mir, 1973. - 302 p.

Bibliography

Therefore, the entire floor where such a computer was located was covered with a fine metal mesh in order to exclude the possibility of “electronic spying” on the part of the sworn enemies of the Soviet regime.

The very task of drawing up an educational schedule (without the help of computer technology) is apparently at least three hundred years old.
Cases have been recorded when head teachers - in general, cultured and well-mannered people, having heard the phrase: - “A program for drawing up a school schedule,” immediately switched to swear words.
Here we will not dwell on the theory of NP-hard problems, since a discussion of this issue would take the reader far away from the topic that interests us, and would also be clearly premature and superficial. The interested reader can be recommended to turn to perhaps the most cited publication on this topic in our country. To fully understand this article, NP-hard problems can be understood as practically unsolvable problems, although this is not an entirely accurate “translation”.
This refers to Russian-language publications, of which there are not so many in comparison with English-language ones. Most likely, their number does not exceed the total contribution of the Russian Federation in the field of high technology, which is estimated at 0.4 - 0.6% (from zero point four percent to zero point six percent) of the global total. True, there are an order of magnitude fewer physical and mathematical sciences.

Vyacheslav Sergeevich Tanaev (1940 - 2002) - Belarusian mathematician, director of the Cybernetics Research Institute of the National Academy of Sciences of the Republic of Belarus, Doctor of Physical and Mathematical Sciences (1978), professor (1980), full member of the National Academy of Sciences of Belarus (2000). Area of ​​scientific interests: operations research, scheduling theory, optimization methods.
Mikhalevich Vladimir Sergeevich (1930 - 1994) - Ukrainian mathematician and cyberneticist, academician of the Academy of Sciences of Ukraine, academician of the Russian Academy of Sciences (1991; academician of the USSR Academy of Sciences since 1984). Works on the theory of optimal statistical solutions, system analysis, theoretical and economic cybernetics. USSR State Prize (1981).