check if 1 or 2 days exception are forgotten?

Started by Benahmed Abdelkrim, April 21, 2018, 07:39:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

I think that the Moroccan version needs to verify that the number of hours worked by the teacher can be distributed either in the morning or afternoon. In the opposite case, FET warns the user that the production of the schedule is impossible!, and that he should use the constraint: one day exception(or two days).

This happened with me, the program remained for hours until I realized that I forgot to use the constraint: one day exception, I stopped the program, and fixed the bug.
B.A/krim

Liviu Lalescu

Please send me the impossible file, to have it as a check.

I will think if I can solve this problem (add a check, if it is not too difficult).

Benahmed Abdelkrim

#2
Ok! here is the file. the timetable is impossible for the teacher F2
B.A/krim

Liviu Lalescu

Thank you for the report and the file! Unfortunately, it seems too complicated to care exactly for the situation. I added the file and your suggestion on my TODO list on my computer, for the future, if I'll be able to fix it.

Liviu Lalescu

Your suggestion is very tricky and error prone. I might do some bugs and the file to be falsely reported as impossible before generation. That is why I prefer to postpone it.

Benahmed Abdelkrim

#5
Well no problem! :)
At this time, we'll accept manual checking, hoping we will not make the mistake again.
thank you very much for your care!
B.A/krim