the maximum room change per week for a teacher or all teachers

Started by abdeljalil elghazoui, September 17, 2019, 05:37:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abdeljalil elghazoui

#15
"About the other request: teacher+room+time not available. How should we add this in the interface? Enter a teacher, enter a room, select times from a matrix? Or enter a teacher, select some rooms in a list, and select times from a matrix? (in this last case the times apply to all the rooms)."
in arabic: أوقات غير متاحة لأستاذ في قاعة
in eng: Times not available to the teacher in room
"لا تهمني مشاكل العالم المهم أن لا أكون جزءا مساهما فيها"

Omar Ben Ali

Quote from: Liviu Lalescu on September 19, 2019, 09:01:19 PM
Dear Moroccan users of FET,

Thank you for your feed-back.

1) About teacher(s) max room changes per week:
    a) In FET understanding, changes per week refers to the sum of changes on each day. You might add each room on a separate building and use teacher(s) max building changes per week constraint.
    b) But do you want the changes considered also from a day to the next day? In this case I need to think some more of this. It looks difficult.
    c) Do you know the constraint activities occupy max different rooms? You could add all the activities of teacher T, max different rooms = 2, and over the week teacher T will be in maximum 2 rooms. But he may be in room R1, then in room R2, then in R1, then in R2 again.

2) About room not available for a teacher: I will need to think of this constraint and I hope it is possible. But it will take a while, as I am busy with other works on FET and tired of working much.

Please clarify these above, so I know for sure what you need. Maybe you could give me some pictures to show.

Thank you Liviu.
1) we want the changes considered also from a day to the next day.  In this way we can install  tha majority of teachers in  one room  all week and some teachers in 2 or may be 3 rooms max per week.
2) About room not available for a teacher or teachers. I think this feature, if added to Fet Moroccan version or Fet Official, would be very useful.




Liviu Lalescu

Quote from: Omar Ben Ali on October 01, 2019, 11:11:54 PM
Thank you Liviu.
1) we want the changes considered also from a day to the next day.  In this way we can install  tha majority of teachers in  one room  all week and some teachers in 2 or may be 3 rooms max per week.
2) About room not available for a teacher or teachers. I think this feature, if added to Fet Moroccan version or Fet Official, would be very useful.

1) OK, I'll try in the future (but now I will need a resting time). Question: If a teacher is allowed 2 rooms per week, can he work on a single day at 8:00 in room1, at 9:00 in room2, and at 10:00 in room1?

2) I'll try for FET-Morocco and FET-Algeria. If needed, I'll try also in the official. But I am very busy and tired these days on working on new features of the official FET. I will need some rest.

Omar Ben Ali

Quote from: Liviu Lalescu on October 02, 2019, 04:34:34 PM
Quote from: Omar Ben Ali on October 01, 2019, 11:11:54 PM
Thank you Liviu.
1) we want the changes considered also from a day to the next day.  In this way we can install  tha majority of teachers in  one room  all week and some teachers in 2 or may be 3 rooms max per week.
2) About room not available for a teacher or teachers. I think this feature, if added to Fet Moroccan version or Fet Official, would be very useful.

1) OK, I'll try in the future (but now I will need a resting time). Question: If a teacher is allowed 2 rooms per week, can he work on a single day at 8:00 in room1, at 9:00 in room2, and at 10:00 in room1?

2) I'll try for FET-Morocco and FET-Algeria. If needed, I'll try also in the official. But I am very busy and tired these days on working on new features of the official FET. I will need some rest.
1)No. If teacher is allowed 2 rooms (r1 and r2) per week. he do not changes room in each day. Suppose he works 5 days per week, he can works for example in rooms r1, r1, r2, r1, r2. Or r1, r2, r2, r2, r2, or r2, r1, r2, r1, r2,... etc. In all cases, teacher works in 2 rooms only per week and works in only
one room in each day.
Thank you.

Liviu Lalescu


Volker Dirr

ahh... sadly i read the Moroccan forum nearly never. I just read it now.

I wonder about your requests, because:
a) it might be very critical to special teachers with 2 (or more) subjects. Like Sport and Math. Not changing the room will be bad. Also similar for other subject combinations.
b) not changing the room is already implemented: Just use the teachers home room feature. Why don't you use that?

Omar Ben Ali

Quote from: Volker Dirr on October 02, 2019, 10:08:29 PM
ahh... sadly i read the Moroccan forum nearly never. I just read it now.

I wonder about your requests, because:
a) it might be very critical to special teachers with 2 (or more) subjects. Like Sport and Math. Not changing the room will be bad. Also similar for other subject combinations.
b) not changing the room is already implemented: Just use the teachers home room feature. Why don't you use that?

a) i agree with you but in morocco we have not this critical case : teacher of math and sport . we can combine math with computer science for example; also math with physics but not math with sport.
b) yes, i know the constraint : a set of activities occupy max different rooms but to use it. Suppose we want teacher T works in 2 rooms per week. we have to add all the activities of teacher T, max different rooms = 2, and over the week teacher T will be in maximum 2 rooms. But he may be in room R1, then in room R2, then in R1, then in R2 again. So to avoid the changes of rooms in  each day, we have to use the constraint : a set of activities are in the same room if they are consecutive. Or add each room on a separate building and use teacher(s) max building changes per week constraint. So we need to  added 2n_teachers constraints.
Many users of Fet the moroccan version hope that Mr. Liviu make this easier . That's all.

Volker Dirr

a) Math and Sport was only an example. There are a lot of bad combiantions. Sport and every other subject is bad. Combuter sience and every other subject is bad. Physics with nearly every other subject is bad. ...

b) But in that case you only need other constraints. Not the suggested constraints.
in that case you need
b1) No room changes per day, but you will still run into trouble because of a)
b2) No room changes per week, but you will still run into trouble because of a)

c) also the combination of not available times in your request is very very critical. I bet you won't find bugs. I got help request on datasets; the teacher didn't saw why FET failed, even if there are only a few not availble time constraints. He/She only placed a few not available times to many teachers and the timetable was impossible by that. I was even able to proof that. I bet you will run into the same problem if you try to add such constraint too each teacher.

d) you should use teacher home room constraints. Maybe Liviu should try to implement no room changes for a single day. So you can use both at the same time. I bet even this will already generate very very difficult timetables.

Liviu Lalescu

#23
Dear Moroccan FET users,

Just to inform you that I began thinking on these customizations. I will let you know of my progress.

Please let me know if you have some test files for me, with English characters.

I want to test: teacher room not available times, and then room changes for teachers.

But it might take long, and I cannot promise it will be successful.

abdeljalil elghazoui

greetings Livio
concerning
**teacher room not available times**
That's right
concerning
**room changes for teachers**
What we want is:
**Teachers maximum Room changes per day**
With sincere thanks and respect
"لا تهمني مشاكل العالم المهم أن لا أكون جزءا مساهما فيها"

Liviu Lalescu

So you don't need maximum say two rooms per week for a teacher? Like, for each day: r1, r2, r1, r1, r2?

Liviu Lalescu

I completed the engine part and I hope it will work (I did not test, yet). I will continue to add it in the interface.

An important question: teacher(s) max room changes per day - should it be for a real day? Please let me know as soon as possible.

Liviu Lalescu

Quote from: abdeljalil elghazoui on October 29, 2019, 03:16:40 PM
greetings Livio
concerning
**teacher room not available times**
That's right
concerning
**room changes for teachers**
What we want is:
**Teachers maximum Room changes per day**
With sincere thanks and respect

Hello, Mr. Abdeljalil Elghazoui and the Moroccan FET users.

I hope I did it.

Teacher room not available times and teacher(s) max room changes per (real) day.

Please get the test version from https://lalescu.ro/liviu/fet/download/custom/morocco/test/ and let me know as soon as possible if it is correct.

I will ask Benahmed Abdelkrim if he can translate to Arabic the new fields and hopefully release soon the Morocco43 version.

Liviu Lalescu

I just released the latest Morocco43 and Algeria43, both with these two new constraints. Please see the custom versions for each version (on the forum or on the FET homepage). The test link above will not function anymore. Thank all of you for the suggestions!

abdeljalil elghazoui

"لا تهمني مشاكل العالم المهم أن لا أكون جزءا مساهما فيها"