FET Forum

FET Support (English) => Get Help => Topic started by: zakariakhelifi99 on October 13, 2022, 10:48:04 AM

Title: Programming two professors on different days
Post by: zakariakhelifi99 on October 13, 2022, 10:48:04 AM

Peace be upon you all
I have a question

Programming two professors on different days who do not meet on teaching days
Title: Re: Programming two professors on different days
Post by: Liviu Lalescu on October 13, 2022, 11:25:01 AM
Peace be upon you,

Maybe this: add a dummy teacher T, with both activities of Teacher 1 and Teacher 2 (if you had activities A1(Teacher 1, Subject 1, Students 1) and A2(Teacher 2, Subject 2, Students 2) make them A1(Teacher 1 + T, Subject 1, Students 1) and A2(Teacher 2 + T, Subject 2, Students 2)), then add activity tag AT1 to A1 and AT2 to A2, then teacher T min gaps between ordered pair of activity tags, from AT1 to AT2 and from AT2 to AT1, min gaps = max hours per day.

If you mean for the Mornings-Afternoons mode: This works only for min gaps = maximum hours per half day. If you need for the same real day, we need to think of something else.
Title: Re: Programming two professors on different days
Post by: zakariakhelifi99 on October 13, 2022, 07:45:24 PM
Merci  monsieur  LIVIU
vous  êtes  très  cher a  nous
Title: Re: Programming two professors on different days
Post by: Liviu Lalescu on October 13, 2022, 07:53:43 PM
Avec plaisir, monsieur Khelifi!

If the two teachers do not have too many activities, say T1(A1, A2, A3) and T2(A4, A5, A6, A7), you can add min 1 days between (A1, A4), (A1, A5), ..., (A3, A7) (3*4=12 constraints). This works for real days, if you use the Mornings-Afternoons mode.