I attach below a perfect solution(for algeria school) found by FET Moroccan version ... but the only inconvinient is the production time "a little elongated" 18H 59m 1s ?!
Thanks! Interesting!
I guess I won't add it to the examples.
You could lower the weights of min days between activities constraints.
But why do you make a timetable for an Algerian school with FET Morocco?
Quote from: Liviu Lalescu on September 24, 2017, 07:53:55 AM
But why do you make a timetable for an Algerian school with FET Morocco?
it is a request made by a colleague; he asked me if FET algeria can produce a timetable when teachers work every day exclusively in the morning or afternoon except for a few teachers when they are allowing them to work one or two full days a week. I replied that FET morocco can satisfy your requirements. here is the summary history of this file.
This is very good!
I tried making the weights of all constraints min days between activities from 95% to 5% (leaving the 100% ones as they were). It solves very fast, in a minute or so. But remain about 40 soft conflicts. You could try other values between 5% and 95%.
If you want, I can add this file as an example for FET Morocco. Let me know.
So, in Algeria there are (some) institutions requiring this option from Morocco. Unfortunately, I see no way to combine the two versions.
Reading this i will suggest my old request one again:
"Algerian" and "Morocco" are "bad" names.
It was just luck that guys from that States asked for a version that is used by many schools in their area.
As we can see there are also other schools in that areas that need other versions.
There are also other areas that use the "Algerian" or "Morocco" version. Even they live a few 1000 km away.
So i suggest to rename that version. By that users won't be confused so much.
Quote from: Liviu Lalescu on September 24, 2017, 10:55:54 AM
This is very good!
If you want, I can add this file as an example for FET Morocco. Let me know.
yes you can.
Quote from: Volker Dirr on September 24, 2017, 11:06:54 AM
Reading this i will suggest my old request one again:
"Algerian" and "Morocco" are "bad" names.
It was just luck that guys from that States asked for a version that is used by many schools in their area.
As we can see there are also other schools in that areas that need other versions.
There are also other areas that use the "Algerian" or "Morocco" version. Even they live a few 1000 km away.
So i suggest to rename that version. By that users won't be confused so much.
I agree with Volker.
Quote from: Benahmed Abdelkrim on September 24, 2017, 11:09:36 AM
Quote from: Volker Dirr on September 24, 2017, 11:06:54 AM
Reading this i will suggest my old request one again:
"Algerian" and "Morocco" are "bad" names.
It was just luck that guys from that States asked for a version that is used by many schools in their area.
As we can see there are also other schools in that areas that need other versions.
There are also other areas that use the "Algerian" or "Morocco" version. Even they live a few 1000 km away.
So i suggest to rename that version. By that users won't be confused so much.
I agree with Volker.
I agree with you. But it is complicated to unify these two versions into a single one and to come up with a suitable name.
I'll think about it.
i didn't suggest to unify them. Only to rename them.
i agree that the advantage of the current names is that the names are short.
so "Moroccan" might be "morning OR evening activities"
and "Algerian" might be "morning AND evening activities"
maybe this is still to long. Maybe it is not exact enough. Maybe an other user knows better names?
maybe we should start a new topic and ask for nice other names?
just a suggestion:
for the Moroccan version I suggest the name: half day
for the Algerian version I suggest the name: full day
maybe somebody else might suggest better names...
another suggestion:
for the Moroccan version; MORA which means: Morning OR Afternoon.
for the Algerian version; MANDA which means: Morning AND Afternoon.
nice names.
I really doubt these are explanatory names. The main use is in Morocco and Algeria.
I'll think about it.
another suggestion:
for the Moroccan version; FET part-time
for the Algerian version; FET Full-time
hmm... part time and full time sounds a bit more like the number of hours that a teacher must work per week.
maybe "half days only" and "up to 2 half days".
i hope a native english speaker can give us a nice suggestion (since my english to too bad for such a task).
Quote from: Liviu Lalescu on September 24, 2017, 08:28:34 PMThe main use is in Morocco and Algeria.
I think that is not true. I guess "evening" schools in Germany might also prefer that versions. I guess it will be not much different in other countries.
(So schools for guys have done a lower graduation some years ago. So they are older already and most of them are working some years already. So while working in the morning most of them can visit school in the eveing. But a few of them must work at the evening, so they can visit school in the morning only.
I know that one evening school in my town also have most classes in the evening and only a few in the morning. Most teachers must teach 4 days in the evening but max 1 day in the morning.)
Quote from: Volker Dirr on September 24, 2017, 10:48:32 PM
Quote from: Liviu Lalescu on September 24, 2017, 08:28:34 PMThe main use is in Morocco and Algeria.
I think that is not true. I guess "evening" schools in Germany might also prefer that versions. I guess it will be not much different in other countries.
(So schools for guys have done a lower graduation some years ago. So they are older already and most of them are working some years already. So while working in the morning most of them can visit school in the eveing. But a few of them must work at the evening, so they can visit school in the morning only.
I know that one evening school in my town also have most classes in the evening and only a few in the morning. Most teachers must teach 4 days in the evening but max 1 day in the morning.)
Do you know the conditions in Moroccan and Algerian schools? Students work morning and evening with 0 gaps, and in between they can have any number of gaps. This is not what you are describing.
I didn't wrote about students gaps at all so far. So how do you know? i guess by law it is allowed to give them gaps (since they are adult), but those schools try always to avoid students gaps, since they must work, care about their kids, ... It isn't as easy as an normal adult student in in year 11, 12 or 13 who is still supported by his parents.
If a students set is not available (since they work) you will just add a students not available.
I mean I think you can solve your problem with the official FET.
But Algerian+Moroccan schools need a day divided into two, each morning and afternoon zero gaps for students+teachers, and minimum 2 hours for them. It is very specific.
Other example:
The guy from Vietnam (see example Le-Qui-Don_Lam-Ha) in fact also "need" the custom version.
As you might remember he spited to his dataset into evening and morning into 2 files. By that he was able to care about students gaps even with the official version. Sadly he isn't able to have full control over the teachers and he need to use a very strict activity planning (since he already need to separate the students activities between morning and evening. And as you can see students have got activities at both times.)
I am sorry, but I don't remember this. I am not sure you are right.
Anyway, we devised some tricks to use mornings and afternoons with official FET. See FET examples - Morocco - Hadkourt.
I admit MANDA would be a nice name. And for each teacher, specify one of the four variants: can teach only morning or afternoon, can have 1 day exception, 2 days exception, or can teach both morning and afternoon.
I'll think of this. It is a bit complicated, but can be done. The thing is that I still prefer Algeria and Morocco as names for the custom version.
no need to hurry. maybe let us wait until an other school/country complain. maybe let us wait until we get more/other suggestions. maybe there are better names. so far it looks like only 3 guys thought about a good name yet.
Quote from: Liviu Lalescu on September 25, 2017, 08:40:33 PM
I admit MANDA would be a nice name. And for each teacher, specify one of the four variants: can teach only morning or afternoon, can have 1 day exception, 2 days exception, or can teach both morning and afternoon.
you mean a unification of the two versions?
if it's very complicated, we can leave things as they are, and change only names, that's easy, I think!...and leave unification to the future when everything is ready.
Quote from: Liviu Lalescu on September 25, 2017, 08:40:33 PM
The thing is that I still prefer Algeria and Morocco as names for the custom version.
I admit that it is difficult to change, but change will come sooner or later, these names derived from geography, "algeria" and "morocco" now belongs to history. and I totally agree with Volker that these are bad names, because they lead to confusion for other users who do not share the same geography, and who are in the same situations as we (Algerians and Moroccan).
this change of names will make it easier to use custom versions, and make them more widely used in the world, without any confusion or hesitation.
I'll think about it, Benahmed Abdelkrim.
another example of an Algerian timetable produced by the Moroccan version of FET.
Elapsed time=4h 34m 27s
hmm... You are sure you attached the correct file?
i unlocked all times and rooms and generated 20 different tables. Each in less then 2 seconds.
yes I am absolutely sure.
it's the exact file. I have checked.
ah.. ok. It was my bug. I unlocked only the last activities of the day. That is why it was so fast.
I will run one more time and report later. (But 4 hours is not "very" difficult. My dataset didn't solved solved after 2 weeks. But i was able so solve it in 2 minutes after generating a whole day with 20 minutes timelimit.)
yes. a difficult timetable. tried to solve, but only with a 10 minutes timelimit for some hours, but i placed max 571/574 activities in 8 minutes.
my just 10 minutes timelimit was maybe too aggressiv. maybe i will retry it later with an higher value once again.
it was a dream come true today, almost 3 years. thank you dear Liviu...🙂
Thank you, dear Benahmed! :)
بالنسبة للفترات المسائية والصباحية للنسخة المشتركة الجزائرية والمغربية مفيدة للاساتذة وكذالك للتلاميذ لتجنب الارهاق وهذا للجداول الصعبة[/glow][/color]