min activities in a building

Started by Benahmed Abdelkrim, February 28, 2026, 11:14:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

I thank you for your understanding, and I will now begin the change. The name of the constraint will be changed, but the behavior will remain the same, only with +1. The old files will be opened and updated correctly - no need from the user to do anything.

Benahmed Abdelkrim

Thank you dear Liviu. Let me know when it's ready
B.A/krim

Liviu Lalescu

I estimate in a few hours. I'll write here.

Liviu Lalescu

#213
Dear Benahmed, it is ready (I had to do also some other suggestion).

https://lalescu.ro/liviu/fet/download/test/

Please check and let me know if you like it!

To translate, prefer: https://lalescu.ro/liviu/Backup-fet/ (I might change some fields sooner than on 'test').

Edit: could you please compare on some files, the seeds for official-7.8.1 should be the same at the end as 7.8.2-snapshot (if you also start with the same seed; respectively, for each file)?

flauta

Quote from: Benahmed Abdelkrim on March 21, 2026, 08:16:40 AMChanging the name could generalize the application of this constraint and no longer limit it to exams only, This is interesting ... I think
I agree. I think in this form the constraint can be useful in other situations. I will test it in my school's timetable, where we have 2/3/4 subject rooms in which distribute the teacher's hours.

Benahmed Abdelkrim

I just see it. I will download, translate, test, and let you know ...
B.A/krim

Benahmed Abdelkrim

By the way, our constraint can be used in more general cases; a simple name change changed everything... I wonder why we didn't notice this sooner?!
B.A/krim

YOUSSEF HOUIET

This is because we focused on applying this constraint only to exam-related cases.
However, it could also be useful in more general scenarios. In the future, the constraint could be generalized to apply to a  set of activities, defined through criteria such as a specific teacher, activity tag, subject,...

Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 21, 2026, 01:56:01 PMEdit: could you please compare on some files, the seeds for official-7.8.1 should be the same at the end as 7.8.2-snapshot (if you also start with the same seed; respectively, for each file)?
I tested it with 3 files; the seeds after are the same...
B.A/krim

Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 21, 2026, 01:56:01 PMPlease check and let me know if you like it!
The new name seems nicer and clearer now...
B.A/krim

Liviu Lalescu

Great! Thank you, flauta, Benahmed, and YOUSSEF!

I added YOUSSEF's suggestion in the TODO list. We'll see.

Liviu Lalescu

#221
Dear Benahmed and maybe YOUSSEF,

Should we consider to make the new constraint "room(s) max activities per teacher" consider that an activity with two or more teachers will count, as well? Now, only activities with a single teacher are considered, because all activities in Benahmed's examples had a single teacher and because it was (much?) easier.

YOUSSEF HOUIET

In its current use, the constraint is applied only to activities with a single teacher. I do not think it is necessary to extend it to activities involving two or more teachers.


Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 21, 2026, 04:39:46 PMShould we consider to make the new constraint "room(s) max activities per teacher" consider that an activity with two or more teachers will count, as well? Now, only activities with a single teacher are considered, because all activities in Benahmed's examples had a single teacher and because it was (much?) easier.
 
No, let's leave things as they are. This constraint applies to each room (let's remember, 2 or 3 activities) concerns the buildings, not the rooms...
B.A/krim

Benahmed Abdelkrim

I just finished the translation. I sent you an email. please check
B.A/krim