Max hours with a Teacher per day

Started by lalloso, September 07, 2011, 05:08:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lalloso

Hello,
whatever the class (subgroup) I don't want to have it more than X hours (e.g. 3) with the same teacher per day.
I thought about using
Max hours dailiy with an activity tag for all students.
The activity tag should be ALLSUBJECTS and I need to add it at every activity. I already created all the activities, how can I add the TAG to them? :o

lalloso

I can't do like written because it just does not make sense. :-(

Any hints on how to avoid that teacher can be in in the same classroom more than three hours per day?
Unfortunately I have a couple of teachers who have more than one activities with the same class of students.

Liviu Lalescu

Yes, this is the constraint. Add an activity tag for each students set and teacher (so, n_students_sets * n_teachers tags). Or maybe use less, with other method, I am not sure. Furthermore, each activity may have more tags.

lalloso

QuoteYes, this is the constraint. Add an activity tag for each students set and teacher (so, n_students_sets * n_teachers tags). Or maybe use less, with other method, I am not sure. Furthermore, each activity may have more tags.

So I should add a different TAG to each couple students set and teachers  :'(

Liviu Lalescu

Quote
So I should add a different TAG to each couple students set and teachers  :'(

I think this is the only way. But I may be wrong.

y

I have a similar problem and I thought to add it in this thread.

What if I want to put a constraint for all teachers to have up to 3 hours daily with all students' sets? Is this feasible?

Volker Dirr

#6
I don't know your dataset, so maybe follwing is not possible with your dataset, but it should be possible for many school datasets:
Just check your min n day constraints. In my opinion it is one of the most important ones and should get weight 100% only. If you do that, then it should be also impossible with many datasets that a teacher get to many hours per day with the same class.

y

Quote from: Volker Dirr on December 16, 2011, 06:17:13 PM
Just check your min n day constraints. In my opinion it is one of the most important ones and should get weight 100% only. If you do that, then it should be also impossible with many datasets that a teacher get to many hours per day with the same class.

I have already done that about the min n days constaint (with 100% weight). But still, I have a teacher coming in our school for 3 days, having a total of 7 hours (2 subjects: 5+2 hours) in the same group. The best result would have been to have him for 3+2+2 hours, the 3 days he is present in our school. If he had only one subject, I could arrange the activity slit in 3 parts: 3+2+2 hours. But now that I have him in two subjects, I wonder:
a) How I could enforce a max of 3 hours per day in this student group for this teacher?
b) The day he will be in this group for 3 hours for two subjects, it would be ideal to have two consecutive hours in the first subject (easy via activity planning) and one more for the other subject. This last hour should not be subsequent with the other two, and there should be at least one hour gap between these two activities! Is this possible in FET?

Thank you for your answer.

Volker Dirr

#8
split the first activity into 2+2+1.
split the second activity into 1+1.

use constraint "grouped" for activities with duration 1 of the first and the second activity.

your question b) is a bit more difficult. if you want that, i recommend this (even it is a bit harder):
take an activity with 2 hours of and one with one hour of a2 (of course not the "grouped" one).
use constraint "same day" for this two activities.
use constraint "allowed starting times" and allow only the 1st hour for the activity with duration 2.
use constraint "allowed starting times" and allow only 4th and later hours for the activity with duration 1.

y

Quote from: Volker Dirr on December 18, 2011, 12:28:45 PM
split the first activity into 2+2+1.
split the second activity into 1+1.

The only thing is that in my timetable:
- first activity, namely A, is 2+2+1 hours
- second activity, namely B, is split into 1 time x 2 consecutive hours.
Thus, I want to make sure that activity B is always in the same day with activity A-1hour, but not all 3 hours consecutively!

Quote
use constraint "grouped" for activities with duration 1 of the first and the second activity.

If I got your point, I should group activity B with single hour activity A. This way I could solve case (a)...

Quote
your question b) is a bit more difficult. if you want that, i recommend this (even it is a bit harder):
take an activity with 2 hours of and one with one hour of a2 (of course not the "grouped" one).
use constraint "same day" for this two activities.
use constraint "allowed starting times" and allow only the 1st hour for the activity with duration 2.
use constraint "allowed starting times" and allow only 4th and later hours for the activity with duration 1.

Yes you're right this is a bit complicated. It seems to me that your suggestion put more constrains that I need. It will solve my case though. I simply wonder if there is an easier way to tell FET that I want activity A-1hour + activity B-2hours put in the same day, with at least one gap in between. Is there?

Thanks again for your answer!

y

Regarding my last question:

> I simply wonder if there is an easier way to tell FET that I want
> activity A-1hour + activity B-2hours put in the same day, with at least one gap in between. Is there?

Could I use "Add min gaps between activities", selecting activities A-1hour + B-2hours, with min gaps = 1, weight = 100%? Should that solve case (b)?

I was trying out the new version of FET and it just came to me :)

y

I tried it and it works great! Another problem solved!! :) FET is really unstoppable!