Project Members:
Sandeep Kakani 2000-102
Mudit Agrawal 2000-055
Motivation
Resource Conflict
- A teacher must not have two classes in the same slot
Electives
- Two electives taken by the same student cannot be allocated in the
same slot
Exclusion
- A period of more than one slot must be contiguous.
Juxtaposition
- Different outputs with same data enables to compare the better result.
motivation(continued)
A batch is chosen
For each subject, first its lectures are allocated, then the tutorials
and finally labs.
For each data chosen a slot is randomly picked. A new slot may be
required in the following cases:
Slot is busy with another compulsory course
Teacher for that subject is not free.
Classroom of required strength is not free.
Methodology(continued)
After all the subjects are allocated, the electives are taken
into consideration.
The chosen slot must not have a regular subject for that batch.
Timetables for
different
batches
P1 P2 P3 P4
Mon
Tue
Wed A Slot S1(4)
Thu
A clash as
Timetable for E1
Fri E2 the same teacher
One Batch
cannot teach in two
Sat batches at the same
time
Clash if the same student is enrolled in
Both E1 and E2 electives
First batch It
is is
taken, A slot
checked
along
A sample is chosen
whether
with | tutat
lec the
timetable | random
teacher
lab of is
a free or not
subject of that batch
Methodology(continued)
All the data inputted gets stored into a file - to aid the user to generate
different outputs redirecting the same input from that file.
Methodology(continued)
Q. What is No- Solution Problem?
Answer:A no-solution problem occurs when the program
cannot find any further suitable slots which satisfy the
preferences and constraints given for the next subject.
The output gives the tabular form of the timetable for each
batch with each subject entry in a slot.