Problem with Virtual Rooms

Started by math, November 02, 2026, 02:19:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

math

Hi!

I have a problem with using virtual rooms and it seems as if I can't see the forest for the trees. I defined a virtual room "V120" that consists of 12 sets, each set holding 3-4 rooms (i.e. each set is a combination of rooms which in summary have a capacity of 120+; each set has a different combination of rooms). I assign rooms to activities based on tags, so I have a "Capacity 120" tag and a constraint Space -> Tags -> An Activity Tag has a Preferred Room" where I defined "V120" to be assigned for tag "Capacity 120".

When I now start generating a new timetable, FET is stuck in the middle of the generation process, never managing to place all activities - even though there are barely no other constraints defined. And if I click on "Without stopping the generation - view difficult activities", FET shows an empty list:
QuotePlease check the constraints related to the last activities in the list below, which might be difficult to schedule:

Here are the placed activities which led to a difficulty, in order, from the first one to the last one (the last one FET failed to schedule and the last ones are probably difficult):

The problem persists even if I deactivate all activities with tag "Capacity 120" except of one.

Surprisingly, if I create a second virtual room "V120min" as a copy of "V120", removing 10 of the 12 sets of rooms, then defining this new virtual room "V120min" to be assigned for tag "Capacity 120", it manages to generate the schedule. But the generated schedule doesn't seem to be correct, because there are only two rooms (A and B) assigned to this activity, even though the first set of "V120min" has three rooms (A,C and D) and the second set has four (B, C, D and E).

Did I forget how to use virtual rooms?

Best, Matthias

Liviu Lalescu

Hello, Matthias, nice to see you again!

I also forgot virtual rooms a bit.

I think V120 must have capacity 120.

Maybe you could give me your fet file, or maybe we could have a remote desktop connection on your computer and check.

Liviu.

math

Hi Liviu!

As usually, the error was on my side. I totally forgot how to use virtual rooms. My approach was defining a virtual room with two sets. I thought that FET would try to assign either all rooms of set 1 or all rooms of set 2.

However, defining virtual rooms in FET works differently. When defining a virtual room, FET tries to assign one of the rooms of set 1 and one of the rooms of set 2. This is why scheduling with "V120" fails, because I defined 12 sets of rooms (each set is a combination of rooms which has a total capacity of 120+). Thus, at schedule generation time FET tried to assign one room for each set (i.e. 12 rooms in total), which exceeded the amount of rooms available.

I think it would be more intuitive if sets of virtual rooms would be modeled differently in FET, but there's no point in putting effort in this. Thanks for having implemented such a powerful feature.

However, there's one odd thing: why did FET output an empty list of difficult activities during generation? Shouldn't the 120P-activity be listed as difficult?

Best, Matthias

Liviu Lalescu

Hello again, Matthias!

I attach a small example with your bug. If you want the current impossible activities, FET will show nothing, because no activity was placed. If you stop and see current/highest stage, FET will report the activity. It is a feature, not a bug.