One activity Tag should follow other

Started by M K Lohumi, August 12, 2013, 11:46:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

M K Lohumi

Hi All,

I have a situation in my timetable. I have two activity tags "L" and "T" and a teacher is involved in 4 activities having activity tag as "L" and 2 activities having activity tag as "T" in a week. For every teacher if there is two activities in a day having different activity tags, i require that the activity having "T" as activity tag should come after the activity having "L" as activity tag. (separation may be of any no. of hours) (Simply "T" should follow "L" if it fall on the same day & for same teacher). I require it almost for all teachers.

Note: activity tag "L" is associated with a group and "T" is associated with one of the two subgroups.

I tried "two activities are consecutive/ordered etc.. but no success" because i don't know in advance that which activity will fall on same day.

Thanks

Lohumi

Bobby Wise

Hello MKL,

I'm affraid I cannot help you and Liviu and Volker will be on leave without connectivity for a while. Perhaps there are other users who can assist you. If not I hope you can wait until Liviu or Volker are back online.

Regards
Bobby

Bobby Wise

Sorry MKL,

It seems Volker is online perhaps he will be able to assist you.

Bobby

Liviu Lalescu

Also me, I am back, but I don't have an answer using official FET. I think this can be done as a custom FET version, introducing this new constraint.

Volker Dirr

maybe there is an other/better way to solve your problem, but i need some more information:
explain why you need this.
are there activities without L and T at all?
i guess L and T are short cuts. what are ideas/words/phrases for L and T.
is it allowed that only activities with L are at one day?
is it allowed that only activities with T are at one day?

M K Lohumi

#5
Dear Volker,

Thanks  for replying.

"L" stand for "lecture" and "T" for tutorial. My class/group is divided into two parts/subgroups.
Whole class/group attends lectures and tutorials are assigned to subgroups.

I explain the situation with the help of one example.

Let there is a group "A" which is divided into 2 subgroups namely A1 and A2.
Group "A" has 4 lectures per week (week day = 5 and one lecture per day using minimum days between activities) and A1 and A2 has one tutorial each. In tutorials, a teacher solves numerical problems and discussion takes place on individual basis. It is better to have tutorial after lectures if they fall on same day specially if they are consecutive (All teaches always prefer this).

Thanks and Regards

Manoj Kr. Lohumi

Volker Dirr

ah. ok.

if you want to order them, you must use the order constraint to each pair of activity combination.
So if you have only class has 4 hours "T" (i will call it T1, T2, T3 and T4) and the groups have 1 hour "L" (L-group1 and L-group2).
So you need the order constraint several times:
T1 and T2
T2 and T3
T3 and T4
T4 and L-group1
T4 and L-group2

But in my opinion that is to much work and i recommend to don't do it. (Also because it complicate the timetable and it will be more difficult to generate a solution)
think about this:
1. You have this problem only in the first week. After this there will be always 4 T followed by one L (of course maybe over 2 weeks, but nevertheless it is ordered this way.)
2. What's about the order if a teacher is ill and the L is cancelled? The order become a mess.
3. What's about the order if a students is ill and he miss the L? His order become a mess.
4. What's about high days (statutory holidays) and holidays? The order become a mess.


if you want to do it, maybe think about easier ways to enter this (easier to enter for a human, but don't forget maybe difficult to solve the table)
Rules like: L always on friday.
or: L always in the last period.
Don't forget this rule might be impossible. so check carefully. (depends on your activity planning)