Help with setting the maximum number of hours for a teacher in a class

Started by Maria, July 12, 2026, 09:05:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maria

Good morning. I am having trouble resolving an issue with the program (FET-7.9.0) I am using. I cannot get the Italian teacher—who has 8 hours in one class (6 Italian, 2 History) and 10 hours in another (6 Italian, 2 History, 2 Geography)—scheduled for only 2 hours at a time in the same class; the program ends up assigning up to 4 consecutive hours. I tried splitting the activities into blocks, but without success. Among the time constraints, there isn't one that allows me to set a maximum number of hours a teacher spends in a specific class. Could you please help me by outlining the step-by-step procedure and the necessary constraints to set up? Thank you very much in advance.

Liviu Lalescu

Good afternoon, Maria, and welcome to the forum!

You need to use constraints of type teacher(s)/students (set) activity tag max hours daily/continuously (after you tag the activities as needed).

Feel free to share your fet data file, and I'll add the constraints as needed.