same teacher, diffferent subjects

Started by AZ, September 07, 2012, 11:32:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AZ

hi everybody
i'm using FET for the first time this year and, after some days of work  - helped by Liviu  :) -, I finally had a plausible timetable;
I showed it to my collegues and one teacher (and only one) among the group of Language+Literature+History asked me not to have gaps between two lessons in the same student set in the same day; in fact, the timetable says:

class 2F (SATURDAY): Literature (teacher A) - Tech Drafting (teacher B) - History (teacher A) ...

which kind of constraint should I use for that teacher?
thanks,
Antonio

Liviu Lalescu

#1
Add a constraint min days between the activities for that teacher on that students set, weight 0%, consecutive if same day = true. (be careful so that it is still possible - FET cannot put more than 2 activities in the same day from this set of activities, under this constraint).

AZ

hi
I did this way (don't know if it's OK)

click on Activities - Min days between a set of activities
click on Add
select       Teacher A        from the drop down menu
select student set    k      from the drop down menu
select    all    activities of    Teacher A     in student set     k
set Min days = 1
set consecutive = TRUE
set weight = 0% (don't understand why not 100%)

Liviu Lalescu

It is probably good. I said 0% because you don't care if Literature is in the same day with History; also 100% might be impossible (if the constraint is impossible to respect, the best is to make it 0%).

For Literature, respectively History, each in part, there is another min days constraint, from when you added the activities. But you can change that, as you want.


mbarsan

What if the number of subactivitis of teacher A is higher than two times the number of his weekly working days? Doeas this trick still work?

Liviu Lalescu

#6
Quote from: mbarsan on September 08, 2012, 09:00:06 PM
What if the number of subactivitis of teacher A is higher than two times the number of his weekly working days? Doeas this trick still work?

The trick does not work, as FET will not put three activities from the constraint in the same day, consecutively. The solution is to add to the constraint only 2*n_days activities, then put the other consecutive to these by constraint two activities grouped or similar, or better to increase the duration of the activities in the constraint and remove the others.

mbarsan