Unknown Error in share time slot

Started by mohammad-k, May 19, 2017, 02:02:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mohammad-k

Hello,

I'm generating a schedule for one grade with two sections with different students' groups, the result shows a correct schedule. But when i added a "ConstraintActivitiesSameStartingTime" the generation was stopped.

I need to apply this constraint on subject: 796 & subject: 810 knowing that the first has teacher & the second without teacher and they have different students' groups.

Could you please check my attached file and generate it and tell me what is the issue.

Thanks in advance.

Volker Dirr

Looks like you added to many constraints. You have got many fixed times for a lot of activities. As soon as i removed a few of them i was able to generate even with the "ConstraintActivitiesSameStartingTime".
So it look like you need to decide what is more important: The ""ConstraintActivitiesSameStartingTime" or several of the fixed times.

mohammad-k

Can you please tell me what constraints did you remove !!
I was tried to change the stuents' groups of both subjects and it generates a correct solution, only with the current groups it occurs an error, but i didn't notice any conflict in the current groups.
I replaced group "shared~796~75" with "3~75"
And group "shared~810~76" with "3~76"

Volker Dirr

#3
i attach the fie. i didn't check very long. so i guess you can still activate some of the constraints again. i suggest to activate one by one and always check if it still generates.

mohammad-k