Main Menu

count_pseudo activities?

Started by Benahmed Abdelkrim, April 22, 2017, 09:44:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

Just an idea:  to give the user the possibility to make a choice if he wants to count pseudo-activities in the total number of teachers' activities, or not. I think this functionality if it adds, allows to bypass some constraints like: max hours daily for a teacher(all teachers).
B.A/krim

Volker Dirr

I tryied to care about that in the activity planning already (see lower table with the teacher activities). But it is difficult, since i care only about activities with an without students. But that isn't perfekt. To be perfect each activity need a boolean flag "pseudo".

Volker Dirr

I am not sure if it is needed for the constraints. i don't think so. more in the opposite, i use those pseudo activities to increase hours and avoid gaps, so they must be counted. i fear a bit that a new flag will slow down too much.

Benahmed Abdelkrim

#3
   My idea is to allow to count only the real activities without taking into account the pseudo activities, I think it very useful for constraints in several situations, of which here is one:

For example, that a teacher has 18 real activities and 2 pseudo activities. FET counts 20 activities it considers these 2 pseudo activities as real.

This teacher works 6 half day(3 real days); 3 mornings and 3 afternoons, each morning has a duration of 4 hours, and each afternoon has a duration of 3 hours. But we want this teacher to work up to 6 hours max every day. It is clear that this is impossible because the max number of hoursfor this teacher is less than the number of hours worked per week!(6H*3<18H+2H=20H!).

But can avoid this situation if the choice to allow the user to ignore the pseudo-activities into account in the total number of hours is activated.   

Have 6 reel hours + 1 hour (pseudo activity) per day is better than to have 7 possible real. hours per day
B.A/krim

Volker Dirr

ah. ok. Currently you can workaround that by tag all normal activities and use max activities per day with a tag constraint.

Benahmed Abdelkrim

But this constraint is not perfect and I fear that it reduces speed of production!
B.A/krim

Liviu Lalescu

Quote from: Benahmed Abdelkrim on April 22, 2017, 01:47:15 PM
But this constraint is not perfect and I fear that it reduces speed of production!

Do not worry! It is implemented OK.

Benahmed Abdelkrim

B.A/krim