FET Forum

FET Support (International) => Moroccan Arabic / (العربية (المغربية => Topic started by: jza3 on June 02, 2022, 01:30:00 AM

Title: The N1-N2-N3 for students التلاميذ العلميون يدرسون مادتين علميتين فقط في نفس اليوم
Post by: jza3 on June 02, 2022, 01:30:00 AM
Hi Mr Liviu Lalescu. I've just tested the N1-N2-N3 constraint for students, and it works fine. Thank you a million times for your help. We've got another favor to ask you if you don't mind. We need a constraint of the kind "a set of activities end students day". But we want the constraint to allow a set of activities to "start" or to "end" students day. The aim is to have some activities as the first or last activities the students do during a "Fet day", not a real day. Thank you for your kindness.
Title: Re: The N1-N2-N3 for students
Post by: Liviu Lalescu on June 02, 2022, 07:09:15 AM
Hello,

There is an entry in the TODO, I also added your words:

From ghani1990, on forum (https://lalescu.ro/liviu/fet/forum/index.php?topic=4729.0):
- Activity(ies) start(s) or end(s) students day.
This was implemented as a custom version for him, but it is ugly/not perfect, because each half day may contain only one
such activity, and the implementation is not perfect (even if ghani1990 says in practice it works very well).
ghani1990 says on that forum topic that this is to ensure that optional activities begin or end the students' day. But a
perfect way to do this would be to divide the students and add all the activities for a students set, all the activities
without the optional ones for another students set, and add max zero gaps for these students.

Also suggested by Ali Doussary here: https://lalescu.ro/liviu/fet/forum/index.php?topic=5155.0 :
- We need a constraint of the kind "a set of activities end students day". But we want the constraint to allow a set of activities
to "start" or to "end" students day. The aim is to have some activities as the first or last activities the students do during
a "Fet day", not a real day.