Main Menu

Morning and afternoon

Started by Andrea Giordano, August 31, 2011, 08:20:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrea Giordano

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'

Liviu Lalescu

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).

Andrea Giordano

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!

Liviu Lalescu

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.

Andrea Giordano

#4
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

Liviu Lalescu

#5
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.

Andrea Giordano

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.

Volker Dirr

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.

Andrea Giordano

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.