FET Forum

FET Support (English) => General Stuff => Topic started by: sudharshan on January 20, 2016, 05:42:26 AM

Title: avoiding consecutive activities
Post by: sudharshan on January 20, 2016, 05:42:26 AM
please let us know how to avoid consecutive activities for all teachers
Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 20, 2016, 06:21:42 AM
Maybe min 1 gaps between activities of each teacher?

I think Volker's answer below is what you meant.
Title: Re: avoiding consecutive activities
Post by: Volker Dirr on January 20, 2016, 08:03:12 PM
Maybe you talk about single activities (a set of activities): In that way increase the min n day weight up to 100% (it is 95% by default).
Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 20, 2016, 08:56:30 PM
Yes, I think I got the initial question wrong. I think Volker's answer is what you mean. When adding a split activity, raise the weight of min days between activities constraint to 100%. And increase the weight of all the already inputted activities' constraints from the min days between activities constraints dialog (you can do that with a single click).
Title: Re: avoiding consecutive activities
Post by: sudharshan on January 21, 2016, 06:06:25 AM
we did the same thing what you are suggesting and it has not generated the time table even after 1 hour :'(
Title: Re: avoiding consecutive activities
Post by: Volker Dirr on January 21, 2016, 03:52:30 PM
maybe because you set an impossible constraint?!
maybe attach your dataset (fet file) here or you can sent me your fet file. i will check it then.
Title: Re: avoiding consecutive activities
Post by: sudharshan on January 22, 2016, 09:17:05 AM
Dear sir

the data file of our REVA university, Bangalore, India is  attached.
our main constraint is not to have consecutive activities for teachers
Please do the needful.
Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 22, 2016, 09:44:35 AM
Maybe my answer above was after all correct and you need to add constraints min gaps (hours) between activities. Take care, you have a possibly wrong constraint with consecutive if same day = true, for activities 550-554.

Maybe Volker will understand better your problem.

PS: For teachers like TVR you have serious optimization problems, since you added a min days constraint for an activity split into 5 which can be placed only in 3 days. You need to add two constraints min days between activities in this case.
Title: Re: avoiding consecutive activities
Post by: sudharshan on January 22, 2016, 10:48:39 AM
what ever the constraints we have given are unavoidable constraints
because 
1.Teacher TVR is a visiting faculty available only from monday to Wednesday.
2.The students set year 8A, 8B, 8C, 8D are available only on Monday to wednesday.
3. The students set year 4VLSI_VTU, 4 SP_VTU, 4DCN_VTU are available only on monday and tuesday.

_Please give solution

Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 22, 2016, 10:59:17 AM
Add two split activities instead of a single one for id-s 31-35. The first is divided into 3 per week and the second into 2 per week. The weight will be probably 100% for each.
Title: Re: avoiding consecutive activities
Post by: Volker Dirr on January 22, 2016, 01:28:28 PM
Yes, there are many activities with total duration 5. All are splitted into single hours (1+1+1+1+1) even that is impossible to them. I recommend to split them into less subactivities.
So split them into 2+2+1 if the students are only allowed to have 3 working days. (or even into 3+2, but be carefull with the break; i think it is better if you split them only into 2+2+1 with 100%.)
Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 22, 2016, 01:32:45 PM
No, Volker, he does not want them consecutive. He needs to split 1+1+1 and another one 1+1.
Title: Re: avoiding consecutive activities
Post by: Nataraj on January 22, 2016, 04:08:18 PM
The requirement here is

Each subject is of  5 hours/week and each Laboratory component of 3 hrs.
Each Teacher is allotted with 2 subjects and  lab component (minimum 1 and maximum 3 Lab component)

For the above condition is it advisable to split the activities as 1+1+1 and 1+1 separately for a subject of 5 hrs/week
Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 22, 2016, 04:13:51 PM
Quote from: Nataraj on January 22, 2016, 04:08:18 PM
For the above condition is it advisable to split the activities as 1+1+1 and 1+1 separately for a subject of 5 hrs/week

Say 1',1'',1''' and 1iv and 1v

Then if 1'' is in the same day with say 1v and you don't want them consecutive add constraint min 1 gaps between activities 1'..1v.
Title: Re: avoiding consecutive activities
Post by: Nataraj on January 23, 2016, 01:01:38 AM
wat you are specifying is for same subject, but teacher will have subject in other year also, what we want is teacher should not have consecutive activities in his individual time table.
Title: Re: avoiding consecutive activities
Post by: Liviu Lalescu on January 23, 2016, 06:18:59 AM
Add a constraint min gaps between activities for each teacher. When adding a constraint, select filter teacher and add all his activities.
Title: Re: avoiding consecutive activities
Post by: sudharshan on January 23, 2016, 08:37:45 AM
thank u we are doing it we will get back to u