FET Forum

FET Development => Suggestions => Topic started by: TongThanhKieu on June 10, 2024, 12:40:24 PM

Title: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 10, 2024, 12:40:24 PM
I want an additional constraint: Each morning/afternoon has a maximum of x subjects.
For example: One morning there are only a maximum of 3 subjects: 2*Math, Computer Science, 2*English
Title: Re: Max x subjects on morning / afternoon
Post by: Liviu Lalescu on June 10, 2024, 01:21:37 PM
Thank you for the suggestion! It is possible to do, I think. But I am a bit reluctant about it, how is this useful?

I will add it in the TODO.
Title: Re: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 10, 2024, 03:12:14 PM
There are 3 reasons as follows:
1. Students do not feel happy when studying too many subjects.
2. Teachers do not want to move too much between classrooms.
3. In specialized schools, teachers and students want to spend more time studying a subject in depth.
Title: Re: Max x subjects on morning / afternoon
Post by: Liviu Lalescu on June 10, 2024, 03:18:00 PM
Is it a general constraint, for all the teachers and students sets? Or you want to add it separately, for a teacher/all the teachers/a students set/all students?
Title: Re: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 10, 2024, 03:36:07 PM
Quote from: Liviu Lalescu on June 10, 2024, 03:18:00 PMIs it a general constraint, for all the teachers and students sets? Or you want to add it separately, for a teacher/all the teachers/a students set/all students?

Add this constraint to a student set, a teacher, all teachers or all students.
Title: Re: Max x subjects on morning / afternoon
Post by: Liviu Lalescu on June 10, 2024, 03:45:23 PM
Sorry, what do you mean by "a tag"?
Title: Re: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 10, 2024, 03:51:23 PM
Quote from: Liviu Lalescu on June 10, 2024, 03:45:23 PMSorry, what do you mean by "a tag"?

Opps, remove it, please!
Title: Re: Max x subjects on morning / afternoon
Post by: Liviu Lalescu on June 10, 2024, 04:06:05 PM
OK. I added this in the TODO.

But there are also other modalities to impose this requirement with the existing FET constraints:

- Teacher(s) max room changes per day.
- Increase the duration of some activities to 2 hours and impose a min 1 day between the same subject, with 100% (or teacher(s)/students (set) activity tag max 2 hours daily).
- Min 2 hours daily with an activity tag for students/teachers, and allow empty days. Not all subactivities of a larger split activity should have this tag (you can edit the subactivities for this).
Title: Re: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 10, 2024, 04:09:54 PM
Yes, i already know what you have listed and used it. Thank You!
Just more a good option for new user.
Title: Re: Max x subjects on morning / afternoon
Post by: Liviu Lalescu on June 10, 2024, 04:16:24 PM
You are welcome!

Unfortunately, this constraint might be very strong and timetables impossible, and the user might not know the reason.

Could you please send me your fet file, so I can have a look?

I will have a break now, answer a bit later.
Title: Re: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 10, 2024, 04:45:48 PM
https://drive.google.com/file/d/1wCejS44bNuo_khdovKs1s3thJKtpzo7t/view?usp=sharing (https://drive.google.com/file/d/1wCejS44bNuo_khdovKs1s3thJKtpzo7t/view?usp=sharing)

This is link to FET file.
Title: Re: Max x subjects on morning / afternoon
Post by: Liviu Lalescu on June 10, 2024, 04:58:18 PM
Thank you! I generated on it, on the locked and unlocked version. It is an easy file for FET.

But I don't understand, it is in the Official mode, not Mornings-Afternoons.

Hmm... I don't know what to say about your suggested constraint. I would like everybody satisfied with FET, but some things are best kept simple, and some complicated constraints might do more harm than good...
Title: Re: Max x subjects on morning / afternoon
Post by: TongThanhKieu on June 11, 2024, 01:39:58 AM
Quote from: Liviu Lalescu on June 10, 2024, 04:58:18 PMHmm... I don't know what to say about your suggested constraint. I would like everybody satisfied with FET, but some things are best kept simple, and some complicated constraints might do more harm than good...
Yes, i do.