A lesson must go after the other two lessons

Started by sasbland, November 07, 2024, 08:34:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sasbland

Hi,

First of all, thanks for such a great software. I couldn't find what constraint is best for this scenario.

A subject has 5 hrs per week and split as 2+2+1. We want the 1 hr to be after the other 2 hr ones (but not on the same day) as we use it for revision of the week. At the moment, we have to find the time and move this manually after the timetable is created, which isn't always possible.

Many thanks

Liviu Lalescu

Hello,

Thank you for the appreciation!

Either two constraints two activities are ordered or one constraints two sets of activities are ordered.

sasbland

Thank you. If I have these as activitiy 1 (2 hrs), activity 2 (2 hrs) and activity 3 (1 hr). Do I put constraints as

2 activities are ordered, select activity 1&3

2 activities are ordered, select activity 2&3

Is it the same selection with 2 sets of activities are ordered?

Thanks

Liviu Lalescu

Exactly. Either (1,3) and (2,3), or ((1&2),(3)).


sasbland

Hi, I have a similar question but can't work out how 2 activities are ordered work. I have 1 subject of 4 hrs but taught by 2 teachers (2 hrs each). So I have

Act 1 - 1 hr - teacher A
Act 2 - 1 hr - teacher A
Act 3 - 1 hr - teacher B
Act 4 - 1 hr - teacher B

I'd like it such that the teacher A teaches both hrs first, then teacher B, all on different days. Or teacher B teaches his both hrs first, then followed by teacher A. This is so that it doesn't constrain too much who is teaching first.

Will a set of activities are ordered work in this case? Thank you

Liviu Lalescu

Hello,

Unfortunately, two sets of activities ordered require you to choose who is first.

Also, it is not feasible to add a new constraint, because it is not a linear decision. It is like the much requested "activity begins OR ends students day", for which I developed a custom version, but which I don't like - it is not efficient.

If I place say 1 on Monday and 2 on Wednesday, and want to place 3 on Tuesday, I cannot decide correctly which one to replace, 1 or 2 (FET algorithm).

sasbland

Thank you. I will try manually after the timetable is created.