no more than two levels of students

Started by abdelkader_tvs, October 14, 2022, 02:21:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abdelkader_tvs

hello
please help me with my timetable
"" a teacher teaches three levels of students 1st year, 2nd year and 3rd year . each level has 4 or 5 groups of students . we want this teacher to teach no more than two levels by real day. i.e two levels only or only one.

what is the constraint used to do this.

Liviu Lalescu

Hello,

I think constraint teacher max two activity tags from N1, N2, N3 per real day. Read the help of this constraint.

abdelkader_tvs

thanks for anwering so soon but the constraint did not work

Liviu Lalescu

I told you to please read the help of that constraint. "N1", 2, 3, exactly, no other tags.

abdelkader_tvs

thanks i read the help but it is not what i really want

the teacher may have all activities of the same tag on one real day or different activities of only two tags on the same day but he cannot have three activities of three tags

Liviu Lalescu

You are welcome!

I meant like the attached. I just renamed the 3 tags to "N1", "N2", "N3".

abdelkader_tvs

thanks it worked
so the names of tyhea tags should be N1 N2 N3 NO OTHER NAMES

Liviu Lalescu