Hello Liviu,
I used your trick and it works! Then, I made combinations of 6 by 3, for a total of 20, using the constraint "all teachers interval max days per week", max occupied = 5. I also made another test for combinations of 6 by 2 (15 combinations) to limit to max 1 day each teacher works from 1st hour to last hour (max occupied = 3). Even if this is a very strong constraint, it also works! Very good job! Great! Thank you again for your precious trick.
I used your trick and it works! Then, I made combinations of 6 by 3, for a total of 20, using the constraint "all teachers interval max days per week", max occupied = 5. I also made another test for combinations of 6 by 2 (15 combinations) to limit to max 1 day each teacher works from 1st hour to last hour (max occupied = 3). Even if this is a very strong constraint, it also works! Very good job! Great! Thank you again for your precious trick.