time tabling arquitectura.ppt
TRANSCRIPT
Presentation on
Development of
Timetable Generation System [TTGS]
HardikHardik H. kothadiaH. kothadiaBBY :Y :GGuided uided BBY :Y :
Dr. K.M.PatelDr. K.M.Patel( I.B.M. Pune)( I.B.M. Pune)
Presentation Overview
Brief History of the Project
Introduction to the Timetable Generation System [TTGS]
Project Status & Learnings
Next Steps?
Brief History of the Project
In recent years two main approaches seem to have been successful.
• The first approach is based on Local Search Procedures• The second approach is based on Constraint Programming (CP)
The Local Search ProceduresThe local search procedures such as Simulated Annealing, Tabu Search and Genetic Algorithms. These methods express constraints as some cost functions, which are minimized by a Heuristic Search of better solutions in a neighborhood of some initial feasible solution.
The main disadvantages of this approach are :1. The difficulty of taking into account hard constraints2. The need to determine their parameters through experimentation. Although they are good for optimizing the initial feasible solution, theyhave problems with finding it.
The ability to express complex constraints in a simple, declarative way is crucial for introducing the requirements of the colleges and university timetabling problem into the program and is crucial for their successful solution.
The Constraint Programming (CP)The constraints are handled through a system of constraint propagation, which reduces domains of variables, coupled with backtracking search.
The main disadvantages of this approach are :1. The difficulties with expressing soft constraints2. The possible problems with improving the initial feasible solution, which - as a rule - may be determined without difficulties.
Introduction to the Timetable Generation System
[TTGS]
• What is TTGS?
• Flow of Project
• Flow of Data Within Project
Flow of Project
• Get the data• Input the
constraints• Verify all entries• Generate
timetable• Finalize timetable• View timetable• Print / export
timetable
Flow of Data Within Project • Collect data from
data store• Initialize Timetable• Perform Allocation• Generation of
Timetable• Formatting of
Timetable
Status of Project
• Project Stage-1 – Analysis of Project – Requirements of Projects (S/W and H/W)– Planning– Documentation
It Consist Of Scheduling Of Lectures And Rooms
Based On Strong Constraints and Weak Constraints in given Time Slots
Strong Constraint
A classroom is not assigned to more than one lecture at the same time.
Weak Constraint
There should be break after 2 hrs
A teacher can take maximum 3 lectures a day
Teachers ListTeachers List
ARSARSSSCSSCSRPSRPSMVSMVSHBSHB
DSPDSPADMPADMP
ISISMCMCSESE
Subjects ListSubjects List
R1R1R2R2R3R3R4R4
Rooms ListRooms List
8:30-9:30 8:30-9:30 ....
2:30-3:302:30-3:303:30-4:303:30-4:304:30-5:304:30-5:30
Years ListYears List
IIIIIIIIIIIIIVIV
Time Slots ListTime Slots List Days ListDays List
MonMonTueTueWedWedThuThuFriFri
IIIIIIIIIIIIIVIV
MonMonTueTueWedWedThuThuFriFri
8:30-9:30 8:30-9:30 ....
2:30-3:302:30-3:303:30-4:303:30-4:304:30-5:304:30-5:30
R1R1R2R2R3R3R4R4
DSPDSPADMPADMP
ISISMCMC
ARSARSSSCSSCSRPSRPSMVSMVSHBSHB
Teachers List Subjects List Rooms ListRooms List
Years ListYears ListTime Slots ListTime Slots List Days ListDays List
Constraints MatrixConstraints Matrix
Next Steps?
• Actual Implementation – Interface design– Code– Test for some e.g.– Feedback– Prepare Final Product
References1. Michael R. Garey and David S. Johnson. Computers and
intractability: a guide to the theory of NP-completeness. 1979. BP Romero.
Examination Scheduling in a Large Engineering School: A Computer-Assisted Participative Procedure, volume 12 of 17-23. Industrial Organization Department, Industrial Engineering Technical School,
Madrid, Spain, April 1982.2. Google Web Toolkit. http://en.wikipedia.org/wiki/google web toolkit http://code.google.com/webtoolkit/resources.html http://code.google.com/webtoolkit/gettingstarted.html http://googlewebtoolkit.blogspot.com/2007/12/developing-
gwtapplicationswith.html.3. XML Tutorial. http://www.w3schools.com/xml/ http://en.wikipedia.org/wiki/xml.