FET Forum

FET Support (English) => General Stuff => Topic started by: infoo_ on February 10, 2023, 12:13:34 PM

Title: Max hours daily for a teacher and subjects?
Post by: infoo_ on February 10, 2023, 12:13:34 PM
Hello

I have set teachers activity tag max hours daily for each activity tag (suppose 100%). In my case, each activity tag is just every activity of each course from 1A,1B,1C,...,5A,5B,5C.

This restrict the hours that a teacher have with a course every day to max = 2.

However, the school told me that a teacher can teach to a course more than 2 hours daily, if and only if the number of subjects he teachs is > 1 i.e. the overrun of max hours daily cannot happen if total subjects = 1.

For example:

Teacher A teachs 4 hours of Literature on Mondays on course 1A <- It can't happen with "teacher activity tag max hours daily"

Teacher A teachs 2 hours of Literature on Mondays and Fridays on course 1A <- Can happen with "teacher activity tag max hours daily"

Teacher A teachs 2 hours of Literature and 2 hours of Arts on Mondays on course 1A <- It can't happen with "teacher activity tag max hours daily" Here we can have this possibility i.e. a teacher can teach 2 subjects the same day with total duration > 2 on course 1A

This is better than I have on my schedule, because we are allowing a greater max. The only restriction is that for one subject, it must have max = 2 hours daily.

Would this improve the time generation?

Did I explain myself well enough? Is there something similar in FET?

Thanks!
Title: Re: Max hours daily for a teacher and subjects?
Post by: Liviu Lalescu on February 10, 2023, 12:18:19 PM
Hello,

I think it is very easy, with multiple solutions:

1) Add min 1 days between activities 100% for the same subject. You can add them by the advanced spread over the week, as I see that in your file you removed all min days between activities constraints.

2) Add another tag. An activity can have multiple tags. Add two constraints activity tag max hours daily for each teacher, one with 100% (for the same subject) and one with <100% (for different subjects).

There might be also other solutions, using constraints min days between activities.
Title: Re: Max hours daily for a teacher and subjects?
Post by: infoo_ on February 10, 2023, 06:26:21 PM
Hello

Quote from: Liviu Lalescu on February 10, 2023, 12:18:19 PMThere might be also other solutions, using constraints min days between activities.

But I should modify all (sub)activities with duration > 1, isn't it? Because there exists a possibility to "split" activities of duration > 1 to fit on other days, although it is not well received for teachers.

However, I don't fully understand points 1 and 2. If you want, you can help me by putting a few constraints in this new FET file: https://lalescu.ro/liviu/fet/forum/index.php?topic=5496.0