Different days and different time slots

Started by Imad, October 01, 2022, 04:55:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Imad

My college has different days and different time slots as follows:
Monday, Wednesday, and Friday: by 50 minutes classes
Tuesday and Thursday: by 75 minutes classes
So, any subject should be either in the first group of days (Monday, Wednesday, Friday- with 50 minutes class three times a week) or in the second group (Tuesday, Thursday - with 75 minutes class two times a week) but not in both.
How to make it?

Volker Dirr

Different variants.

Variants a) (recommend if you might still mix it later)
Set one FET hour = 25 real minutes.
So 50 minutes activities will get duration 2 (2*25 minutes).
75 minutes activities will fet duration 3 (3*25 minute).

Variant b) (recommended if you don't want to mix the activities at different days and visial view doesn't matter; but generating will be fast)
Add 2 activity tags. Maybe call them "50" and "75".
Add one activity tag to each  activity.
Add activity tag preffered time slots to that 2 activity tags.

Liviu Lalescu

Indeed, Volker suggested to consider a FET hour = 25 real minutes. But I think this is not enough. Imad needs FET to choose the days for each group of activities (which he calls a subject).

Imad, I thought about it and I came to the conclusion that probably official FET cannot do this. It seems possible as a customization, but probably not easy. Unfortunately, I cannot offer such customization as a free service.

I will welcome others' suggestions, maybe I am wrong and it is possible with the official FET, or others can derive a custom version.

Liviu Lalescu

#3
I thought some more, maybe this would work in the official FET, but it involves a lot of tedious work:

Say activity A (subject S, teachers T, students St). Add it as A(2+2+1+1), min 1 days 100% between 2 and 2, min 1 days between the first 2 and each 1, 0%, consecutive if same day = true, min 1 days between the second 2 and each 1, 0%, consecutive if same day = true, min 1 days between 1 and 1, 0%, consecutive if same day = true (I hope I am not mistaking).

Then add 3 constraints of type activities occupy max time slots from selection, first goes: activities: 2+2+1+1 (4 of them), select all slots of Monday, max occupied = 2, second goes for Wednesday and third goes for Friday.

Hmm... you need to care about the starting times on each day. It might work with some constraints activities preferred starting times, and maybe you need to force the order of the activities over the week for that.

It might not be as efficient as a customization, but it might work.

Volker Dirr

I guess (but i might be wrong) he already knew which activities should have 50 minutes and which one should habe 75 minutes. So FET don't need to select that. So only starting time constraints are needed.

Imad

Quote from: Volker Dirr on October 01, 2022, 09:29:23 PMI guess (but i might be wrong) he already knew which activities should have 50 minutes and which one should habe 75 minutes. So FET don't need to select that. So only starting time constraints are needed.

Thank you
This is exactly what I did.

Imad

Quote from: Liviu Lalescu on October 01, 2022, 05:36:15 PMIndeed, Volker suggested to consider a FET hour = 25 real minutes. But I think this is not enough. Imad needs FET to choose the days for each group of activities (which he calls a subject).

Imad, I thought about it and I came to the conclusion that probably official FET cannot do this. It seems possible as a customization, but probably not easy. Unfortunately, I cannot offer such customization as a free service.

I will welcome others' suggestions, maybe I am wrong and it is possible with the official FET, or others can derive a custom version.

Thank you for trying to help
Kind regards

Liviu Lalescu

I am glad it is solved in the easy way. You are welcome!