FET with five terms / for Finland (Five 7 weeks terms in a school year)

Started by mathmake, January 11, 2020, 12:45:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikkojoo

I will, thank you for your quick answer/help!

mikkojoo

It seems to work just rigth. I just don't understand how it works...
What would be best way to learn to understand those constraints?

E.g. I know the constraint with Religion puts it in one semester, I just dont understand how it works. Sorry  :-[

Liviu Lalescu

Absolutely no problem!  :)  I am here to help (but I'll probably go to sleep soon).

To add/modify the constraint for Religion (all 3 are in a single term/semester): go to Data/Time constraints/Activities/A set of activities occupy max terms, select the subject Religion and add all the activities, then Max occupied terms = 1. You have also shortcut tab on the main form, Time/Activities/A set of activities occupy max terms. You can also modify from All time constraints dialog.

To add/modify the constraint for Math (max 3 are in a single term/semester): similarly, Max activities from a set in a term, select subject Math and add all the activities, then Max activities in a term = 3. Similar as above, shortcuts are possible.

Is this what you are asking, or you meant another thing?

mikkojoo

Thanks, exactly this!
One more and even more stupid noob question: where/how do you define terms?

Liviu Lalescu

They are hard-coded, the first 5 days are the days of the first term, the next 5 days are the days of the second term, ... . There must be 25 days per week, 5 terms x 5 days.

This can be changed in the program or generalized, but mathmake did not require this.

mikkojoo

Okei, thanks. We have just the same system, so this works perfectly. I just did not understand the way it works.

BTW, Finnish lower secondary / junior high schools ( grades 7th-9th) use mostly, as far as I know, either 2-term or 5-term timetabeling; schools/municipalities are aloud to choose this by themselves. There are also 4-term and 6-term systems.

These 5-term schools are usually connected to a senior high school (common resources). There are major changes going on in senior high system. So, this term-system can be changed in the near future. Because of this, it could be useful to be able to change those terms, but this is not needed now.

Thanks again for your kind help!

Liviu Lalescu

Yes, our work on this was more like a proof of concept.

You are welcome!  :)

mathmake

Hi Liviu,

I've started to run FET to make timetables. After adding some time constraints I've started to get assortion failed errors (image attached). I can't tell exactly which constraint is causing the problem.

Markus

Liviu Lalescu

#38
Hello, Markus,

I apologize for the bug! Please send us/me your file as soon as possible, I'll try to correct as soon as possible. I need your file to hunt down the bug.

mathmake

Hi Liviu,

thank you for a very quick answer! Here is the first version of the file, that the  problem appears.

Markus


Liviu Lalescu

OK, thank you, I will see it soon. You could also send me more advanced versions of your file, so that I can check further and ensure everything is OK.

mathmake


Liviu Lalescu

#42
Oh, what a little silly bug I did but what bad consequences :)

I solved it, just need to compile for Windows and put the new version (probably at most 30 minutes). Please stay tuned.

I just saw your constraint with 99% preferred times early the first 4 slots of the day. You have also the constraint activities occupy max time slots from selection: add all the activities, selected slots = last of each day, max occupied = an incremental approach. And if you add activities you need to update the activities in the list of this constraint. But this has nothing to do with the reported crash bug. I also tried to increase your preferred times from 99% to 99.99% and it worked, slower, but better, with less soft conflicts. But if you add more other constraints, it might not work.


Liviu Lalescu

You are welcome!  :)

I just put the new version: https://lalescu.ro/liviu/fet/download/custom/mathmake/

You might want to read again the ending of my previous post, I edited it.