FET Forum

FET Support (English) => General Stuff => Topic started by: Miguel Freitas (PT) on September 12, 2021, 03:05:11 AM

Title: 3 subjects cannot be on the same day
Post by: Miguel Freitas (PT) on September 12, 2021, 03:05:11 AM
Hello!

How can I make sure that three subjects do not coincide on the same day. I can only do with two.

Thanks!
Title: Re: 3 subjects cannot be on the same day
Post by: Liviu Lalescu on September 12, 2021, 07:30:03 AM
Hello,

I don't understand. Say A1(Subject 1), A2(S1), A3(S2), A4(S3), A5(S3), A6(S3). Add min 1 days between activities A1..A6, 100%. This will add  min 1 day between each pair (A1,A2), (A1,A3), ..., (A5,A6). Or using students/teachers activity tag max hours daily. The first is better.
Title: Re: 3 subjects cannot be on the same day
Post by: Miguel Freitas (PT) on September 12, 2021, 08:55:40 AM
I have 3 subjects. S1 can be on the same day with S2 or S3, S2 can be on the same day with S1 or S3, S3 can be on the same day with S1 or S2.
But I can't have S1 + S2 + S3 on the same day.
Title: Re: 3 subjects cannot be on the same day
Post by: Liviu Lalescu on September 12, 2021, 09:11:35 AM
Subjects or activities?

In a constraint min days between activities, FET cannot put (by design) 3 activities on the same day if consecutive if same day is selected. So if you refer to 3 activities: A1, A2, A3, add a constraint min days between activities with weight 0% and consecutive if same day = true.

If you refer to 3 subjects (and more than 3 activities), you could use constraints teachers/students activity tag max hours daily.
Title: Re: 3 subjects cannot be on the same day
Post by: Miguel Freitas (PT) on September 12, 2021, 12:28:39 PM
Thanks!
Title: Re: 3 subjects cannot be on the same day
Post by: Liviu Lalescu on September 12, 2021, 12:45:03 PM
You're welcome!

If they can be nonconsecutive if same day, you will need also teachers/students activity tag max hours daily.