FET Forum

FET Development => Snapshots => Topic started by: Liviu Lalescu on August 18, 2025, 02:11:11 PM

Title: OLD - FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 18, 2025, 02:11:11 PM
I have put a snapshot for FET-7.4.5. From the ChangeLog:

  - Added a new type of constraint: teacher(s)/students (set) occupy max sets of time slots from selection (suggested by Sérgio Augusto Dias Castro). The maximum value can be chosen by the user to be 1 or 2. This constraint might be useful for instance to constrain the teachers to work only maximum 2 shifts out of 3 per day.

I really like this new constraint and just wait to release the final version! :)

Download link, as usual: https://lalescu.ro/liviu/fet/download/test/

Please let me know your opinion.
Title: Re: FET-7.4.5-snapshot available
Post by: YOUSSEF HOUIET on August 18, 2025, 04:02:23 PM
Hi liviu

I just tried the new version, and I really liked the idea of simplifying the selection of sets of time slots by replacing the X marks with the time group number.
Keep up the creativity!
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 18, 2025, 04:07:10 PM
Thanks, Youssef! I am glad you like it! :)

Yes, indeed, if there were 2 or say 3 sets of selected time slots, things could have been made with 2 or 3 tables with X-s. But for more, it is much easier to use the current spin box table. And the code is much easier and nicer.
Title: Re: FET-7.4.5-snapshot available
Post by: YOUSSEF HOUIET on August 18, 2025, 08:21:52 PM
Hi
I have an idea to help the user input sets of time slots by using colors for the fields,  all the fields of the same group having the same color.

Title: Re: FET-7.4.5-snapshot available
Post by: GUEFFAZ ABDELKRIM on August 18, 2025, 08:23:45 PM
كنت قد طرحتها نت قبل
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 18, 2025, 08:26:10 PM
@GUEFFAZ ABDELKRIM , do you mean you suggested it in the past? I will add your name as a person who suggested, as well (GUEFFAZ REDA?)

@YOUSSEF HOUIET , I will think about it in the morning. Now I am very tired. I am not sure I can do this. If I cannot do it, I'll add your suggestion in the TODO.
Title: Re: FET-7.4.5-snapshot available
Post by: Benahmed Abdelkrim on August 19, 2025, 03:37:58 AM
Can we say that this new constraint is not really new in the proper sense of the term since it is a generalization of the previous constraint (mutually exclusive)?
Title: Re: FET-7.4.5-snapshot available
Post by: Benahmed Abdelkrim on August 19, 2025, 03:47:12 AM
Why is the choice of max occupancy limited to only 2 in this new constraint?
Why not leave the user the freedom to select the max number of occupancy according to their needs?
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 19, 2025, 05:39:46 AM
Yes, it is a generalization. It is an update of both "mutually exclusive" and "max activity tags per day/real day".

Unfortunately, as the "max activity tags per day/real day", allowing 3 or more as a limit is too complicated. But I hope it is not really needed.
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 19, 2025, 06:16:26 AM
I added a new snapshot, minor improvements.
Title: Re: FET-7.4.5-snapshot available
Post by: Benahmed Abdelkrim on August 19, 2025, 09:47:57 AM
Quote from: Liviu Lalescu on August 19, 2025, 05:39:46 AMYes, it is a generalization. It is an update of both "mutually exclusive" and "max activity tags per day/real day".

Unfortunately, as the "max activity tags per day/real day", allowing 3 or more as a limit is too complicated. But I hope it is not really needed.


Thank you for this explanation!
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 19, 2025, 10:42:09 AM
You are welcome! :)

Well, it is not exactly an update for max activity tags per day/real day, but more like something similar and complementing it.
Title: Re: FET-7.4.5-snapshot available
Post by: GUEFFAZ ABDELKRIM on August 19, 2025, 11:04:16 AM
في حال استعملنا هذا القيد الجديد ماهي القيود التي يمكننا الاستغناء عنها
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 19, 2025, 11:10:34 AM
Teacher(s)/students (set) pair of mutually exclusive time slots and pair of mutually exclusive sets of time slots. But for clarity it is better to use this mentioned constraints when they are enough.

Also, the new constraint is similar to teacher(s)/students (set) max activity tags per day/real day. But the operation is different.
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 20, 2025, 02:31:21 PM
Hello, forum,

I plan and hope to release FET-7.4.5 final tomorrow very early, around 4-6 in the morning, in about 12-14 hours from now. I hope everything will be good.

Thanking the FET community for a great outcome! :)
Title: Re: FET-7.4.5-snapshot available
Post by: YOUSSEF HOUIET on August 20, 2025, 03:00:47 PM
Hi liviu

After some test, the new constraint give the result without problems
Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 20, 2025, 03:05:58 PM
Great, Youssef! Will you and your institution use it, or you just tested? The other Moroccan users, do they need it?
Title: Re: FET-7.4.5-snapshot available
Post by: YOUSSEF HOUIET on August 20, 2025, 04:16:38 PM
Hi liviu

I tested the new constraint in a real case.
For Moroccan users, the last constraint, "pair of mutually exclusive sets of time slots," is usually sufficient.

Using the new constraint in the form "1 out of 3 sets of time slots" is only needed in some cases, for example when the day is divided into three periods and each lesson lasts 45 minutes, usually because of an insufficient number of rooms.

However, possible uses of this constraint might also appear in the future for both students and teachers.

Title: Re: FET-7.4.5-snapshot available
Post by: Liviu Lalescu on August 20, 2025, 04:38:25 PM
Thanks for the details, Youssef!