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.

Benahmed Abdelkrim

#225
Quote from: flauta on March 21, 2026, 03:24:44 PM
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.
I think we should provide a sample file to see how this constraint works in a real-world situation.
B.A/krim

Liviu Lalescu

Benahmed, file was received. Thank you! I am so glad we did a good job!

OK, Benahmed and YOUSSEF, you know better than me about the activities with multiple teachers. We'll do as you suggest.

Yes, we may add a file like that.

Liviu Lalescu

@Volker Dirr , could you please see my reply #221 and tell me what you think?

Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 21, 2026, 04:39:46 PMDear 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.

I reread your answer, and I admit I only skimmed it. I now understand, and I agree with you about counting the activities of 2 or more teachers.
B.A/krim

Volker Dirr

I guess in most situations counting also activities with 2 or more teachers is preferred by the user.

Liviu Lalescu

Indeed, Benahmed and Volker! I will try tomorrow early morning, maybe. It's going to be a tough one  :)

Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 21, 2026, 08:01:17 PMIndeed, Benahmed and Volker! I will try tomorrow early morning, maybe. It's going to be a tough one  :)

I wish you success! 🙂
B.A/krim

Liviu Lalescu

Thank you! Maybe you could prepare me a difficult and interesting test case? Or more?

Good night!  :)

Benahmed Abdelkrim

#233
@Liviu Lalescu: We should consider cases where we find 3 teachers in a building, and cases where the user no longer wants more than 2 teachers per building. Maybe a new building constraint could be considered, or maybe a workaround that could simplify the solution?!

Things are getting more complicated...

Maybe these constraints could be added: max activity tags from a set per day (real) for a building(s)

Good night!  :)
B.A/krim

Liviu Lalescu

Dear Benahmed,

I added your words in the TODO.

Could you please devise an interesting file to check counting activities with 2 or more teachers?

YOUSSEF HOUIET

#235
Hi @Benahmed Abdelkrim
Attached is a sample based on a real case for generating supervision timetables for Moroccan Baccalaureate exams (national and regional). This file is specifically intended for Moroccan users and is meant to be added to the examples folder for reference and inspiration.

Benahmed Abdelkrim

Quote from: Liviu Lalescu on March 22, 2026, 04:28:58 AMCould you please devise an interesting file to check counting activities with 2 or more teachers?
 
I will now try to devise a file of this type and put it here.
B.A/krim

Benahmed Abdelkrim

Hi @YOUSSEF HOUIET !
An interesting file that shows a real-life situation in a baccalaureate exam.
@Liviu Lalescu , I think we should add this file as an example in FET/examples.
B.A/krim

Liviu Lalescu


Benahmed Abdelkrim

B.A/krim