Вы находитесь на странице: 1из 10

TIME TABLE SCHEDULING PROBLEM USING GENETIC ALGORITHMIC APPROACH

OPERATIONS RESEARCH (MEE437)


Sunny Sangwan (10BCE1103) Sarabjeet Singh (10BCE1088)

Abstract
Timetable problem is well known problem and is

extensively studied in the literature. There are many variations of the problem based on the required hard and soft constraints to be satisfied. Genetic Algorithmic approach has also been considered for solving this problem. Different configurations of courses, professors, rooms and groups of students are tested using simulation in C++ based on Genetic Algorithmic approach and results convey whether the schedule achieved is feasible or not.

Objectives
Understanding the problem and identifying the constraints

such as hard and soft constraints.


A Genetic Algorithm Class Scheduler is implemented

using C++.
A configuration file is to be added where a user needs to

fill various courses, teachers, class rooms and different groups of students who wish to attend a particular course.

Methodology
Objects of Class Schedule Professor The Professor class has an ID and the name of the professor. It also contains a list of classes that a professor teaches. Students Group The StudentsGroup class has an ID and the name of the student group, as well as the number of students (size of group). It also contains a list of classes that the group attends.

Objects (cont.)
Classroom

The Room class has an ID and the name of the classroom, as well as the number of seats and information about equipment (computers). Course The Course class has an ID and the name of the course. Class CourseClass holds a reference to the course to which the class belongs, a reference to the professor who teaches, and a list of student groups that attend the class

Configuration File for making changes


Types of objects in .conf file: professor (#prof tag) - describes a professor. course (#course tag) - describes a course. room (#room tag) - describes a room. group (#group tag) - describes a students group. course class (#class tag) - describes a class, and binds the professor, course, and students group.
WinBGi library was used to make timetable and

windows.h file was used for windowed application in Dev C++

Simulation Results

Observations
These timetables are generated taking in view the room

no. and which classes and at what time will be taking place in those room numbers. The university can try to reduce the quantity of rooms and can check whether the viable solution is possible or not.
An example taking in view the higher load that is more

courses and students that can be handled by a single room is simulated which shows the courses which cannot be scheduled. So accordingly the authorities can set number of rooms which can satisfy all the hard and soft constraints towards this problem.

Failed Time-table

Conclusions
The time table scheduling problem was well understood

and analyzed.
Based on underlying Genetic Algorithm a successful

simulation in C++ was achieved.


The application was checked for various configurations

and was done by applying changes to the configuration file.

Вам также может понравиться