Max hours daily for a subject (Số tiết giảng tối đa trong 1 ngày của 1 môn học)

Started by chien2210, September 23, 2018, 05:42:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chien2210

Hello, everybody. My name is Chien Le Sy. I am from Vietnam.
I want to have an option of "Max hours daily for a subject".
In my school, some subject has 4 or 5 hours per week. I would like to assign a teacher for 2 or 3 consecutive days and not more than 2 hours per day. How to I can do it with FET? Can you help me?

Liviu Lalescu

Hello, Chien Le Sy! I am Liviu from Romania :)

There are two variants to do what you want with the official FET (no need for customizations):

1) Add an activity tag corresponding with the subject for each activity and use the constraint teacher(s) activity tag max hours daily (enable the constraint and neglect the warning)

or

2) Use n_days_per_week constraints activities occupy max time slots from selection, activities = all activities of a teacher, selected slots = all slots of a day, max occupied = 2.

(1) is recommended.

chien2210


Liviu Lalescu