thanks for "min days per week for all teachers"

Started by Silver, September 15, 2009, 03:12:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

silvia

yes, Volker, the only possibility would be to add min 3 days for all teachers, min 4 days for 1 teacher, and min 5 days for 40 teachers. I can't add dummy activities because we have 7 hours a day + 2 breaks.

I was wondering if the old teachers constraints worked the same way. I don't have my FET here so I can't check it, but... when I added max gaps per week for all teachers =5 and then max gap for a teacher T1=3, did the specific constraint overwrite the general constraint? I don't remember well, sorry.

Liviu Lalescu

Yes, all constraints work this way. This seems not a very good thing, as users like you report.

Chafik Graiguer

#17
QuoteAll constraints are satisfied, there are no exceptions. All constraints are independent.

If you have all teachers max gaps per week=1, T1 max gaps per week=0, T2 max gaps per week=2, then all teachers without T1 will have max gaps 1 and T1 max gaps 0.

Ok
That's good! this is exactely what I was thinking
Quote
It is not user friendly this feature, but it is more correct I think.
Indeed, it is user freindly. I am glad you confirm  it is working this way :)

So, now, the Silvia's problem is solved !!!
She asked:
Quote
I have like 50 teachers. Aproximately 10 of them work part time and should do a min and a max of 3 days. the other 40 teachers work a min and a max of 5 days.
[...]
I should enter min days for a teacher 50 times
Fortunately, the answer is NO :) you dont need to do so
Then, she asked:
Quote. Is there a way that min days for all teachers is overwritten by more specific restriction of min days for a teacher?
Fortunately again, the answer is YES :)
You can enter Min/Max days per week for ALL teacher = 5
Then select those 10 part time teachers, and make
Min/Max days per week  = 3

There is no need to set Min 5 days for 40 teachers !!

The  same for:
Quotewhen I added max gaps per week for all teachers =5 and then max gap for a teacher T1=3, did the specific constraint overwrite the general constraint? I don't remember well, sorry.
Yes, you can !!
Constraint for a specific teacher override constraint already set for ALL teacher

Liviu Lalescu

Quote
Yes, you can !!
Constraint for a specific teacher override constraint already set for ALL teacher

No. The strongest constraint wins. Silvia must add constraints for each teacher.

sstt2

I cant use "Command line" With this version !!!
I'm trying to use this command line

" --inputfile=FET.fet --timelimitseconds=36000 --timetablehtmllevel=5 --language=ar"

it was working fine with the other versions up to 5.10.3


how to test 5.11 version useing command line ??

Liviu Lalescu

This is a bug, I'll fix it right away. Thank you very much for this bug report!

silvia

alfaromeo, I must enter individual constraints because in the case of min days for teachers, the specific constraints doesn't overwrite the general constraint. This only happens in other time constraints, but not in this one.

Liviu, if specific constraints overwrite general constraints in other cases, would it be possible that you make them overwrite also in min days for a teacher?

Liviu Lalescu

Quotealfaromeo, I must enter individual constraints because in the case of min days for teachers, the specific constraints doesn't overwrite the general constraint. This only happens in other time constraints, but not in this one.

Liviu, if specific constraints overwrite general constraints in other cases, would it be possible that you make them overwrite also in min days for a teacher?

It was a misunderstanding: specific constraints don't overwrite general constraints. The rule is: stronger constraint wins, or: all constraints are satisfied. It is not nice, I found out recently because of your suggestions. I'll think about it.

Liviu Lalescu

QuoteI cant use "Command line" With this version !!!
I'm trying to use this command line

" --inputfile=FET.fet --timelimitseconds=36000 --timetablehtmllevel=5 --language=ar"

it was working fine with the other versions up to 5.10.3


how to test 5.11 version useing command line ??

I have just put a new snapshot (to fix this bug), please tell me if everything is OK now.

silvia

thanks for trying, liviu. i know I give you too much work, sorry  :-[

sstt2

Hi Liviu Lalescu

Great (Y)

Command line is working now


thanks

sstt2

Hi ,
I have an idea for the new version for the command line users

we want to Get the progress status with the command line mode
Mean to Get RealTime log values for the Generating progress
you can Generate RealTime text file with the Generated Activities
then we can read this file to show the user a RealTime list of the Generated Activities
also it will help to find the last Activity at this list to know the diffecult Activity

Liviu Lalescu

QuoteHi ,
I have an idea for the new version for the command line users

we want to Get the progress status with the command line mode
Mean to Get RealTime log values for the Generating progress
you can Generate RealTime text file with the Generated Activities
then we can read this file to show the user a RealTime list of the Generated Activities
also it will help to find the last Activity at this list to know the diffecult Activity

It would slow the generation. Also it is difficult to add a good function like that (what information should I add?).

Volker Dirr

writing it in a file will also need very much space on hard disc.

if you use linux you can also see a logging in the shell/command line.

sstt2

Quote
QuoteHi ,
I have an idea for the new version for the command line users

we want to Get the progress status with the command line mode
Mean to Get RealTime log values for the Generating progress
you can Generate RealTime text file with the Generated Activities
then we can read this file to show the user a RealTime list of the Generated Activities
also it will help to find the last Activity at this list to know the diffecult Activity

It would slow the generation. Also it is difficult to add a good function like that (what information should I add?).



it would be great work if you make xml file with the initial order of placing activities at the Generating progress start so that we can read this file to know the activities order,
then you can only update text file with the max placed activities and the time of max placed activities.
then: we will find the last activity id at the xml file according to the max placed activities,so we can find the difficult Activity.