Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Defi- a teacher's timetable is to be prepared. Take all teachers data first. Store constraints with every teacher. There are two types of constraints. One type is hard constraint which cannot be violated. Like a lecturer cannot lecture at two places simultaneously. Soft constraint can be violated if there is no other solution exist. They are like; a lecturer should not have two lectures, one immediately after another.

EDIT(Moved from answer)


plz solve out my problem
bcaz i m in big trouble


this my final submission and i am not able to handle this project

plz help me i m big trouble

plzzzz any one soleve this program and send me source code

pllzzzzzzzzzzzzzzzzzzzz

becaz its a 40 marks project and i not able to submit before 5th dec i m fail in sem

so any one send me source code plzzzzzz

i try my level that are generating only time table not for particularly techer timetable means i want in input i enter any teacher name so output must be only teacher whole day teaching period or time for entered teacher........
so this constraint is more confusing so plzzzzzzzzzzzzzz help meeeeeeeeeeeeeeee
Posted
Updated 27-Nov-11 1:25am
v3
Comments
thatraja 26-Nov-11 23:41pm    
Homework?
chandanadhikari 27-Nov-11 0:54am    
rightly asked :)
Selva K 30-Nov-11 4:00am    
First try it...

If this is a homework question, good luck with it....

If on the other hand, this is a task that's required for an actual educational institution - I suggest you further examine your idea of constraints. That is to say, that when timetabling for each trimester/semester the hardest aspect is fitting in with the constraints of the individual students, or as is the more usual collection - student sets.

Where a student-set is defined as the group of students that are undertaking all of their classes together.

I've spent quite some time creating the timetables for a smallish college with some 1500 students. Commercial solutions include Allocate+ and Syllabus+




Though I'm not (usually) a total bastard, and I will give you a hint or two:
It's my advice that you break the week up into blocks of 1 hour or 30 min or 15 min (whichever is the finest granularity you need for scheduling - we used 1 hour)
So, you may have 5 days a week, from 9am to 5pm - This would imply breaking the week up into 8 hrs/day * 5 days = 40 blocks.
You can then give each staff member an array with 40 elements. Each element may be set to NULL if the staff member doesn't have a class, or it could be set to a value that designates the class scheduled during that block of time.

This will allow you to tell who is doing what at any given time. You'll obviously need this information when your code is trying to decide when to schedule each class. It's then up to you to come up with a method to calculate (if possible) a timetable that schedules each of the required classes.

Without serious restrictions on the set of input data, this may be a daunting process. Good luck!
 
Share this answer
 
If you are going to post your homework, at least try to make it look like you have attempted to do something yourself!

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Have you actually tried to do any of this yourself? If so, where are you stuck?
 
Share this answer
 
this my final submission and i am not able to handle this project

plz help me i m big trouble

plzzzz any one soleve this program and send me source code

pllzzzzzzzzzzzzzzzzzzzz

becaz its a 40 marks project and i not able to submit before 5th dec i m fail in sem

so any one send me source code plzzzzzz

i try my level that are generating only time table not for particularly techer timetable means i want in input i enter any teacher name so output must be only teacher whole day teaching period or time for entered teacher........
so this constraint is more confusing so plzzzzzzzzzzzzzz help meeeeeeeeeeeeeeee
 
Share this answer
 
Comments
Richard MacCutchan 27-Nov-11 7:39am    
Why do you think anyone else should do this work so you can be given a qualification that you don't deserve? In the real world we have to learn to stand or fall by our own efforts; get used to it.
enhzflep 30-Nov-11 4:48am    
Oh, we'll help alright - help you get used to the idea of having work you do not complete being marked as unsatisfactory!!
While the potential for harm is (hopefully) far different, would you want an aircraft mechanic working on your plane that had passed his training as you are trying to pass yours???
Mmm, didn't think so!

Go away and fail..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900