^{1}

^{*}

^{1}

^{1}

^{1}

This report is based on University Timetable Generator by using Tabu Search algorithm. It helps to generate a course schedule and an exam schedule for a University. Every university faces a different set of problem while preparing course schedule and exam schedule. There are lots of constraints while making a scheduler. And for this reason, students suffer much as well as faculties. This report is based on discussion about an automated timetable generator for a University by using Tabu Search algorithm. Tabu Search is a meta-heuristic procedure for solving optimization problems. Tabu Search deals with a sub-optimal initial solution. By analyzing the search space and averts inessential exploration, it optimists this solution and keeps the list of recently visited area in a Tabu list. This helps to solve these problems within a reasonable time and gives a feasible solution than any manual system. For a University, we have found that preparing exam schedule, course schedule, student assessment, room assignment with required resources are quite complex. But for all of them, we analyze that the Tabu Search technique is an essential method for getting a feasible solution. In this paper, we describe how Tabu Search works and how to get a feasible solution by using this algorithm.

The timetabling problem is a problem of scheduling courses and exams which arises especially in higher educational institutions. While preparing timetable generator for an institution, lot of constraints arises. These constraints are divided into two types, one is hard constraints such as time conflict, room assignment, etc. and other one is soft constraints such as faculty preference. Here, hard constraints cannot be avoided for this timetabling problem. We will discuss about these constraints in Constraints section. These types of constraints may vary from one institution to another. The manual solution of this problem requires huge time and these types of solution are not feasible in most aspects. A lot of conflicts may find. An automated timetable generator can help to minimize the timetabling problem for any university.

There are some techniques to solve this timetabling problem. Among them, Constraint Satisfaction Problems (CSP), Tabu Search (TS), Simulated Annealing (SA), Genetic Algorithm (GA), Ant Colony Optimization (ACO) are the main approaches to solve this problem.

This paper is based on course scheduling and exam scheduling problem from the perspective of Southeast University. Students and faculties are facing lot of problems while preparing course schedule and exam schedule. Defining research objectives is a fundamental step which is necessary to reach the goal. The objectives of this research are:

1) To derive a suitable timetabling system for courses and exams with proper requirements.

2) To minimize constraints and find a feasible solution.

To achieve these objectives, the main step was finding the problems that our Faculties face while preparing these scheduling. Then gathering and analyzing the required information for the problem was done. As derived from the requirement analysis, the last task was to design the system and apply the Tabu Search algorithm for solving this timetabling problem.

The timetabling problem arises in many real-life circumstances. A general timetabling problem includes many events like exam scheduling, course scheduling, meetings and so on. To satisfy all requirements within a limited time is responsible for these problems. There is a large amount of successful research on Timetabling Problem. For different timetabling problems, these researches have been done by various meta-heuristic approaches. University Timetable Generator involves with scheduling of courses and exams with satisfied faculty requirements, resources and room availability, time slots etc.

The Timetabling Problem has some constraints. While preparing course or exam schedule, lot of constraints arise. These constraints can be divided into two types depends on priority. One is hard constraints which cannot be avoided and another is soft constraints. Constraints are varying from institution to institution but most of the time constraints are similar. In this paper, we describe about different types of constraints and find the feasible solution.

1) A faculty cannot take different classes at a time in the same room.

2) A faculty cannot take two classes at a time.

3) A student cannot appear in more than one class at a time.

4) A faculty cannot take a class if there is a distance problem from campus to campus.

5) A student should not have more than one exam at the same time.

6) A room cannot be assigned more than its capacity.

1) A student should not have more than one exam in a day.

2) We have to consider faculty preferences sometimes in some special cases.

Major requirements for this research is to find out the problems which already have faced in an institution while preparing the course scheduling and exam scheduling. Those problems may vary from one institution to another. Therefore, finding the vision based solution should be easier.

“To build a University Timetable Generator by using Tabu Search algorithm which helps to prepare course schedule and exam schedule within a short time and gives a feasible solution.”

In this paper, we present a simple but effective approach to solve this timetabling problem by using Tabu Search technique. In Section 3, we describe about some papers which has already published. There is also a brief description about Tabu Search, Fundamentals of Tabu Search and TS Algorithm. Requirement Analysis is given in Section 4. Solution Method and Scoring are in Section 5.

There are over hundreds of papers have been published about Timetable Generator. During the last fifty years, a lot of papers have been published in conferences and journals which are related to automate Timetable Generator. The first automated timetabling related research have been started from Gotlieb in 1963 [

Because of complexity, most of the researcher thinks about heuristic algorithm like Dave Corne, Emma Hart and Peter Ross have worked with Genetic Algorithms and timetabling [

Some researchers have recently concentrated into Logic Programming because they want to solve this problem by a natural way of representing constraints. But there were some limitations with unsatisfied performance, which was pointed by Bartak [

Some articles describe practical case studies which are relatively compared to theoretical work on the Timetabling Problems. Michael W. Carter described a system named EXAMINE, which was applied in Universities of Toronto and Carleton [

Most of the papers describe an effective software implementation. In addition, the application of the method describes one or more test cases.

Tabu Search (TS) is a meta-heuristic approach to explore the solution space beyond local-optimality. The main ideas of Tabu Search are based on the ideas proposed by Fred Glover (1977, 1986). Over more than the last 2 decades, over hundreds of papers have been represented application on Tabu Search. This method has become very popular for its capability to provide solutions very close to the best or near best optimally. TS provide a very flexible search behavior by using adaptive memory.

1) The way to exploit memory in TS is to classify a subset of the moves in a neighborhood as forbidden [

2) A neighborhood is built to identify adjacent solutions that can be reached from the current solution [

3) The classification, particularly depends on the recency that certain move or solution components, called attributes, have participated in generating past solutions [

4) A tabu list which records forbidden moves are referred as tabu moves [

5) When a tabu move has a more satisfied evaluation where it would result in a solution better than any visited so far, then its tabu classification may be overridden [

Pseudocode for Tabu Search [

This requirement analysis is based on Southeast University. There are two types of program in this University, one is Undergraduate Program and another is Postgraduate Program. School of Science & Engineering, School of Business Studies, School of Arts & Social Science and Department of English are belongs to Undergraduate Program. There are six departments under School of Science & Engineering. These are Department of Computer Science & Engineering (CSE), Department of Information & Communication Engineering (ICE), Department of Electrical & Electronics Engineering (EEE), Department of Pharmacy, Department of Textile Engineering and Department of Architecture. Bachelor of Business Administration (BBA) belongs to School of Business Studies. School of Arts & Social Science consists of two departments: The Bachelor of Laws (LLB) and Department of Economics. Masters in Business Administration (MBA), Master of Laws (LLM) and Masters in English are belong to Postgraduate Program.

From Tables 1-3, we have found different types of criteria from all the departments.

Analysis | CSE | ICE | EEE | Pharmacy | Textile | Arch. |
---|---|---|---|---|---|---|

Starting Time | 8.30 am | 8.30 am | 8.30 am | 8.30 am | 8.30 am | 8.30 am |

Ending Time | 5.20 pm | 5.20 pm | 5.20 pm | 6.00 pm | 5.20 pm | 5.20 pm |

Working Days | 4 | 4 | 4 | 6 | 5 | 6 |

Pattern | ST/MW | ST/MW | ST/MW | No | No | No |

Faculty Preference | High | High | High | Medium | Medium | Low |

Current Routine | Software | Software | Software | Manually | Manually | Manually |

Theory Cr. Hour | 3 h | 3 h | 3 h | 3 h | 3 h | 3 h |

Lab Cr. Hour | 1.5 h | 1.5 h | 1.5 h | 4 h | 2.5 h | 16 h |

Break Time | 10 min | 10 min | 10 min | 30 min | 10 min | 10 min |

Slots Per Day | 6 | 6 | 6 | 8 | 6 | 6 |

Analysis | BBA | LLB | English | Economics |
---|---|---|---|---|

Starting Time | 8.00 am | 8.30 am | 8.30 am | 8.30 am |

Ending Time | 6.20 pm | 5.20 pm | 5.20 pm | 5.20 pm |

Working Days | 4 | 7 | 4 | 4 |

Pattern | ST/MW | No | No | ST/MW |

Faculty Preference | High | Low | Medium | Medium |

Current Routine | Manually | Manually | Manually | Manually |

Theory Cr. Hour | 3 h | 3 h | 3 h | 3 h |

Break Time | 10 min | 10 min | 10 min | 10 min |

Slots Per Day | 7 | 6 | 6 | 6 |

Analysis | MBA | MBA | LLM | MA in English |
---|---|---|---|---|

Programs | Regular | Executive | - | - |

Duration | 16 months | 2 year | 1 year | 1 year |

Starting Time | 6.30 pm | 6.30 pm | 8.30 am | 3.00 pm |

Ending Time | 8.00 pm | 8.00 am | 7.00 pm | 8.30 pm |

Working Days | 2 | 2 | 2 | 3 |

Faculty Preference | High | High | Low | High |

Current Routine | Manually | Manually | Manually | Manually |

Slots Per Day | 1 | 1 | 1 | 3 |

Most of the criteria are similar. For example, most of the departments maintaining their routine manually, starting their classes at the same time etc.

To solve this entire University Timetable Generator problem, we have to introduce scoring where we will try to make a best routine by using some score. We will see how scoring will help us to solve this problem using scoring.

ScoringFrom

For Example:

Assume that, there is a university named “Example University” contain only one department. Let’s name it Department of Computer Science and Engineering at Example University. Guess that there are 4 (four) teachers and 50 (fifty) students with 10 (ten) courses.

So,

Department: 1

Teachers: 4

Students: 50

Courses: 10

Teachers Preference: high

Setting up the teacher preferences (Ex: Seniority based order):

Teacher, A = 4000

Teacher, B = 300

Teacher, C = 200

Teacher, D = 100

if we break the promises to the Teacher A, we will get −4000 score for him/her and if the other Teachers are fine then we will get +600 (=300 + 200 + 100) for all of them. We are handling Teacher preferences like this.

While a student taking multiple courses, if any of his courses scheduled at same time at the routine, then the routine will give us a big negative value (−10,000). By assigning this type of negative values we will generate a routine with a total penalty score, then we will throw this to the Tabu Window (

−4950 −5460 −5570 −9520 −11,290 −12,456 −17,529 −21,220 −22,458 −25,798

Now we have generated a routine with score −6570. Then the last routine (−25,798) from the Window will be removed and we will store our current routine in the Tabu Window. Then the window will looks like-

−4950 −5460 −5570 −6570 −9520 −11,290 −12,456 −17,529 −21,220 −22,458

The University Timetable Generator will cost effective work. It will save some valuable time our departmental Coordinators, section officers, program officers, teachers. It will reduce student class conflicts and exam conflicts problems.

Positive and Negative SidesManually semester routine creating is a time consuming work. A departmental Coordinator is always investing his/her a lot of time for this. Sometime other teachers and section officers are working along with a departmental Coordinator to generate a semester routine. A University Timetable Generator will reduce time and resources. Students and teachers will get best possible routine for a particular semester through this generator.

Though it will generate a routine automatically, there will not be possible to keep all preferences all time. Sometimes it can happen that some teachers are not getting their schedule according to their preferences. If we use multiple campuses for a particular department, then students have to travel a lot and teachers too.

This research is a package for scheduling courses and exam of a University. This package will help to handle a timetabling problem by satisfying all the requirements. Tabu Search algorithm obtains a high quality solution within a short time. If it can’t manage the best optimal solution, it will then provide a solution which is optimizing the nearest to the best. Through this research, using Tabu Search algorithm a University Timetable Generator can be implemented so easily.

Foremost, we are thankful to Allah. Then we would like to express our sincere gratitude to our honorable supervisor Monirul Hasan, Lecturer & Coordinator, Department of CSE for his continuous assistance of this research, for his endurance, inspiration, vehemence and immense knowledge. His direction helped us not only for the research work, but also for the writing of this thesis paper. Besides our supervisor, we would also like to thank our honorable Chairman, Shahriar Manzoor, Department of CSE and all of the Coordinators of different departments for their fervor, insightful comments, support and their valuable time. Last but not the least, we would also like to thank our parents who always give us mental support and encouragement. And finally we are really grateful having such a great group member for the stimulating discussions, passing sleepless nights together for completing this research before deadline, and for all the moments we have passed in the last four years. For all of these supports and encouragement, we are able to complete this research within deadline.

Islam, T., Shahriar, Z., Perves, M.A. and Hasan, M. (2016) University Timetable Generator Using Tabu Search. Journal of Computer and Communications, 4, 28-37. http://dx.doi.org/10.4236/jcc.2016.416003