FET Forum

FET Development => Custom FET for Particular Needs => Topic started by: plaldw on March 23, 2014, 11:12:22 AM

Title: Space constraints problem
Post by: plaldw on March 23, 2014, 11:12:22 AM
my school has two campus, a teacher may teaching in campus A in am (hour 1.2.3.4), and teaching in campus B in pm (hour 5.6.7.8), but can not change campus in am or pm.
FET has constraint "Min gaps between building changes for a teacher", but there's no gap in hour 4 and 5. which constraint is applicable  to this ? thanks!
Title: Re: Space constraints problem
Post by: Liviu Lalescu on March 23, 2014, 11:21:54 AM
To use official FET, I think you could double the number of days and consider each day to have 4 hours. The first FET day is Monday 1-4, the second FET day is Monday 5-8, the third FET day is Tuesday 1-4, and so on.

The only ugly thing might be the final aspect of the timetables, with a double number of days and half the length of the days.
Title: Re: Space constraints problem
Post by: Volker Dirr on March 23, 2014, 01:03:08 PM
Or an other workaround:

currently there are hours 1, 2, 3, 4, 5, 6, 7 and 8

now add add a new pseudo hours. 1, 2, 3, 4, p1, p2, p3, p4, 5, 6 ,7 , 8
and add constraint min gaps between building changes = 4.
Title: Re: Space constraints problem
Post by: plaldw on March 23, 2014, 02:00:06 PM
"add a new pseudo hours" is a good idea, but i think a new type of  constraint "building not change in a duration" is necessary.
Title: Re: Space constraints problem
Post by: Liviu Lalescu on March 23, 2014, 02:46:12 PM
I added this in the TODO:

Max building changes in a time interval.

But I won't make this soon, I think. Thank you for your suggestion!
Title: Re: Space constraints problem
Post by: Zsolt Udvari on March 23, 2014, 05:21:06 PM
If can know which activities are in campusA and campusB I think you should add a time constraint.

Eg. if activity1,2,3 and 4 are in campusA and 5,6,7,8 in campusB should add "An activity has a preferred starting time" and set to hour 1,2,3,4 and activity5,6,7,8 set to hour5,6,7.