Hello,
I searched the forum but I don't think this question was asked before..
I have a the need to find one day of the week where 4 of the teachers working in my school are all teaching in the same building.. two of them work anyway only in that building, so not too much trouble, but the other two work on two different buildings, so I want to be sure that I have at least one day where I have all 4 teachers in building X.
For me it is not important that the timetable of this teachers is the same in that day, I just need them to be there because in this way they can meet a group of students which can visit our school just 1 day per week for a project work, and they need to attend 1 lesson for each of the subjects taught by those teachers..
Thanks in advance!! ;D
It looks very difficult. Maybe a custom version could do this, but I am not sure.
I suggest you to pick 4 activities, one for each teacher (or only 2?), which you know are in building 1, and constrain them with activities same starting day. I assume that for each activity you know its building.
While I was having dinner I tought of a possible solution!! :P :P
I could add 4 more activities to do with a phantom class in building X, then pair each teacher to one of these and then add some kind of constraint to have this 4 on one day...
what do you think?
Quote from: niobee on September 07, 2017, 07:20:34 PM
While I was having dinner I tought of a possible solution!! :P :P
I could add 4 more activities to do with a phantom class in building X, then pair each teacher to one of these and then add some kind of constraint to have this 4 on one day...
what do you think?
Sorry, I tried to think in any way at it, but it looks too hard. I do not see how your approach can solve the problem.
How many building changes do you allow per day/week for teachers?
one change per day, and then there is a weekly limit.. in any case my approach worked, but the resulting timetable still needs to be finetuned a lot.. but I will go on trying to use this solution.
What I did not mention is that when one of the 4 teachers meets the foreign students he is not doing activities in a class, he is at school on a free hour..
let's assume teacher Aa that works 2h, then he has 1h free and a 4th last hour of activity... well he meets the students in the third hour, the only thing I need is that each teacher has a different hour free, thats why I was thinking of this "phantom" activity and room, so that I don't have 2 teachers simultaneously.
It's a project to help students in need who didn't finish their studies, so they come approx once a month only one day to do 1h Italian, 1h French, 1h Maths and 1h English
Did I understand everything correctly?
Teachers 1 and 2 (let's say) are already in this building every day.
Teachers 3 and 4 (let's say) have lessons in this building and in other buildings of the school.
1) we need to have teachers 1-4 the same building on ANY day of the week?
2) on this day, can these teachers 3 & 4 work in any other building as well?
And... after this... we need to ensure that each one of the teachers 1-4 will have a free hour (gap) on this day..., right?
These gaps may be overlapping?
Or the should not overlap?
Hello Vangelis,
no, there are some small mistakes:
1. teachers 1 and 2 are in this building 5 days in a week of 6 they have each one day off (but for the moment I dont' know which day, and I suppose it won't be the same day for them)
2. teachers 3 and 4 work in 2 buildings (teacher 3 works 5 days per week (no saturday), teacher 4 only works 4 days per week (no sat and wednesday)
3. only teacher 3 is allowed to move building in the same day
1. we need to have the 4 teachers in the same building ONLY ONE DAY per week
2. on this day only teacher 3 can work in other buildings
3. the gaps don't have to overlap
thank you!
hmmm.... maybe i missunderstood, but i think you maybe need to add a new year (students) if you can't use use one of your current students set.
than you need to add a pseudo teacher (i will call him "T").
add 4 activities:
activity one: The (new) students, the pseudo teacher T and the correct teacher T1
activity two: The (new) students, the pseudo teacher T and the correct teacher T2
activity three: The (new) students, the pseudo teacher T and the correct teacher T3
activity four: The (new) students, the pseudo teacher T and the correct teacher T4
now add a max days constraint to teacher T with just one day: So all that 4 activities will be the same day.
care about the buildings swaps by building constraints.
teachers 1 and 2 are in this building 5 days in a week of 6 they have each one day off (but for the moment I dont' know which day, and I suppose it won't be the same day for them)
Do you need to solve the problem in its most general form? I.e. do you need FET to place this day off by itself or you want to choose the day?
we need to have the 4 teachers in the same building ONLY ONE DAY per week
How many hours should each one of the teachers teach in this single day?
How many hours per week does each one of these teachers teach in this building?
How many hours per week does each one of these teachers teach in other buildings?
About the gaps: should they be gaps or they could be free hours as well?
How many hours per day does your timetable have?
Here I am again, sorry if I did not answer earlier but was doing urgent timetable in this days... coming back to my problem..
so here some answers to Vangelis:
question 1. for the moment I have a constraint on maximum days per week for teacher 1 and 2 of 5 days, so fet automatically leaves one day free.. and that's ok for me now.
For the second question:
1. normally teachers should not exceed 4 hours a day and not less than 2h, but on that day they could also teach for 5 hours
2. in this building we have teacher 1 for 18h/week, teacher 2 is in this building for 12h/week (I forgot that he also works on other building for 6h/week sorry!), teacher 3 works in this building for 6h/week and teacher 4 for 9h/week.
3. teacher 1 only one building, teacher 2 works 6h in building S, teacher 3 works 6h in building B and teacher 4 works 9h in building S
4. in would be better to be free hours.. eg the first hour before the usual lessons, or the last hour, but I can also accept gaps
5. our timetable has 5 hours per day
As written in a previous post, I decided to create a new subject, I have added 4 activities in this subject 1h hour per each of the 4 teachers, I have added a new room in my building and told fet that this 4 activities are in this room, I also told fet that this 4 activities are on the same day..
This works, but I have for example a teacher working from 8-9, then a gap, then this activity and then from 11 to 13 another activity.. this is not ok, because when the foreign studends don't attend their lesson this teacher has a two hour gap.. ???
I know there is a solution.. but I still can't see it... :-[
I'm not sure if I understood your problem. The crucial part is that I didn't understand if these four teachers SHOULD have either a gap (or gaps) or free hour (or free hours) on this specific day. You mentioned that your timetable has five hours per day and than on this specific day these teachers can teach for five hours. So... are the gaps (or free hours) needed for these teachers?
If you want just to place some activities on this day you can do the following:
Create a pseudo activity (no teacher, no group). Duration = 5, split = 1.
Choose the activities of the four teachers that you want to place on this specific day. Go do "A set of activities has same starting day". Select the pseudo activity along with the above activities (of these four teachers that need to be placed on the same day).
Then go to a set of activities are not overlapping. Select the pseudo activity along with the activities of Teacher1 (T1) that should NOT be placed on this specific day. Do the same for the activities of T2, T3, T4 that should not be placed on this specific day. Generate.
I don't know if this solves your problem. I don't even know if this is really your problem. So, please check this solution. If you need something different, please make clear to me what exactly you need. You know, different countries have different educational systems and timetabling needs. I might have misunderstood your needs because of having no knowledge of your system....
Vangelis.