FET Forum

FET Support (English) => Get Help => Topic started by: Andrea Giordano on August 31, 2011, 08:20:06 PM

Title: Morning and afternoon
Post by: Andrea Giordano on August 31, 2011, 08:20:06 PM
In my school each class has 6 morning (with 4 h) and 2 afternoon (with 4 h) how can I tell FET this so that he doesn't put more than 2 afternoon and one morning less.
Thanks'
Title: Re: Morning and afternoon
Post by: Liviu Lalescu on August 31, 2011, 08:30:49 PM
No more than 2 afternoons: constraint students interval afternoon max 2 days per week.

Not less than 5 mornings (Is this what you need? Did I understand correctly?): there is no direct constraint min days per week for students. Let's try some tricks: students min 1 hours daily with allow_empty_days=false -> this will ensure 6 mornings. If you want to allow a free morning, add a dummy activity for each students subgroup (subgroup, take care, not group or year).
Title: Re: Morning and afternoon
Post by: Andrea Giordano on September 01, 2011, 06:15:39 PM
QuoteNo more than 2 afternoons: constraint students interval afternoon max 2 days per week.

Not less than 5 mornings (Is this what you need? Did I understand correctly?): there is no direct constraint min days per week for students. Let's try some tricks: students min 1 hours daily with allow_empty_days=false -> this will ensure 6 mornings. If you want to allow a free morning, add a dummy activity for each students subgroup (subgroup, take care, not group or year).

At the End my students will have 6 morning an 2 afternoon.
Maybe wit the contraint you suggest it could be enough for FET (constraint students interval afternoon max 2 days per week.) but I can't find it. If I can manage to tell fett to use no more than 2 afternoons the other activities will be fitted in the morning...

I add something: I don't want to have teachers with the last hour of the morning and the first of  the afternoon (at least not more than twice a week):
I can accept situation A (not more than twice a week) and B
but not C (as in the file)
How can I instruct FET dto do this?
Thank you!
Title: Re: Morning and afternoon
Post by: Liviu Lalescu on September 01, 2011, 06:35:22 PM
Time constraints -> Students -> Interval max days per week.

Why C is not accepted at most twice per week? For this problem, please try to invent some tricks.
Title: Re: Morning and afternoon
Post by: Andrea Giordano on September 01, 2011, 07:34:52 PM
QuoteTime constraints -> Students -> Interval max days per week.

Why C is not accepted at most twice per week? For this problem, please try to invent some tricks.
Italian teacher are a bit ... how ca I say ... spoiled?
Ok I'll try something anyway and I'll let you know


And what about "constraint students interval afternoon max 2 days per week". I can't find it in FET. Maybe I'm a bit short-sighted
Title: Re: Morning and afternoon
Post by: Liviu Lalescu on September 02, 2011, 06:45:30 AM
Quote
QuoteTime constraints -> Students -> Interval max days per week.

Why C is not accepted at most twice per week? For this problem, please try to invent some tricks.
Italian teacher are a bit ... how ca I say ... spoiled?
Ok I'll try something anyway and I'll let you know


Why A is accepted and C not?

Quote

And what about "constraint students interval afternoon max 2 days per week". I can't find it in FET. Maybe I'm a bit short-sighted

http://lalescu.ro/liviu/fet/screenshots/english-1/014-15-menuTStudents.png.html , 10th and 19th entries.
Title: Re: Morning and afternoon
Post by: Andrea Giordano on September 02, 2011, 09:38:02 PM
If you have to stay at school for lunch at least you wuould like to make this "effort" worthy, and it seems worthy if you have at least 2 hours or better a full afternoon.
Title: Re: Morning and afternoon
Post by: Volker Dirr on September 02, 2011, 11:08:50 PM
but the "effort" worthy is the same.
example:
Variant c: you start at 9.20 and stay until 14.10. so you are 4 hours and 50 minutes in school.
Variant d: you start at 10.20 and stay until 15.10. so you are 4 hours and 50 minutes in school.

so why do you accept variant d (you have 2 hours minimum in the afternoon!). you stay the same time at school as in variant c, which you don't accept.
so your request is not logical. it is "just" is psycholigical thing, but you don't save time/work by that request.
Title: Re: Morning and afternoon
Post by: Andrea Giordano on September 02, 2011, 11:32:04 PM
Quotebut the "effort" worthy is the same.
example:
Variant c: you start at 9.20 and stay until 14.10. so you are 4 hours and 50 minutes in school.
Variant d: you start at 10.20 and stay until 15.10. so you are 4 hours and 50 minutes in school.so why do you accept variant d (you have 2 hours minimum in the afternoon!). you stay the same time at school as in variant c, which you don't accept.
so your request is not logical. it is "just" is psycholigical thing, but you don't save time/work by that request.
Yes I'm aware that is psycological as I have said ... italian teacher are not used to afternoons and not even to stay away from home at lunch time... you know mummy has to attend babies ... we will overcome that but little by little. Anyway I'm new at timetabling and maybe I'm a bit too much worried. Thanks a lot.
Anyway I manged to understand the constraint Liviu suggested for students and it works perfectly! Very good. I'm going on with the job quite well.