If a techer has "min days per week" constrain and you rename the teacher the constrain keeps the old name.
Then if you try to generate a time table it throws an error.
I checked the fet file before and after rename I saw that the name has changed in all the other file but not inside the "min days per week for a teacher" constrain
Nikos
QuoteIf a techer has "min days per week" constrain and you rename the teacher the constrain keeps the old name.
Then if you try to generate a time table it throws an error.
I checked the fet file before and after rename I saw that the name has changed in all the other file but not inside the "min days per week for a teacher" constrain
Nikos
Thank you very much for the bug report! I'll fix it right away.
I have put a new snapshot, please get it. Thank you for your bug report - now everything should be solved.
hi, I haven't tested the min days for teachers, but all the other constraints I use work fine with this last snapshot of 21st september. All the menus are ok in my 10" screen when I maximize the window. I lose the bottom if I don't maximize.
Thanks for report, Silvia!
I found other crash bug if renaming a students year and user has constraint students set interval max days per week for this year. I am working on it, and maybe on other bugs related to modifying or removing students sets.
I have fixed a few other bugs (very very rare, for overlapping years - containing same groups - that is why nobody reported them).
I have put a new snapshot (same usual test location). If you could help me, that would be great. Just use the attached sample or your file (if it has some complex students structure - or even it not). Try to rename or remove students year, groups or subgroups, test if the file is correct after that.
hi,
I downloaded snapshot from 22 september. I changed the name of a subgroup and generated.No crash, works fine. I removed 1 group and 1 subgroup and it works fine. good job!
Thanks, Silvia! You are a good collaborator :-)
I am not sure, Silvia, you also suggested constraint max hours daily with an activity tag? I am still thinking of a solution, but it is difficult to make a perfect solution.
by the way, I had to test that snapshot with my file, because the k.fet file gave me some errors, as students deactivated, and things about min or max hours allowed.
About the Max hours daily with an activity tag, it doesn't mind if it's an activity tag, or a subject. It's just to prevent a teacher having the same group with the same activity on the same day. it can also be done with the Min days between activities, but I have to do that soooo many times that I asked for a shortcut. Lazy girl, sorry.
You know that my main problems are the min days for teachers (done) and the classrooms assigned when 2 teachers are with the same group (I think you said this is impossible). My timetables look gorgeous thanks to FET, if I suggest things is only to make my life easier and your life miserable, hahahahha, sorry, just a joke. i suggest things so FET is easier for Catalan timetables.
//Edited to add:
It is also very interesting the thing about teachers preferred times. I know there's an alternative, it's just a suggestion.
Quoteby the way, I had to test that snapshot with my file, because the k.fet file gave me some errors, as students deactivated, and things about min or max hours allowed.
Yes, I know, k.fet is just a complex file which contains all constraints and you cannot generate a timetable for it.
Quote
It is also very interesting the thing about teachers preferred times. I know there's an alternative, it's just a suggestion.
Do you mean teacher not available with <100%? It is possible, use constraint activities preferred time slots (or do you mean that in this case the gaps are counted, and they shouldn't be counted?)
This year I set the teachers preferred times by adding a activity constraint with no students and no subject, only a teacher. Then I created slots for those teachers and gave a 99% weight. What I suggested was:
same way as you can set Teacher not Allwoed times, I would like Teacher Preferred times.
When a teacher says: I would prefer to teach mainly between 8 and 11am. Not obligatory but preferred. Or I would prefer to work thursday afternoon instead of tuesday afternoon. Not obligatory, but preferred.
I remember you said this is very difficult or impossible or not useful, but I am just reminding you about this, just in case something had changed in the algoritm and now it was easy :-)
OK, I remember, so preferred time (not not-allowed time). It still seems impossible for me to add. The algorithm does not work well with constraints like: min hours daily, min days per week, preferred times. The algorithm works easy and well with max hours daily, max days per week, not allowed times, un-preferred times (which is why I implemented preferred times with a negation in FET).
I tested the last snapsot "fet-5.11.0-snapshot-22-sept-2009-21_06"
It works OK with renaiming teachers that have "min days per week" constrain
I was also the one that suggested the "max hours daily for an activity tag"
http://lalescu.ro/liviu/fet/forum/index.php?topic=607.msg3663#msg3663
It could be like "max hours continiously with an activity tag for a teacher" or "max hours continiously with an activity tag for a student set" but insted of "continiously" will have "daily"
If it is general "max hours daily for an activity tag" will also work (if I need a spesific teacher or a student set I will just create a diferent activity tag for this teacher or student set)
Thank you
Nikos Koutsoukos
QuoteI tested the last snapsot "fet-5.11.0-snapshot-22-sept-2009-21_06"
It works OK with renaiming teachers that have "min days per week" constrain
I was also the one that suggested the "max hours daily for an activity tag"
http://lalescu.ro/liviu/fet/forum/index.php?topic=607.msg3663#msg3663
It could be like "max hours continiously with an activity tag for a teacher" or "max hours continiously with an activity tag for a student set" but insted of "continiously" will have "daily"
If it is general "max hours daily for an activity tag" will also work (if I need a spesific teacher or a student set I will just create a diferent activity tag for this teacher or student set)
Thank you
Nikos Koutsoukos
Yes, I know, I am still thinking of that, I just wanted to know if there are more users requesting this. I'll write about this constraint on the dedicated topic, after I'll think some more.
Quote from: silvia on September 24, 2009, 09:37:18 AM
This year I set the teachers preferred times by adding a activity constraint with no students and no subject, only a teacher. Then I created slots for those teachers and gave a 99% weight. What I suggested was:
same way as you can set Teacher not Allwoed times, I would like Teacher Preferred times.
When a teacher says: I would prefer to teach mainly between 8 and 11am. Not obligatory but preferred. Or I would prefer to work thursday afternoon instead of tuesday afternoon. Not obligatory, but preferred.
I remember you said this is very difficult or impossible or not useful, but I am just reminding you about this, just in case something had changed in the algoritm and now it was easy :-)
Reviving an old topic: this is now possible using constraint activities occupy max time slots from selection.