FET Forum

FET Support (English) => Get Help => Topic started by: Chafik Graiguer on September 14, 2008, 12:04:11 AM

Title: The first results was more than promising...
Post by: Chafik Graiguer on September 14, 2008, 12:04:11 AM
 first results!!  :)   :)  

I got a working timtable with the following constraints:
Min hours daily for all teachers --> 2
Min hours daily for all teachers --> 2
lessons doesnot  take place  Saturday afternoon ( by making all rooms unavailable on saturday afternoon !!)

But I still need more compact timetable for teachers because nearly 70 % of teachers come every day from another city (about 60 Km away !!)
So I have to minmise the number odf working days/travels by increasing  "Min hours daily for all teachers"




Title: Re: The first results...
Post by: Liviu Lalescu on September 14, 2008, 06:56:40 AM
Quote
lessons doesnot  take place  Saturday afternoon ( by making all rooms unavailable on saturday afternoon !!)
You could have used constraint break

Quote
But I still need more compact timetable for teachers because nearly 70 % of teachers come every day from another city (about 60 Km away !!)
So I have to minmise the number odf working days/travels by increasing  "Min hours daily for all teachers"

I think you can use constraints teacher max days per week.
Title: Re: The first results...
Post by: Chafik Graiguer on September 14, 2008, 08:35:41 AM
Finally, I got the nearly perfect timetable  :)  :)  :)
I would like to thank you very much
thanks to your help and care, I managed to generate nearly a perfect timetable, witch is 100% compatible with national educational standarts; It respect  98 % ( maybe more)  of teacher's wiches
 
Quote

I think you can use constraints teacher max days per week.
Yes , you are absolutly right
First, I tried to use
"Min hours daily for all teachers" ----> 3
But FET wasunable to go beyond 280 out of 323 placed activities
even worse, it continualy went down to 160 ou of 323 placed activities
finaly, I put "Min hours daily for all teachers"  back to 2
then I used "" teacher max days per week."" like that:
If a teacher has 18 workings hours per week, then I set it to:
18=4+4+4+4+2= 5 working days

For a teacher with 20 hours:
20=4+4+4+4+4= 5 working days

the most astonishing thing is that FET solved the timetable in less  than 2 munites !!
from my past experience, such timetable means at least 1 day of hard working for both PC and human !!

so many maany thanks for help and for customisedFET version
Title: Re: The first results...
Post by: Liviu Lalescu on September 14, 2008, 08:49:56 AM
I'm glad it worked out.

Maybe you would like to send me your input file, so I can keep it if I need testing in the future.

Also, maybe you would like to write in the guestbook and/or forum feed-back.
Title: Re: The first results...
Post by: Chafik Graiguer on September 14, 2008, 08:56:43 AM
Quote
Maybe you would like to send me your input file, so I can keep it if I need testing in the future.

ok I attached the file

Quote
Also, maybe you would like to write in the guestbook and/or forum feed-back.
Yes I am currently writing this feed back
Now, Please How can I "join" to two FET days into one real day for printing !!?
Title: Re: The first results was more than promising...
Post by: Liviu Lalescu on September 14, 2008, 09:39:08 AM
Volker, could you try to modify the html export routines for alfaromeo?

Take the custom alfaromeo version from timetabling.de. Rename timetableexport.cpp to timetableexport_alfaromeo.cpp (and modify entry in the interface.pro). This is to ensure we don't mix files with official version. Then modify the printing like that: instead of "for (k=0; k<ndays)" do a "for (dk=0; dk<ndays/2) for(int cnt=0; cnt<2; cnt++) k=dk*2+cnt;" and add also 2 empty cells between part 1 and part 2.

Then send me the modified files and I'll make an archive and compile for Windows also.

You can test with the file alfaromeo attached.

I think it is best to modify all html export routines, because he might use this version for more schools.

If Volker cannot do that, I will try to make it. But I am in a bit of shortage of time now and also I do not know exactly the printing in html routines.
Title: Re: The first results was more than promising...
Post by: Liviu Lalescu on September 14, 2008, 09:52:33 AM
alfaromeo, please let us know which timetables are you interested in - these will be critical to change for you - and which timetables are not so important, so we might leave these the old way.
Title: Re: The first results was more than promising...
Post by: Chafik Graiguer on September 14, 2008, 10:05:15 AM
I dont understand
did you mean,: witch timetables are important for the joint days operation ? teachers or students  !?
Title: Re: The first results was more than promising...
Post by: Liviu Lalescu on September 14, 2008, 10:10:11 AM
QuoteI dont understand
did you mean,: witch timetables are important for the joint days operation ? teachers or students  !?

Yes, which html timetables are important for join days? There are about 22 html timetable variants as I remember (if you open the index.html you can see these variants). Which ones do you use? Teachers days vertical, students days horizontal, etc.
Title: Re: The first results was more than promising...
Post by: Chafik Graiguer on September 14, 2008, 10:21:31 AM
well, I will inspect them one by one
In general,  for days timetables I am only intersted to vertical ouputs, No needs to add 2 hours break lunch, they are implicit   :)

- For the
  -fet_years_timetable_time_horizontal.html
and
 - fet_teachers_timetable_time_horizontal.html
files
Already  good news:
days are automticaly joined !!!!!
I need only to edit 08:00 to 14:00
09:00 to 15:00 and so on... for the day 2
This changes are very easy to made

(http://img206.imageshack.us/img206/5162/yearsverticalme4.jpg) (http://imageshack.us)


For other files , I am inspecting them....
Title: Re: The first results was more than promising...
Post by: Liviu Lalescu on September 14, 2008, 10:32:30 AM
OK.

Please try to use the current timetables as they are and see if you can modify only a few information easily. The reason is that the html output is difficult to modify and also we don't know the name of hours from 14:00 to 19:00 (the second part of the day). Other reasons are that Volker might be busy with his school. I also would prefer to not compile again a new version for you, because I am afraid I might confuse the versions on my hard disk and mess things up (I might introduce your changes on official version - which is totally wrong). Also, other reason is that if we modify the html routines, we might introduce some bugs and you might get wrong data, which needs again fixing.

These are the reasons why I prefer you to use existing version, if possible. If not, we'll try to make something for you.
Title: Re: The first results was more than promising...
Post by: Chafik Graiguer on September 14, 2008, 10:44:56 AM
Quotealso we don't know the name of hours from 14:00 to 19:00 (the second part of the day).
I need only days joined
for the hours name, I can modify them manualy by a search and replace command

QuoteI also would prefer to not compile again a new version for you, because I am afraid I might confuse the versions on my hard disk and mess things up (I might introduce your changes on official version - which is totally wrong). Also, other reason is that if we modify the html routines, we might introduce some bugs and you might get wrong data, which needs again fixing.
It is important to be on safe side

Quote. Other reasons are that Volker might be busy with his school.

for me, the most important is that I have now I have a working timetable, I can even print it as is, then write it down on papers with modifications, before publishing on school

Now I will continue inspecting others files