When an activity has 2 teachers can FET only consider one not available times?

Started by infoo_, December 15, 2023, 11:11:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

infoo_

Hello

Suppose we have an activity with 2 teachers, A and B.

Normally FET would try to place the activity on the intersection of teachers not available times, so both constraints are satisfied.

However, since B is substitute of A, A is not teaching at school (in some cases he is at school but teaching other subjects). So instead of taking into account both constraints, is there a way to tell FET to only consider teacher B not available times instead of A & B only applied to that activity?

I know I could create a new teacher like: Teacher A (Substitute Teacher B) and create a new constraint, but I would like to know if there is an easier way.

Maybe using tags? Another constraint?

Thanks!!

infoo_

Let me explain:

Subjects referred to this topic are taught by just one teacher. There are some cases where a subject is taught by two teachers but this case is good.

Teacher A teachs subjects 1 and 2. He is currently not teaching subject 3 but he might teach it again later.

Teacher B teachs subjects 3 and 4.

Both have not available time constraint activated.

In this scenario, Teacher B is called substitute of Teacher A on subject 3. This can mean two things:

Case 1. Subject 3 is taught respecting not available time of Teacher A.

Case 2. Subject 3 is taught respecting not available time of Teacher B.

I would like to know how both situations can be modeled in FET and if it is very complicated to maintain in the future.

Liviu Lalescu

I am sorry, but I don't understand the problem. Maybe the best is to create an additional teacher.