hi....
what is the differences between "max gaps per week for teacher" and "max gaps per day for teacher"??
I thought "max gaps per week for teacher" is a feature where u just set the gap thing once for the whole week and "max gaps per day for teacher" is a feature where u can choose any day to set the max gaps for any teacher? Isn't it??
I have a proposal. Maybe u can create "min gaps for teacher" becoz I don't want my timetable too tight (no free period between classes). I want some gap between each classes. For example 2 or 1 period (Slot) between each class. Here the "min gaps" can be set to 2 or 1 and the "max gaps" can be set to higher than "min gaps" value.
In your sample are 1+4+1 gaps per week.
so "max gaps per week == 6" is true.
but "max gaps per week ==5" is false.
you have 1+4=5 gaps the first day.
you have 1 gap the second day.
you haven't gaps the other days.
so "max gaps per day ==5" is true.
but "max gaps per day ==4" is false.
i hope that help.
there is no 100% possibility to do min gaps per day/week. There are several workaround possible (with pseudo activities). Please have a look in the manual. http://www.timetabling.de/manual/FET-manual.en.html
Ask again if you don't understand or need more information.
Max gaps per week means that you restrict the number of total gaps per week. Per day means that each day must have maximum the number of gaps (for instance 1 per day and 3 per week).
You cannot put a constraint min gaps in FET, because of the way the algorithm works.
Are you suggesting constraint teacher(s) max hours continuously? I have thought of that in the past, as some others suggested it (suggestions made for FET-4, and the constraint was easy to add). But to add such a constraint for FET-5 seems very complicated. Please tell me, is such a constraint really important for your institution or other institutions?
Maybe you need to have a gap between building changes, in which case you can use the space constraint min gaps between building changes. But if your rooms are in the same building, it is not the case.
I think I understand about gap
Quote
Are you suggesting constraint teacher(s) max hours continuously?
NO
Quote
Please tell me, is such a constraint really important for your institution or other institutions?
YES it is important
Quote
Maybe you need to have a gap between building changes, in which case you can use the space constraint min gaps between building changes. But if your rooms are in the same building, it is not the case.
You're right on the gap between building changes.... I need 1 or 2 period between each classes.... One more thing, I think the lecturers need 1 or 2 period to gain strength back after a two hour lectures... Don't you think? They can gather their strength back to continue classes maybe after taking 1 to 2 period to take a break after a tiring 2 straight hours of lectures... 8-)
For lecturers: don't you want to have for instance teacher T1 to have only maximum 4 periods in a row? After that, a pause and after that other maximum 4 periods. Isn't that "constraint teacher max hours continuously"? I do not understand why you say this is not what you need.
If it is really important, I'll try to think of it in the next day(s).
QuoteFor lecturers: don't you want to have for instance teacher T1 to have only maximum 4 periods in a row? After that, a pause and after that other maximum 4 periods. Isn't that "constraint teacher max hours continuously"? I do not understand why you say this is not what you need.
ohhh..... if u said that "constraint teacher max hours continuously" = teacher T1 to have only maximum 4 periods in a row then after that, a pause and after that other maximum 4 periods.... yes.. I want that... hehe....
I thought "constraint teacher max hours continuously" = teacher T1 to have only maximum 4 periods in a row then after that NO pause and after that other maximum 4 periods. hehe
It is better if the user can CHANGE the "pause period" slot so the user can choose whether to place 1 or 2 period between classes
TQ
Is it not good enough a one hour pause? It is very complicated (impossible?) to be able to choose 1 or 2 periods gaps. Please let me know.
I'll begin working on this constraint, could you please send me your file so I can test the new constraint? It is easier if you could send it on my email address (see FET contacts page).
QuoteIs it not good enough a one hour pause? It is very complicated (impossible?) to be able to choose 1 or 2 periods gaps. Please let me know.
For me it's enough for 1 or 2 free period... Maybe you can make a min and max of free period like the min and max gap. If it is too complicated, then u just fixed it to make 1 period free (on and off like a tick or radio button) between each classes ONLY for the same lecturer...
Quote
I'll begin working on this constraint, could you please send me your file so I can test the new constraint? It is easier if you could send it on my email address (see FET contacts page).
on the way my friend... hehe
I can only impose a constraint max hours (in fact periods) continuously for a teacher or for all teachers. So, it will impose that after x (say 4) periods they will have 1 period gap at least.
I will begin working now on this constraint. I have thought and it seems realizable.
I think it will be ready today or tomorrow. I'll let you know.
PS: Why did you add constraints teacher max days per week for many teachers with 5 days, when you have a 5 days week? The constraints are useless, only the one with 4 days is useful.
QuoteI can only impose a constraint max hours (in fact periods) continuously for a teacher or for all teachers. So, it will impose that after x (say 4) periods they will have 1 period gap at least.
I will begin working now on this constraint. I have thought and it seems realizable.
I think it will be ready today or tomorrow. I'll let you know.
ok.... but I think it is better if FET can assign X free periods depends on the user need after X period of classes. For example, If subject A is 4 periods, after that, the free period is 1 (the user input 1 for free period after the classes). Another example is, If subject B is 3 periods, after that, the free period is 2 (the user input 2 for free period after the classes)... I think the best way to handle this problem is to let FET automatically handle IT as long as there is a FREE period( does not matter whether it 1, 2, 3 or 4 FREE period) between each classes. You can get rid the trouble to make the user to insert the input (FREE period) into FET ... just a suggestions... U know the best....
Quote
PS: Why did you add constraints teacher max days per week for many teachers with 5 days, when you have a 5 days week? The constraints are useless, only the one with 4 days is useful.
hehe.. good question.. hehe.. actually I want FET to fully utilized all the room....but I found that I can achieved this by using Min n days between a set of activities = 2.... ;D
I cannot say to FET: leave 2 periods, I can only say: leave at least 1 period. In practice, there will be 1, 2 or more free periods, but guaranteed only one. It is because of the algorithm that I cannot make it with 2 or more. I hope it is good enough for you.
The constraint will be named teacher(s) max hours continuously and you can specify the maximum amount of contiguous hours (periods) for teacher T or all teachers, for instance 4.
QuoteI cannot say to FET: leave 2 periods, I can only say: leave at least 1 period. In practice, there will be 1, 2 or more free periods, but guaranteed only one. It is because of the algorithm that I cannot make it with 2 or more. I hope it is good enough for you.
oooooooo.... I understand.. More than enough for me.. hehe
Quote
The constraint will be named teacher(s) max hours continuously and you can specify the maximum amount of contiguous hours (periods) for teacher T or all teachers, for instance 4.
Does this mean that I can add two constraint which is 4 and 3 period?? This is because, my time table mainly consist only 3 and 4 max hours continuously period....
QuoteDoes this mean that I can add two constraint which is 4 and 3 period?? This is because, my time table mainly consist only 3 and 4 max hours continuously period....
Means that you can add constraints for each teacher, one teacher has for instance max 3 hours continuously and another 4.
The algorithm is ready now, I will begin implementing the interface and open/save code and test after that. I just tested for your file a bit and it is OK.
I have to add a check. Say activity A has duration 4. Then you cannot a constraint of type max hours continuously with less than 4 (say 3). Is that OK with you?
Quote
Means that you can add constraints for each teacher, one teacher has for instance max 3 hours continuously and another 4.
The algorithm is ready now, I will begin implementing the interface and open/save code and test after that. I just tested for your file a bit and it is OK.
OK.... Same features that i want.. 8-)
Quote
I have to add a check. Say activity A has duration 4. Then you cannot a constraint of type max hours continuously with less than 4 (say 3). Is that OK with you?
Yes... It's fine by me
Great news! I made this (max hours continuously constraints). It was not that hard as I thought. Please get the latest version from lalescu.ro/liviu/fet/download/test/ (you can see this link in the News section also).
Please let me know if everything is OK, so I can release in a few days a new version.
ok... I'm on it now.... tq.... :D
Quote
Please let me know if everything is OK, so I can release in a few days a new version.
mmm.... I've tried that new features (max hours continuously constraints) BUT there is ONLY one time that the subject don't have any free period between it... Others are ok
I also try to regenerate the time table again and again.... The result is still the same.. ONLY one time that the subjects don't have any free period between it....Others are A OK
What I do is, I set "max hours continuously for all teacher" to 3 and 4 period bcoz my time table only consists of 3 and 4 period for any classes and lab.... Maybe there is something wrong with the code or.... bug... Why I said this? This is because, if FET broke (have conflict) any constraints... FET will tell us right? But mine is not.... Any idea???
TQ
Quote
I have to add a check. Say activity A has duration 4. Then you cannot a constraint of type max hours continuously with less than 4 (say 3). Is that OK with you?
Where is this feature in FET???
QuoteQuote
Please let me know if everything is OK, so I can release in a few days a new version.
mmm.... I've tried that new features (max hours continuously constraints) BUT there is ONLY one time that the subject don't have any free period between it... Others are ok
I also try to regenerate the time table again and again.... The result is still the same.. ONLY one time that the subjects don't have any free period between it....Others are A OK
What I do is, I set "max hours continuously for all teacher" to 3 and 4 period bcoz my time table only consists of 3 and 4 period for any classes and lab.... Maybe there is something wrong with the code or.... bug... Why I said this? This is because, if FET broke (have conflict) any constraints... FET will tell us right? But mine is not.... Any idea???
TQ
Please send me your file and obtained timetables and let me know where the problem is.
Quote
Where is this feature in FET???
Try to add a constraint max hours continuously 2, you will get an error that it is impossible. If you have a teacher with an activity length 4, you cannot add constraint max hours continuously for him (or for all teachers) with 3.
Quote
Please send me your file and obtained timetables and let me know where the problem is.
on the way...
Quote
Try to add a constraint max hours continuously 2, you will get an error that it is impossible. If you have a teacher with an activity length 4, you cannot add constraint max hours continuously for him (or for all teachers) with 3.
Found it...
TQ
I know why you get teacher Najmi with 6 continuous hours: you added constraint max hours continuously with 6 100% and 8 100% (why did you also add the one with 8, it is useless?). You need to add with 4 hours 100%, and you will never get a teacher working for more than 4 hours in a row.
QuoteI know why you get teacher Najmi with 6 continuous hours: you added constraint max hours continuously with 6 100% and 8 100% (why did you also add the one with 8, it is useless?). You need to add with 4 hours 100%, and you will never get a teacher working for more than 4 hours in a row.
You're right... I'm just confused.... It only need 4 period ONLY.... I think you should change phrase "hours" to "period" so that others don't confused between both of them. hehe
The feature works charmingly.. thanks
If I would change hours to periods, I should change in lots of other places, which is too late. It is nearly impossible. And if I say periods, others might not understand.
ok hehe ;)
I got another excellent suggestion about gap... Before this, u make "teachers time constraint --> max hours continously for a/all teacher". This feature make sure that lecturers have at least one free period between classes...It works great ;D
How about, u make some features on "student time constraint --> max hours continously for a/all student". This features, same as above, make sure that the student have at least one free period between classes...
What do u think? Is it possible??
TQ
OK, I'll do that today.
Is such a constraint needed?
I have made this, please get the latest (see News, or lalescu.ro/liviu/fet/download/test/).
Please tell me if everything is OK. I intend to release tonight, because I found a crashing bug. Please let me know asap if there are any other problems you noticed, because I would like to fix every one of them.
QuoteOK, I'll do that today.
Is such a constraint needed?
Actually yes....
QuoteI have made this, please get the latest (see News, or lalescu.ro/liviu/fet/download/test/).
Please tell me if everything is OK. I intend to release tonight, because I found a crashing bug. Please let me know asap if there are any other problems you noticed, because I would like to fix every one of them.
on my way.... please read your mail
Quote
Please tell me if everything is OK. I intend to release tonight, because I found a crashing bug. Please let me know asap if there are any other problems you noticed, because I would like to fix every one of them.
It works smoothly... hehe. thanks mate ;D