Hello dear.
I am a school planner. I have to deliver the program to the manager in a few days. I do not have much time. I have not been able to produce the table for several weeks. I'm helpless. Help me if you can. I sent you the file.
Thank you
I am sorry, but I do not know the exact problem. There are Arabic characters which I don't understand.
Certainly your timetable is too constrained. You need to relax the constraints.
Ideas: generate and see the partial timetable. Or remove students and teachers and if the timetable is still impossible it is easier to check for problems.
Thank you very much for answering. I removed all constrains. There are only major time constraints.
I only checked very quick.
I am not 100 sure why you done 3 kind of hours, but in fact that doesn't matter too much.
The largest problem is that you you set too many not available constraints. By that it happen that there are in some slots not enough teachers that are allowed to teach the students.
You should simplify the not available constraints as much as possible.
Example:
One teacher is also teaching at an other school -> You can't simplify that. You must keep it as it is (or speak with the other school).
One teacher just like to have hours on a special days. -> As you can see it is impossible with your dataset. Simplify the not available time constraint (so in best case remove it at all; i am not sure because of your special hours style) and use max days per week constraint. He is paid for this job so you choose the times; Not the teacher. In worst case just hire a teacher that is not fixed on a special day.