thanks for "min days per week for all teachers"

Started by Silver, September 15, 2009, 03:12:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Silver

Dear Liviu
thanks for "min days per week for all teachers".
very nice.

regards

Liviu Lalescu

Does it work correctly? Did you test it?

Also, test it in combination or without: max gaps per day for teacher(s), max gaps per week for teacher(s), min hours daily for teacher(s)

silvia

I'm very happy :) I'm going to test it right away  ;D

silvia

I have tested this feature and it works, sure it does. The only thing that gives me a lot of problems is this:
I have like 50 teachers. Aproximately 10 of them work part time and should do a min and a max of 3 days. the other 40 teachers work a min and a max of 5 days. if I use this constraint for all teachers, there's no way that the specific restriction of "min/max days for a teacher" works. The min days is exclusive. I should enter min days for a teacher 50 times. Is there a way that min days for all teachers is overwritten by more specific restriction of min days for a teacher?
Is my question clear or is it cryptic?
thanks

Liviu Lalescu

Your question is clear, but I don't know how to solve it. Because if a user enters min days for all teachers = 5, then this constraint must be respected no matter of the other constraints (this is the logic of constraints, I mean).

silvia

ah, ok, I see. I thought that specific constraints for one teacher overwrite general constraints for all teachers, but I must be mistaken :)

Liviu Lalescu

There is a list of constraints, and each constraint with 100% must be satisfied, this is the logic. My logic may be not the perfect one, I'll think about it.

sstt2

Hi,
where can i find this option ??

"min days per week for all teachers"
"min days per week for a teacher"

I downloaded fet-5.10.3 just now
and didn't find it

??


Chafik Graiguer

QuoteHi,
where can i find this option ??

"min days per week for all teachers"
"min days per week for a teacher"
It is located at:
Time constraints ----> Teacher time constraints
It is the sixth constraint ;)

Chafik Graiguer

#9
QuoteThere is a list of constraints, and each constraint with 100% must be satisfied, this is the logic. My logic may be not the perfect one, I'll think about it.
I think Silvia's problem is the following:
What will happen for Teachet  T1  if I set:
Min days per week for all teachers= 5
Min days per week for teacher T1 = 3
?

Does the settings for ONE Teacher T1 have priority on settings for ALL ?
Does the setting for a group's memeber override settings for the group?

This is the same question I wrote here:
http://lalescu.ro/liviu/fet/forum/index.php?topic=277.0


Liviu Lalescu

QuoteHi,
where can i find this option ??

"min days per week for all teachers"
"min days per week for a teacher"

I downloaded fet-5.10.3 just now
and didn't find it

??


Please get the snapshot for 5.11.0, http://lalescu.ro/liviu/fet/download/test/ , it is not available in 5.10.3, because I just implemented it.

Liviu Lalescu

#11
Quote
QuoteThere is a list of constraints, and each constraint with 100% must be satisfied, this is the logic. My logic may be not the perfect one, I'll think about it.
I think Silvia's problem is the following:
What will happen for Teachet  T1  if I set:
Min days per week for all teachers= 5
Min days per week for teacher T1 = 3
?

Does the settings for ONE Teacher T1 have priority on settings for ALL ?
Does the setting for a group's memeber override settings for the group?

This is the same question I wrote here:
http://lalescu.ro/liviu/fet/forum/index.php?topic=277.0


Yes, indeed. I am thinking of it, you are right in a way, but the logic of FET format does not allow to have exceptions for teachers. You are right, it is a bit difficult to add all constraints for all but one teachers.

You can do that: in add teachers min days per week, select 5 days, then in teachers combo box select first teacher. Press Enter. Press down. The combo box will change to next teacher. Press Enter. And so on :-). It is not very difficult.

Chafik Graiguer

#12
I am now more confused than before :(
Here:
http://lalescu.ro/liviu/fet/forum/index.php?topic=277.0
I have asked
Quoteis it possible to set Max gaps weekly to all teacher=1
then set Max gaps weekly for Teacher1=0
will teacher1 be protected against gaps, because it is already included in the "All teachers" category ?
and you replied to me:
QuoteAll constraints are respected. So all teachers will have at most 1 gap (exception T1), then T1 will have no gaps.
So I was thinking that I can set any constraint : max gaps or max hours daily or max consecutives..etc for  ALL = x
Then  make exception for a specific teacher/student set by setting:
max gaps or max hours daily or max consecutives..etc for  THIS teacher/student set = y


please, does this general rule is true for all constraint ?

Liviu Lalescu

All constraints are satisfied, there are no exceptions. All constraints are independent.

If you have all teachers max gaps per week=1, T1 max gaps per week=0, T2 max gaps per week=2, then all teachers without T1 will have max gaps 1 and T1 max gaps 0.

It is not user friendly this feature, but it is more correct I think.

Volker Dirr

#14
QuoteThe only thing that gives me a lot of problems is this:
I have like 50 teachers. Aproximately 10 of them work part time and should do a min and a max of 3 days. the other 40 teachers work a min and a max of 5 days. if I use this constraint for all teachers, there's no way that the specific restriction of "min/max days for a teacher" works. The min days is exclusive. I should enter min days for a teacher 50 times. Is there a way that min days for all teachers is overwritten by more specific restriction of min days for a teacher?

There are 3 variants possible:

1. variant: like liviu (and you) desriped: add a constraint to every teacher.

2. variant: add a min n days constraint with 4 days to all teachers. also add a min n days constraint with 5 days to each single teacher that need 5 days. (so overall you add 1+40=41 constraints.)

3. variant: add a min n day constraint with 5 days to all teachers. also add an pseudo activity to each of the 10 teachers that also should have min 4 days. that activity must of course lock a whole day (so it might be a little bit more complicated if you also use a midday break or things like that.). so overall you need to add 1 constraint and 10 activitities.
If you don't like the displayed html table in this variant, you just need to load the solution as soon as you generated the final timetable. delete the pseudo activities and the min n day constraint and generate again (that just need a second, because all activities are locked).