Please, how do I make a restriction for teachers to teach at most 2 classes of the same subject per day in the same class?
Notwithstanding,if the teacher also teaches another subject for that same class, then he could give another set of two classes in the same class on that same day.
Thank you in advance!
Marcelo (from São Paulo, Brazil)
You can add an activity tag for each activity with the same subject and students set, and use more constraints teacher(s) activity tag max hours daily. But this might involve a lot of work, since there are many subject-students set tuples.
Thank you for your reply, Liviu! I thought there was maybe an automatic constraint to set that.:) But I will keep trying it here.
Congratulations for your app!
Thank you for the appreciation! :)
An automation for this might be possible, if you are interested into a custom version. Might not be too much to work. I am not 100% sure it can be done, I thought of it only for a short time, but let me know if you are interested.
I am wondering, if there is any constraint that set the maximum same activity per day per class now? For example I want to set maximum 4 same activity for a class, it doesn't matter if they are repeating the same activity for the day.
No new constraint was designed for this. You still need to use constraints of type students activity tag max hours daily.
Quote from: Liviu Lalescu on November 30, 2025, 09:33:39 AMNo new constraint was designed for this. You still need to use constraints of type students activity tag max hours daily.
Ok thank you very much for the reply
O
Quote from: Liviu Lalescu on November 30, 2025, 09:33:39 AMNo new constraint was designed for this. You still need to use constraints of type students activity tag max hours daily.
I just notice I ask the wrong question, it should be maximum activity per day
For example, Monday can have up to four unique activities. Even if "Activity A" is repeated several times, it still counts as one of the four allowed unique activities.
How can I implement this rule?
Oh, in this case you might want to use the relatively recent constraint of type students max activity tags per day from set, adding a different tag for each different activity.
Quote from: Liviu Lalescu on November 30, 2025, 05:24:07 PMOh, in this case you might want to use the relatively recent constraint of type students max activity tags per day from set, adding a different tag for each different activity.
Noted, which mean 1 activity per tag, by using constraints of type students activity tag max hours daily, and set maximum to 4.
Thank you very much
You are welcome, but the constraint is students max 4 activity tags per day from the set of all tags!