FET Forum

FET Support (English) => Get Help => Topic started by: geraeuschlos on June 27, 2015, 10:43:05 AM

Title: error message when calculating the timetable
Post by: geraeuschlos on June 27, 2015, 10:43:05 AM
hello everybody,

i always get the same error message when trying to calculate the timetable:

"Cannot optimize for subgroup 1 Automatic Group Automatic Subgroup, because the number of hours for subgroup is 21 and you have only 20 free slots from constraints students set not available and/or break. Maybe you inputted wrong constraints students set not available or break or the number of hours per week is less because of a misunderstanding"

i do not understand what i have done wrong. one thing i do not understand: what is the difference between groups and automatic subgroups, and where do they come from? all classes i have are listed as groups AND subgroups, and that happened automatically, but this separation doesn't tell me anything.

does anyone have an idea on what to change and where my mistake could be? thanks a lot for helping me out.

take care, kati
Title: Re: error message when calculating the timetable
Post by: Liviu Lalescu on June 27, 2015, 11:10:21 AM
An empty year gets an "Automatic Group", and an empty group gets an "Automatic Subgroup". So, probably you inputted "subgroup 1" as a FET year.

Probably the year "subgroup 1" has 21 working hours in a 20 hours week.

Please send me your file.
Title: Re: error message when calculating the timetable
Post by: geraeuschlos on June 27, 2015, 06:42:58 PM
dear liviu,

oh thank you so much. i was supposed to get this done until monday, and i am totally stuck. i counted again and my class 1, which i think is also subgroup 1, has 20 hours of activities, not 21, i think.


looking forward to your comment, kati

Title: Re: error message when calculating the timetable
Post by: Liviu Lalescu on June 27, 2015, 06:55:16 PM
I was wrong, your year names are OK (1, ...).

In the activities dialog I selected the filter for students "1", and I get 21 activities/hours, like in the attached picture.
Title: Re: error message when calculating the timetable
Post by: geraeuschlos on June 27, 2015, 07:02:26 PM
oh yes, now i see it, too! blind fish me :-D thank you so much!!!
Title: Re: error message when calculating the timetable
Post by: sunnysolanki76 on November 23, 2023, 08:59:40 PM
Hey I am facing the same issue can you please help me
Title: Re: error message when calculating the timetable
Post by: Volker Dirr on November 23, 2023, 09:07:24 PM
Well, without more information you can only get the help above.
How about some more details and in best case even your fet data file?
Title: Re: error message when calculating the timetable
Post by: sunnysolanki76 on November 23, 2023, 09:19:33 PM
yes please I have attached it. please give me reply me as soon as possible

thanks
sunny solanki
what's App: 9726658365
Email: sunny80380@gmail.com
Title: Re: error message when calculating the timetable
Post by: Volker Dirr on November 23, 2023, 09:44:59 PM
There are several bugs in the file.
The first bug is, that group ARAVALLI has 2 hours too much.
I generated a timetables that has 2 slots more, so you can see better how a timetable of that group might look like. First of all you need to remove 2 activities of that group.
Title: Re: error message when calculating the timetable
Post by: Liviu Lalescu on November 23, 2023, 09:48:31 PM
Hello,

You are making mistakes. I attach two possible versions, but which also don't solve. You need to have maximum 48 hours per week for each students set/teacher.

Also, in the Mornings-Afternoons mode you need to consider what restricted morning/afternoon for a teacher means - he cannot work both morning and afternoon. This poses more constraints on your data.

Also, it is best to divide in at most 6 per week, not 7 (subactivities).

In the Mornings-Afternoons mode you have 4 hours per day and 12 days per week.
Title: Re: error message when calculating the timetable
Post by: sunnysolanki76 on November 23, 2023, 10:12:01 PM
Thanks for your quick reply. I understand my mistake but I can't understand how can I solve it.

I want to create a per day 8 lecture timetable so I divide it as per the attachment please check it once with my file and let me know. where I made a mistake.

thanks
sunny solanki
Title: Re: error message when calculating the timetable
Post by: Volker Dirr on November 23, 2023, 10:18:04 PM
If the teachers are allowed to teach the whole day, then use the official mode.
You can add the 6 days and 8 (or 9) hours like you already done.
In my opinion the break is "unneeded" to add (so add only 8 hours per day), but you can also add it if you thing it is better. You must know the activities with duration > 2 can not be placed over a break. But a break is in fact not needed to disallow it.

If the teachers are only allowed to work before the break OR (not both) after the break each day, then you need to use the MA mode. But in that mode you must double the days (so 10 (half)-days), but you only need to add 4 hours per day.
Title: Re: error message when calculating the timetable
Post by: sunnysolanki76 on November 23, 2023, 10:39:59 PM
I understand but I use the first time this can you please help me online or on any other platform because I have to submit it tomorrow and I have only few hours left I am really stuck can you guide me, please
Title: Re: error message when calculating the timetable
Post by: Volker Dirr on November 23, 2023, 10:52:24 PM
ah.. Sorry. There might be only a few bugs in your data set, but there might be also many. Difficult to see that so quick since i don't know your school system. It is late here already (23:51) and i must wake up at 06:00 and drive to work. Sorry, but i must go to sleep in a few minutes.
First of all you must decide if you want to work with Fet official mode (i guess that is ok, since you work only up to 01:20 and don't work in the (late) afternoon) or the FET MA version.
After that please solve the bug with group ARAVALLI. In best case it is already working. In worst case you can ask here again, but i won't answer before 14:00) So i won't answer in the next 14 hours.
Not sure, i guess Liviu will wake up in around 7 hours. I fear a bit there won't answer other guys sooner. The other guys that write here sometimes are mainly also located in Europe, so they will probably all sleep right now.
Title: Re: error message when calculating the timetable
Post by: sunnysolanki76 on November 24, 2023, 02:15:21 AM
Hey, it's done thanks for your help. but I have one question. last few min the software generate the timetable or any errors or does it take more time to generate? I attached a shot
Title: Re: error message when calculating the timetable
Post by: Liviu Lalescu on November 24, 2023, 08:24:51 AM
It won't generate.

Maybe you need to modify the teachers' mornings-afternoons behavior (if you are using the Mornings-Afternoons mode).
Title: Re: error message when calculating the timetable
Post by: Volker Dirr on November 24, 2023, 12:50:24 PM
Attach the latest file if you still need help.