Timetable Management System in Python
Timetable Management System in Python
net/publication/339998420
CITATIONS READS
2 5,426
2 authors:
All content following this page was uploaded by Jasdev Bhatti on 02 August 2020.
Abstract: In this paper timetable strategy is designed and discussed in detail for handling any university course scheme based on resources available.
In addition to regular courses some new additional parameters like Engineering exploration, Team teaching technique, mentoring of students, etc. are
discussed that run parallel with unique mechanism. The allocation of timetable on basis of three different modules has been discussed satisfying all
major and minor challenges. The language named python is applied for optimizing and displaying timetable into three different views class wise
timetable (for students), faculty timetable, and classroom timetable.
Index Terms: Team teaching scheme, Course scheme, Constrains, Faculty load, Python.
—————————— ——————————
methods and more precisely the implementation of each using 3. ADDITIONAL PARAMETERS
programming languages. Mittal, D. et al (2015) had given an As per to the regular courses like Physics, Chemistry,
automatic timetable generation using genetic algorithm. Mathematics, Electronics, electrical followed by educational
Kralev, V. and Kraleva, R. (2016), had studied a local search institutions in timetable there is an involvement of few new
algorithm based on chromatic classes for university course courses like Engineering Exploration (divided into six different
timetabling problem. In last year 2017 Babaagba, K., Arekete, verticals) and mentoring for counseling session and interaction
S. carried out an extensive survey of various mobile agent of students.
systems that have been utilized in solving university course
time tabling problem. He discussed about the number of 3.1 Team Teaching
methods that have been adopted in solving the university As we know that every faculty is having specialization in some
course time tabling problem such as the use of linear subtopics of any subjects. So, in order to give the students
numberings, evolutionary algorithms, graph coloring among different or the best techniques of teaching, grouping of
others. They studied one recent technique employed involves faculties with topic expertise has been prepared before
mobile agents that are simply software agents which move timetable. For example, the two groups having six faculty with
from system to system within the network transporting both three in each has been divided for two different chapters that
their state and code. These are not bound to the system to be covered up before first sessional. Each group has been
where their execution begins. Also, Saritha, M., et al, has assigned with one topic and classes, which are going to be
proposed to make an automated system that will take various swapped after getting over with one topic. Same methodology
inputs like details of students, subjects and class rooms and has to be followed up in between first and second sessional. In
teachers available, depending upon these inputs it will this way, a teacher is rotated in different classes according to
generate a possible time table, making optimal utilization of all their expertise in the topic being taught.
resources in a way that will best suit any of constraints or
college rules. List of subjects may include electives as well as 3.2 Engineering Exploration
core subjects. Also, Khiarak, J., et al, investigated the As per today industrial demands for engineering students is
appropriateness of using the genetic algorithm (GA) and the the extra project and innovation knowledge of student except
imperialist competitive algorithm (ICA). The proposed his/her academic skills. In such university has taken the
technique consists of two steps: (i) using the proposed initiative by introducing the new course named ―Engineering
manipulated GA for solving the timetabling problem of each Exploration‖ to the first-year engineering students for all
department, and (ii) eliminating the interference of common branches like computer, electronics, electrical and mechanical.
events among multiple departments and satisfying the hard This course was subdivided into six different specializations in
and soft constraints by using ICA. Finally, a report on the which students were divided according to the student’s online
efficiency of the methodology used in this study was obtained registration. The course was integrated with electronics,
from the University of Tabriz in Iran and University of Udine in language and mechanical tools to buildup overall engineering
Italy. In this paper, the results are revealed in two ways: (i) development of students. In this faculty of different
reduction in the problems due to shrinking of the database and specialization or department are involved in subgroups for
solving of the problems in parallel and (ii) solving the different each six categories. The important thing to be care of is that all
parts of the problem by using various criterion results, fifteen classes and faculty have to be assigned for same slots,
increasing the common events satisfaction in that sub- different venues and six different courses.
problem. Eventually, the proposed model provided successful
satisfaction of the hard constraints in <700 iterations with GA 3.3 Labs
and elimination of interference in 40 iterations with ICA in most Engineering first year students study Engineering chemistry
of the cases. In all previous research the timetable is managed Lab, Engineering physics Lab and PSTC (Problem Solving
manually or by some software. But no one has given value to techniques using C) which are two hours each and a class is
optimizing the timetable mechanism. By this paper, timetable divided into two groups for these labs. Now when half the
strategy is designed and optimized in detail for handling any class is attending any of these labs then simultaneously the
university course scheme based on resources available. In other half group of the class can only have a lab or a tutorial
addition to regular courses some new additional parameters parallel to these labs, which is of the biggest concern for the
like Engineering exploration, Team teaching technique, faculty making the time table.
mentoring of students, etc. are discussed that run parallel with
unique mechanism. Python language is used for optimizing 3.4 Mentoring
and displaying timetable into three different views class wise A college mentorship program is a service intended to give
timetable (for students), faculty timetable, and classroom guidance to upcoming freshmen and transfer students. In
timetable satisfying all major and minor challenges. order to successfully transition from high school into college.
. Each class is divided into two groups and each group has a
2. SALIENT FEATURES OF THE SYSTEM mentor to it which can guide them through different phases of
Automatic timetable software (ASC) generate their college life. As there is a special lecture for the same so
timetable automatically. we must give a special room for the same for each group of a
An efficient time table is proposed according to class.
availability of resources and requirement.
Management of faculty load according to their need 3.5 Genetic Algorithms (GA).
and availability. We know that Time Table Scheduling problem is
Satisfying all needs and constraints/challenges of representative of the class of, NP-hard, combinatorial
departments and management. optimization problems with multi-constraints and for this we
632
IJSTR©2019
[Link]
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 8, ISSUE 11, NOVEMBER 2019 ISSN 2277-8616
are using genetic algorithms (GA). GA has been found to be faculty members.
capable of getting optimized solutions for a number of Limit time (hours per week) is given to every Batch
problems like Time Table Scheduling for which no other
algorithm exists. It is inspired by nature as altering a 4.3 Major Challenges
population of candidate solutions until a maximum or minimum Faculty involved in teaching is from different
solution is found. Scheduling a Timetabling faces two types of departments so both the time tables should be checked
constraints, namely soft constraints and hard constraints. Soft at the same time.
constraints are those if we violate them in scheduling, the During Team teaching, the teacher is to be swapped
output is still valid, but hard constraints are those which if we after every Sessional Exam.
violate them; the timetable is no longer valid. The search As the teachers are going in different departments so
space of a timetabling issue is excessively tremendous, they cannot have lectures in different departments
numerous arrangements exist in the search space and some continuously.
of the arrangements are not possible. Possible arrangements As students are studying PSTC Lab which they are
here mean those which don't damage hard constraints and as taught by a single teacher in two different groups so
well attempt to fulfill soft constraints. We have to pick the most while one group is studying PSTC then at that time the
suitable one from possible arrangements. Most suitable ones second group students can be occupied in some other
here mean those which don't disregard soft constraints to a lab or tutorial.
more noteworthy degree. In this paper hard- constraints have There should not be any clashes between two faculty
been dealt with carefully and it has been guaranteed that soft members and two class rooms/venues. At the same time
constraints are too pursued however much as could be period there should not be a clash between two lectures
expected. of a class section
The biggest challenge is the infrastructure where the
4. PROPOSED SYSTEM availability of classrooms as in our proposed problem,
The final system should able to generate time tables in the number of lecture halls is 9 and tutorial rooms are 2.
completely automated way which will save a lot of time and As the students are involved in Engineering Exploration
effort of an institute administration. To make a timetable in which 2 sections are combined according to their
system generic so that everyone can work equally well for strength so those two sections must have their
different School, Colleges and Universities, the system had Engineering Exploration class at the same time with six
been divided into four modules: different categories and venues.
Insertion module The Engineering Exploration class should be of 2 hours
Allocation module from 9 to 11 or from 12:40 to 2:30 pm.
Algorithm Four teachers are assigned in Engineering Exploration
Display module class at the same time.
The rooms of Engineering Exploration class should be
4.1 Insertion module fixed.
There are certain requisites that must be fulfilled for the data
entry in the same way. There are the following requirements: 4.4 Allocation Schedule
a) The name of the faculty from each department. This module is the most important one among all three, as
b) Classrooms, labs details and its capacity. under this module the user compile and start entering the
c) Subjects (theory, tutorials and labs) details with its total inputs that he/she received from all departments. The
number of lectures procedure of entering the details follows the pattern:
But there are certain pre requisites for the data entry of the Subjects were assigned according to course scheme
software which are: with
i) Load of the faculty must be decided in advance. teaching hours load (Labs, Theory, and Mentoring).
ii) The course scheme must be well made Numbers of section/ classes were assigned with time
Now, with this are certain constraints and challenges that have slots of 55 minutes per lecture.
to be taken care of while making the load of the faculty and Faculties were assigned of all departments with
making the load. The Challenges faced during compilation of teaching load.
load for BE First Students can be categorized into two parts: All entries were divided according to day and slot wise.
Minor Challenges (Soft-Constraints) Now with the above all inputs, the software arranges the
Major Challenges (Hard-constraints) timetable accordingly. After the completion of data by software
the timetable incharge must shuffle the slots of lecture keeping
4.2 Minor Challenges all minor and major challenges.
A teacher cannot attend two classes at the same time.
A course cannot be taught in two different classes at the 4.5 The algorithm
same time
A teacher may request for a special classroom for a Initialization
given course {this step will create a population of N individuals, satisfying for
The courses should be scheduled in a way that empty every individual a set of hard and soft constraints:
time slots of both teacher and students are minimized. Soft-Constraints:
The lunch break should either be at 11:45 a.m. or at • Up to some extent equal load should be given to all faculty
12:40 p.m. members
Up to some extent equal load should be given to all
633
IJSTR©2019
[Link]
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 8, ISSUE 11, NOVEMBER 2019 ISSN 2277-8616
}
while (End Test not Verified)
do {the end test is on the number of iterations performed}
begin
Reproduction implementation;
Crossover implementation;
for l:=1 to N do begin apply mutation of order k;
Mutation implementation;
if (LOCAL_ON) then apply local search {LOCAL_ON may be 0
or 1}
if (no. of infeasibilities > max no. of infeasibilities) then
apply filter
end; Figure 2: Class wise Timetable
teaching or by any other reason, the timetable incharge must [8] Ansari, A., Bojewar, S., (2014), Genetic algorithm to
change it in any single one of the three views. But the software generate the automatic time-table –an over view,
changes it automatically in other two views that depicts it time International Journal on Recent and Innovation
saving nature. Trends in Computing and Communication,2(11),
pp.3480-3483.
Parameters Iteration-I Iteration-II Iteration- Iteration- [9] Chowdhary, A., Kakde, P., Dhoke, S., Ingle, S.,
III IV
Size of 150 150 150 150 Rushiya, R., Gawande, D., (2014), Time table
Population generation system, IJCSMC, 3(2), pp.410 – 414.
probability 0.035 0.035 0.035 0.035 [10] Ottoum, I., (2015), The Analysis of the time table
(Mutation) structure within a student information system (sis),
Maximum 500 500 500 500 International Journal of Computer Science &
Generations
Probability 1.00 0.95 0.75 0.50
Information Technology (IJCSIT) 7(1), pp.77-83.
(Crossover) [11] Mittal, D., Doshi, H., Sunasra, M., Nagpure ,R.,
Population 0.217 0.0210 0.0188 0.0154 (2015), Automatic timetable generation using genetic
fitness algorithm, International Journal of Advanced
Research in Computer and Communication
Figure 4: Classroom Timetable Engineering,4(2), pp.245-248.
[12] Kralev, V., Kraleva, R., (2016), A local search
5. CONCLUSION algorithm based on chromatic classes for university
This paper has developed the approach of an automated time course timetabling problem, International Journal of
table system that helps in creating the timetable in three Advanced Computer Research, 7(28), pp.1-7.
different categories: faculty, class wise (for students) and [13] Babaagba, K., Arekete, S., (2017), A review of agent-
classroom wise timetable. The structural view of timetable based university course time tabling systems, IJEDR,
generated were impressive by providing information to all 5(2), pp.566-568
applicant concerned to it. This paper had managed the data or [14] Saritha,M., Vaze, P.,Pradeep, Mahesh N R,(2017),
resources with all necessary details and then frames a perfect Automatic time table generator, International Journal
lecture wise timetable as compared to manual generation of of Advanced Research in Computer Science and
timetable involving the satisfaction of all challenges i.e. no Software Engineering,7(5),pp-204-211.
overlapping, time saving, easy to handle, avoiding [15] Khiarak, J., Harghalani, Y., Derakhshi, M., (2017),
continuation of lectures for faculty, fixing any parameter easily Combined multi-agent method to control inter-
to any challenges. department common events collision for university
courses timetabling, Journal of Intelligent Systems,
REFERENCES pp. 1-17
[1] Yang, Y., Paranjape, R., Benedicenti, L., (2006) An
agent based general solution model for the course
timetabling problem, Proceedings of the fifth
international joint conference on Autonomous agents
and multiagent systems, May 08-12, Hakodate,
Japan, pp.1430-1432.
[2] Picard,G., Bernon, C., Gleizes, MP., (2006), ETTO:
Emergent Timetabling by Cooperative Self-
organization, International Workshop on Engineering
Self-Organising Applications, pp.31-45.
[3] Oprea, M., (2007), MAS_UP-UCT: A Multi-Agent
System for University Course Timetable Scheduling,
International Journal of Computers Communications
& Control, 2(1), pp. 94-102.
[4] Al-Betar, M., Kader, A., Gani, T., (2012), A harmony
search algorithm for university course timetabling,
Annals of Operations Research, 194(1), pp.3-31.
[5] Al-Betar, M., Khader, A., Zaman, M., (2012),
University course timetabling using a hybrid harmony
search metaheuristic algorithm, IEEE Transactions on
Systems Man and Cybernetics Part C (Applications
and Reviews), 42(5), pp.664-681.
[6] Narang, B., Gupta, A., Bansal, R., (2013), Use of
active rules and genetic algorithm to generate
the automatic time-table, International Journal of
Advances in Engineering Sciences,3 (3), pp.40-44.
[7] Babaei, H., Hadidi, A., (2014), A review of distributed
multi-agent systems approach to solve university
course timetabling problem, Advances in Computer
Science: An International Journal, 3(5), pp.19-28.
635
IJSTR©2019
View publication stats
[Link]