FET Forum

FET Support (English) => Get Help => Topic started by: mohammad-k on May 19, 2017, 02:02:02 PM

Title: Unknown Error in share time slot
Post by: mohammad-k on May 19, 2017, 02:02:02 PM
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.
Title: Re: Unknown Error in share time slot
Post by: Volker Dirr on May 19, 2017, 02:52:16 PM
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.
Title: Re: Unknown Error in share time slot
Post by: mohammad-k on May 19, 2017, 03:18:27 PM
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"
Title: Re: Unknown Error in share time slot
Post by: Volker Dirr on May 19, 2017, 03:56:59 PM
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.
Title: Re: Unknown Error in share time slot
Post by: mohammad-k on May 19, 2017, 04:03:19 PM
Ok thank you I'll check it