FET Forum

FET Support (English) => General Stuff => Topic started by: Ali Ghrayeb on July 05, 2013, 11:19:17 PM

Title: Even more mixed timetables
Post by: Ali Ghrayeb on July 05, 2013, 11:19:17 PM
I know that FET generates random timetables. But we still even need more mixed/random timetable.
After generating, i am getting timetables for some students of the form:
3-4 days a week, they have English in the morning 'first session', and Math in the afternoon 'last session'.
This is not a timetable of our interest. we need a timetable that is more random. For example:

                     Mon     Tues      Wed    Thur    Friday
1st session:  Math   English Physics History Economic
...
last session: English Geog  English  French  Physics

This way the subjects are equal, since the students have better concentration in the morning.

Is there a way to force this randomness? or at least tell FET to get me the most Random timetables?

Thanks so much in advance!
Title: Re: Even more mixed timetables
Post by: Volker Dirr on July 05, 2013, 11:36:56 PM
you should go to
FET->Data->Time constraint->activities->A set of subactivities...


now do following stuff to some subjects:
example: you have math 4 hours per week, so you split it into 4 subactivities.
you have 6 hours per week.

now set a new constraint for subject math: the first component must be between 1st and 3rd hour.
do the same with the second component.

do it similar to some other subjects.

(you don't need to  set the last components to be only between 4th and 6th hour, because if you force other subjects similar, then there is no other chiose to get later hours for the last components.)
Title: Re: Even more mixed timetables
Post by: Ali Ghrayeb on July 07, 2013, 11:14:58 PM
Thanks Volker! This is really helpful. A side note, it made FET run really slow. Time increased from 30 mins to 3 hours. But I am happy with the results.
Title: Re: Even more mixed timetables
Post by: zeta65 on September 14, 2014, 10:48:16 AM
I use the way suggested, but I think that this should be hardcoded inside fet. I mean that by default the program should distribuite the activities not only horizontally (spliting the subactivities between different days) but also vertically.
Title: Re: Even more mixed timetables
Post by: Volker Dirr on September 14, 2014, 11:15:26 AM
No, it is bad to code that hard. Currently placing is random and that is fine.
It is bad to code hard to get it more mixed or less mixed, because there are school/subjects that need it mixed and there are schools/subjects that doesn't need it mixed.
So an advantage for your subjects is a disadvantage some of my subjects. We should care about every user.
So the current way is effective:
Everybody simply add a few constraint if he/she like it more or less mixed.
Title: Re: Even more mixed timetables
Post by: Liviu Lalescu on September 14, 2014, 11:30:40 AM
Please see also http://lalescu.ro/liviu/fet/forum/index.php?topic=1750.msg9328#msg9328