Is It possible to assign 3 rooms to a single activiy?
Juanma
Juanma
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Volker Dirr on August 31, 2023, 01:09:21 PMYou data is impossible.
It is more difficult to see, since you didn't tried to split years into groups.
The problem is at least in year 4° ESO. It is clever to call the year only "4° ESO" and add 4 groups into that year. Then add a whole year to most of your activities. By the the timetable will be smaller on paper and it will be easier to see the bug.
Just add a 7th hour and set a break contraint for the 7th hour on Tuesday to Friday. Then generate the timetable. Now you will see, that the timetable can be generated and there is one activity placed on Monday 7th hour. If you try to place this activity into a free slot, then you will see that it is always already used by an other year. So it is impossible to do that.
As i said: it is easier to see and understand that bug, if you split the years more clever. It happen because you share so many activities with different years.
easy example:
activity 1: yearA, yearB
activity 2: yearA, yearC
activity 3: yearB, yearC
Now you have a timetable with 2 slots only.
As you can see yearA has only 2 activities, yearB has only 2 activities and yearC has only 2 activities.
So it should be possible to add the activities in 2 slots, don't they?
Try it, and you will see that it is impossible. You need at least 3 slots.
You done the same bug in your data set.
Quote from: Volker Dirr on July 24, 2023, 06:41:40 PMOf course there is no free slot available for activity 3.
That dataset is impossible, because:
the teacher is not available in the 4th hour each day.
So in the morning are only 3 hours available and in the afternoon are also 3 hours available;
But your activity 3 has got duration 4.
So there is no place for that activity.