FET Forum

FET Support (English) => Get Help => Topic started by: Željko Vrabec on June 01, 2025, 08:13:34 PM

Title: Home rooms collision
Post by: Željko Vrabec on June 01, 2025, 08:13:34 PM
Hi guys!

It's not really a problem, but I'm wandering if there is better solution. Let's say I have a group of students for example 2.D (D division of the 2. year), and 2.D has a home room (let's say 25.) and a teacher XXX for the all of subjects except foreign language. Foreign language teaches teacher YYY who has a home room (let's say 2.) for all higher grades.

My solution is in tags. I made tag for all groups with no home room and made subject+tag have preferred room and set it to 2. Is there any possible solution only with home rooms?
Title: Re: Home rooms collision
Post by: Liviu Lalescu on June 01, 2025, 08:36:17 PM
Hello, Zeljko,

I am not sure I understand correctly, but I think it is not possible only with home rooms, and you need your approach.

An activity respects the home room only if it is only for a students set or exclusively for a teacher, not two or more.

The home and preferred rooms constraints were designed carefully at their time, I hope optimally.
Title: Re: Home rooms collision
Post by: Željko Vrabec on June 02, 2025, 10:06:42 PM
I thought so! Home rooms seem to have same weight. Ok, just had to ask if I'm missing something  ;D
Title: Re: Home rooms collision
Post by: Liviu Lalescu on June 03, 2025, 06:25:31 AM
I don't understand "Home rooms seem to have same weight". If an activity has some constraints of type home room(s) for it and some constraints of type preferred room(s), the home rooms will be ignored.
Title: Re: Home rooms collision
Post by: Željko Vrabec on June 03, 2025, 07:39:28 AM
If you set constraints: "Teacher has a home room" and "Student set has a home room" none of them has higher priority (they have the same weight). That's why they are in collision. That's what I meant.
Title: Re: Home rooms collision
Post by: Liviu Lalescu on June 03, 2025, 08:59:17 AM
Oh, I see. If an activity has a single teacher, with a home room, and a single students set, with a home room, if I remember correctly, FET will report error and won't generate. You need to use either teacher or students set home room.