How do the two teachers do not coincide with the holidays? Thanhk you very much!
Do you mean the free times of the week for T1 and T2 do not overlap? Add dummy activities for T1 to fill a week's time slots, the same for T2, and a not overlapping constraint for these dummy activities.
I hope I am not mistaking.
Thank you very much!