Terms more even for a teacher

Started by mikkojoo, May 29, 2025, 07:58:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikkojoo

Hello!
I'm in a quite final state of making timetable. My main concern are uneven terms for certain teachers. I'm aware that this is because of other constraints - certain activities in certain terms or not in certain terms. Then there are other things too, like not many gaps per day or week.

Now the timetable takes 5-7 hours and I'd like have it ready today. So I need siome advise what I could try. For example "lyrpep", "kartar", some others too have difficulties with uneven workload.

So, whats wrong in mny file and what could I try?

This is a 5-term school, so 25 days, 5-terms, 4 hours a day.
Oh, it seems that my file is much too big...


Liviu Lalescu

#1
Hello, Mikko,

You can pack (archive) your file and attach it here.

Liviu Lalescu

Hello, Mikko,

I received your email with your fet file.

I am not sure about "kartar", he seemed to have a balanced timetable, but indeed, for "lyrpep" I saw that he has a full first term.

Maybe you can use constraints of type "activities occupy min/max time slots from selection". Select all activities of "lyrpep", and add 10 constraints for him, 5 min, 5 max, selected slots = first term, second term, etc.

mikkojoo

Thanks!
I found that myself too (always asking, not thinking...)
kartar is ok indeed now, but in the previous 150 versions she tend to have uneven terms

So you think that 10 is not too tight to try? I'll do that.

My file is noway secret, but just now I will go on!

mikkojoo

Sorry, you did not mean max 10, but 10 constarints :D
So busy not having time to read 8)

mikkojoo

Btw, is there anyway to make constraints as a batch, not making them one by one?

Liviu Lalescu

Unfortunately, not. Only a FET code customization is possible, or another program to generate the XML fet file portion.

Liviu Lalescu

Maybe I should add in the TODO the constraints of type teacher(s) min/max hours per term.

mikkojoo

Now I have a problem. There is something wrong and I cant find what. Many constraints, too many...

This is what I got now

Please check the constraints related to following possibly problematic activity (or teacher(s), or students set(s)):
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Id: 1960 (    1/6 - kilann,kulout - B1RU - RU - 7A,7B)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Liviu Lalescu

Oh... X (red) is selected. You made inverse!!!

Please edit the last 10 constraints, and click "Toggle all" in each and OK.

mikkojoo


mikkojoo

Now I realize why those colors are not always good. Green makes me think thats ok

mikkojoo

Quote from: Liviu Lalescu on May 29, 2025, 08:51:20 AMMaybe I should add in the TODO the constraints of type teacher(s) min/max hours per term.

Certainly that would make life easier as a 5-term timetable maker for 50+ teachers

Liviu Lalescu

#13
Yes, I agree. I added this in the TODO and I will think of it for the future. If I find sponsors, I will do it rightaway. My price for this feature is 1,600 (one thousand six hundred) euros.

Liviu Lalescu

#14
Hello, Mikko,

I just obtained, after a bit less than 4 hours, two solutions (I generated on 8 threads). I attach them.

PS: Neglect new version warning, 7.2.4 is only on my hard disk for now, and you can open with the current official 7.2.3.