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?
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.
I got it. Thank Liviu very much. You are very friendly. Nice to meet you. :)
You are welcome! Nice to meet you, too! :)