FET Forum

FET Development => Custom FET for Particular Needs => Topic started by: Liviu Lalescu on June 13, 2020, 09:31:54 PM

Title: Suggestions for FET MA
Post by: Liviu Lalescu on June 13, 2020, 09:31:54 PM
I got these suggestions for FET MA, until now:

DONE in FET-5.27.3-MA4 --> - Students (set) min hours per morning (suggested by bilal24), with or without allow empty mornings (as suggested by Abdeljalil Elghazoui, we need to allow this selectable). See: https://lalescu.ro/liviu/fet/forum/index.php?topic=4511.0

DONE in FET-5.27.3-MA7  --> - Students (set) max hours per all afternoons (suggested by Abdeljalil Elghazoui). Suggested by bachiri401: for teacher(s) as well.

DONE in FET-5.27.3-MA7 (without min/max half-days, so it is done for mornings/afternoons) --> - Students (set) min/max half-days/mornings/afternoons per week (suggested by Abdeljalil Elghazoui).

- Max days per week for a room,
- Max hours daily (half day) for a room,
- Max hours daily (real day) for a room (suggested by bachiri401).

- Virtual rooms (suggested by Benahmed Abdelkrim).

- Default 100% or saving the value of min days between activities constraints when adding a split activity (suggested by Mohamed Ait Ichou).

- Another suggestion, is it possible to combine morning and evening periods during viewing. That is, it is not divided between morning and evening periods (suggested by Mohamed Ait Ichou).

DONE in FET-5.27.3-MA5  --> - Constraint activity/ies end teachers day (similar to the constraint activity/ies end students day) (suggested by Mohamed Ait Ichou).

- Drag and drop manual timetabling in the time horizontal view timetables (suggested by Abdeljalil Elghazoui).

- Constraint max gaps per afternoon for teacher(s), exceptions for max span per day for students, exceptions for max gaps per real day (suggested by bachiri401).
DONE in FET-5.27.3-MA7  --> Liviu on Facebook private talk -> so teachers max 0 gaps per afternoon and teachers max gaps per real day with 1 exception of +1 (suggested by bachiri401).

DONE in FET-5.27.3-MA7  --> - Max room changes per day for a students set (suggested by saidmechri).

DONE in FET-5.27.3-MA7  --> - Time constraint: exactly simultaneous activities from a set of selected time slots. I need it for realization of the schedules for the supervision of exams (suggested by Med BENNIOU). Max is available, so only min needed.

DONE in FET-5.27.3-MA7  --> - Students (set) morning/afternoon interval max days per week (suggested by bilal24).

DONE in FET-5.27.3-MA7  --> min mornings/afternoons per week - not conditioned on max gaps = 0 (suggested by bachiri401).

It will be very difficult and I cannot promise I can do it.
Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on June 14, 2020, 10:22:10 PM
---> Students (set) min hours per morning (suggested by bilal24), with or without allow empty mornings (as suggested by Abdeljalil Elghazoui, we need to allow this selectable). See: https://lalescu.ro/liviu/fet/forum/index.php?topic=4511.0

Is done in FET-MA4-snapshot, https://lalescu.ro/liviu/fet/download/custom/ma/test/

Please test.
Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on July 07, 2020, 03:06:46 PM
Remaining suggestions for FET MA:

- Students (set) min/max half-days per week (suggested by Abdeljalil Elghazoui) - but is it needed, considering we have available min/max mornings/afternoons and min hours daily without allowing empty real days? And, as Hiba Hadi says in the next post, we also have students (set) interval max days per week.

- Max days per week for a room,
- Max hours daily (half day) for a room,
- Max hours daily (real day) for a room (suggested by bachiri401).

- Virtual rooms (suggested by Benahmed Abdelkrim).

- Default 100% or saving the value of min days between activities constraints when adding a split activity (suggested by Mohamed Ait Ichou).

- Another suggestion, is it possible to combine morning and evening periods during viewing. That is, it is not divided between morning and evening periods (suggested by Mohamed Ait Ichou).

- Drag and drop manual timetabling in the time horizontal view timetables (suggested by Abdeljalil Elghazoui).
Title: Re: Suggestions for FET MA
Post by: Hiba Hadi on July 07, 2020, 09:29:31 PM

أعتقد أن القيد الأول المقترح لا داعي لإضافته لأنه متضمن في قيود أخرى مثل القيد: أقصى تكرار لمجال من الحصص في الأسبوع
Max interval...

القيد الثاني والثالث والرابع لم أفهم جيدا الحاجة إليها، ربما إعطاء مثال قد يوضح أكثر

القيد الخامس المتعلق بالغرف الإفتراضية أعتقد أنه مفيد خاصة في إنجاز جداول الامتحانات، وبعض الأنشطة الخاصة
Title: Re: Suggestions for FET MA
Post by: Hiba Hadi on July 07, 2020, 09:48:34 PM

شيء آخر: الوزن ١٠٠% لأدنى أيام بين الأنشطة أليس قويا جدا؟! أظن أن ٩٥% كما هو  حاليا هو أفضل حل؟

Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on July 08, 2020, 06:14:09 AM
Yes, indeed, Hiba Hadi.
Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on July 25, 2020, 09:31:30 PM
Remaining suggestions for FET MA:

- Students (set) min/max half-days per week (suggested by Abdeljalil Elghazoui) - but is it needed, considering we have available min/max mornings/afternoons and min hours daily without allowing empty real days? And, as Hiba Hadi says in the next post, we also have students (set) interval max days per week.

- Max days per week for a room,
- Max hours daily (half day) for a room,
- Max hours daily (real day) for a room (suggested by bachiri401).

DONE in FET-5.27.3-MA10 snapshot (https://lalescu.ro/liviu/fet/download/custom/ma/test/) --> - Virtual rooms (suggested by Benahmed Abdelkrim).

- Default 100% or saving the value of min days between activities constraints when adding a split activity (suggested by Mohamed Ait Ichou).

- Another suggestion, is it possible to combine morning and evening periods during viewing. That is, it is not divided between morning and evening periods (suggested by Mohamed Ait Ichou).

- Drag and drop manual timetabling in the time horizontal view timetables (suggested by Abdeljalil Elghazoui).

- Suggested by BOUHADEF (https://lalescu.ro/liviu/fet/forum/index.php?topic=4501.msg25467#msg25467):
There is an important constraints if it can be added
Max resting hours between morning and afternoon. With the possibility of setting it 0.
This restriction is important for schools that provide food as students cannot be discharged at the end of the morning or the first hour in the evening.
Also important for teachers who live far from the institution. Breaks between morning and evening are tiring for the teacher as he cannot move home.
Also if it is possible to space constraint
As set of activities are in the same room if they are consecutive
with a weight less than 100%.
Also, please add it in space constraint
My important place if possible is
a set of activities occupies minimum different rooms

DONE in FET-5.27.3-MA10 snapshot (https://lalescu.ro/liviu/fet/download/custom/ma/test/) --> - Constraint teachers/students max gaps per week for real days (suggested by BOUHADEF, bachiri401, and Liviu Lalescu).
Title: Re: Suggestions for FET MA
Post by: Hiba Hadi on July 27, 2020, 11:35:45 PM
Quote from: Liviu Lalescu
This restriction is important for schools that provide food as students cannot be discharged at the end of the morning or the first hour in the evening.
Also important for teachers who live far from the institution. Breaks between morning and evening are tiring for the teacher as he cannot move home.

أعتقد أن القيد: أقصى فجوات في يوم حقيقي  يمكن استخدامه للتقليل من الفجوات بين الصباح وبعد الظهر. إضافة هذا القيد مع 0 فجوة للطلاب يعني السماح لهم بالضرورة بالوصول متأخرين خلال الساعات الأولى الصباحية، بخلاف ذلك سيكون من الصعب إنتاج الجدول أليس كذلك؟

كذلك القيد الذي تم إضافته مؤخرا ؛ بدء المساء باكرا أقصى بدايات في الحصة الثانية. هذا القيد يمكن إضافته للطلاب كما يمكن إضافته  للمدرسين

Quote
Constraint teachers/students max gaps per week for real days (suggested by Liviu Lalescu and bachiri401)

أعتقد أن هذا القيد تتضمنه قيود أخرى على سبيل المثال
القيد: أقصى فجوات في يوم حقيقي للمدرس(كل المدرسين) استخدامه بشكل عقلاني لأنه لم يتم تحسين بشكل كامل
سلوك الصباح /بعد الظهر ربما قد نسيتم دوره المهم.
حصري: يعني لا يوجد فجوات إطلاقا بين الصباح وبعد الظهر
استثناء يوم واحد: يعني لا يوجد إلا يوم واحد يعمل فيه المدرس صباحا وبعد الظهر
استثناء يومين: يعني لا يوجد إلا يومين في الأسبوع يعمل خلالهما المدرس في الصباح وبعد الظهر

معظم المؤسسات في الجزائر تعمل بهذا الشكل،
أما استثناء لأكثر من يومين ، فهو قليل جدا ، وإن وجد فهو لعدد محدود من المدرسين 2 أو 3 على أكثر. ويكفي لهؤلاء استخدام القيد: أقصى فجوات في يوم حقيقي=0، لن يعطل ذلك الانتاج، لأننا سنستخدم القيد لعدد قليل جدا من المدرسين

طبعا كثرة القيود وتفاعلاتها مع بعضها البعض، قد يؤخر كثيرا إنتاج الجداول الزمنية، وأحيانا يجعله مستحيلة. فأعتقد من حيث الجدوى أنه ينبغي الحرص على إنتاج جداول زمنية ذات نوعية مقبولة مع أقل عدد ممكن من القيود،
.
Title: Re: Suggestions for FET MA
Post by: Hiba Hadi on July 27, 2020, 11:39:25 PM
Quote
Virtual rooms (suggested by Benahmed Abdelkrim).


قيد مفيد ومهم للغاية إضافته خاصة مع بعض الأنشطة الخاصة التي تحتاج أكثر من غرفة واحدة. كذلك مفيد في جدولة الامتحانات. وهكذا ستصبح النسخة المخصصة مشابهة للنسخة العالمية.
Title: Re: Suggestions for FET MA
Post by: Benahmed Abdelkrim on July 28, 2020, 09:33:56 AM

Hiba Hadi:
تحليل جيد ورؤية صائبة سيدتي. أتفق معك تماما. شكرا جزيلا
Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on July 30, 2020, 08:33:17 PM
Remaining suggestions for FET MA:

- Students (set) min/max half-days per week (suggested by Abdeljalil Elghazoui) - but is it needed, considering we have available min/max mornings/afternoons and min hours daily without allowing empty real days? And, as Hiba Hadi says in the next post, we also have students (set) interval max days per week.

- Max days per week for a room,
- Max hours daily (half day) for a room,
- Max hours daily (real day) for a room (suggested by bachiri401).

- Default 100% or saving the value of min days between activities constraints when adding a split activity (suggested by Mohamed Ait Ichou).

- Another suggestion, is it possible to combine morning and evening periods during viewing. That is, it is not divided between morning and evening periods (suggested by Mohamed Ait Ichou).

- Drag and drop manual timetabling in the time horizontal view timetables (suggested by Abdeljalil Elghazoui).

- Suggested by BOUHADEF (https://lalescu.ro/liviu/fet/forum/index.php?topic=4501.msg25467#msg25467):
There is an important constraints if it can be added
Max resting hours between morning and afternoon. With the possibility of setting it 0.
This restriction is important for schools that provide food as students cannot be discharged at the end of the morning or the first hour in the evening.
Also important for teachers who live far from the institution. Breaks between morning and evening are tiring for the teacher as he cannot move home.
Also if it is possible to space constraint
As set of activities are in the same room if they are consecutive
with a weight less than 100%.
Also, please add it in space constraint
My important place if possible is
a set of activities occupies minimum different rooms

- Suggested by nguyenhuuduyet (https://lalescu.ro/liviu/fet/forum/index.php?topic=4501.msg25772#msg25772):
Can you help me. I want when entering the teacher's name will be displayed immediately like the official version.
Example: 1. Enter the teacher's name
2. Add
3. OK
Then the teacher's name will appear in item 4
Title: Re: Suggestions for FET MA
Post by: Volker Dirr on July 30, 2020, 09:36:15 PM
hmmm. just reading this again:

What was the idea of the 3 rooms constraints? Why is that useful?
I think all 3 can be done by pseudo activities already right now.

The combine morning and evening periods during viewing is currently only possible if you import into TiTiTo. You can view it there and also export it with combined half days in simplified FET version.
Title: Re: Suggestions for FET MA
Post by: Hiba Hadi on August 03, 2020, 10:38:21 AM
I totally agree with Volker.  3 constraints of rooms? Can we know theirs utility? In a real example if possible?

Quote
I think all 3 can be done by pseudo activities already right now.
To Volker: please, can  you tell us how can we do that with pseudo activities?
I don't see any ways!

Thanks for your help  :)
Title: Re: Suggestions for FET MA
Post by: Volker Dirr on August 03, 2020, 11:17:06 AM
All work with the same trick. Using pseudo activities.

For example "Max days per week for a room":

For official FET:
Add 1 activity without teachers and without students. Duration = number of hours per day.
Add a room constraint to this activity.
So the room is "used" by this pseudo activity. So now you have max (days per week - 1) days per week.
Do it with more pseudo activities to get lower max day constraints.

For FET MA it is very the same, you only need to add 2 activities (one for each half day) and add a same day constraint to them.



The others suggested room constraints can be done the same. I guess you now understand the trick yourself and can do it also for them yourself.
Title: Re: Suggestions for FET MA
Post by: Volker Dirr on August 03, 2020, 11:26:43 AM
Reading this topic again: I remember also someone suggested to update to latest official FET version. That is a very big task, since a lot of things must be checked.
But we are in fact also a bit lucky, since some big features are already added and also it must not be done in a single step. It can be done step by step. So maybe "only" update to version 5.27.4 next time.
So 5.27.4 is maybe easy: In that version there are new official FET example files. That are not useful for the MA version. I am not sure about the translation. Might be possible to copy and lupdate them; or maybe just skip it.
Title: Re: Suggestions for FET MA
Post by: Hiba Hadi on August 03, 2020, 11:45:24 AM
Great! Very nice and useful trick! Now I understand perfectly.
So really we don't need these 3 constraints and maybe if it's implemented,  they can makes confusing the users and might introduce a new bugs!?

Thank you Volker so much for this nice explanation, and we sincerely hope convincing many users specially who suggested them.

I believe add a new constraints is the last way,  when it's really necessary, and when they aren't any way to solve problems.

Thanks again 🙂

Title: Re: Suggestions for FET MA
Post by: Benahmed Abdelkrim on August 03, 2020, 07:19:27 PM
Hiba & Volker: Yes, indeed you are right.
Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on March 11, 2021, 09:39:16 AM
I thought about this thing: in FET-MA there are constraints for half days and for real days. It would be good to have a uniform treatment. Now there are for instance max hours per day represents real days and min hours per day represents half days.

It would be better to keep half days default and when a constraint refers to real days to specify this. So we'll have max hours per real day and min hours per day in the above example. We'll also have max hours per day and min hours per real day.

I could do this - it is a bit complicated and risky - but I would manage. But there is the problem with input files. They contain old-style named constraints. I could see the FET-MA version when opening the file and know if it is an old file, needing conversion, or new file. But this method is susceptible to errors, if the user does not correctly write the version of FET-MA generating the file in the file header.

Do you have suggestions?

Also, in this manner it might be possible to unite FET and FET-MA. Would that be a good idea?
Title: Re: Suggestions for FET MA
Post by: عبدالحميد on March 31, 2021, 03:01:59 PM
شكرا جزيلا على المجهودات الجبارة وعلى سعة صدرك ولانوافيك حقك سوى الله يحفظك
Title: Re: Suggestions for FET MA
Post by: Liviu Lalescu on March 31, 2021, 03:24:26 PM
Thank you!