A room's not available times

Started by Devrim Altınkurt, July 21, 2024, 01:17:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devrim Altınkurt

Hi,
I would like to report an error regarding the time period when classrooms are not available.
I added the sample file.

  • First I created a new file.
  • I added an activity (act1, duration:6, no teacher, no students).
  • I added a class (room1).
  • I added the "An activity has a preferred room" rule. (act1 -> room1)
  • I added the "A room's not available time" rule. I turned off all hours and turned on only 5 hours.
  • When I click "Generate" button, the program goes into an infinite loop because there is no control.

I hope I could explain :)
Kind regards.




Liviu Lalescu

Hello,

I am sorry, but I do not understand the problem. Do you mean FET should warn that it is impossible and not begin the generation? It is too complicated to take care of all situations, unfortunately.

Devrim Altınkurt

Quote from: Liviu Lalescu on July 21, 2024, 03:09:56 AMHello,

I am sorry, but I do not understand the problem. Do you mean FET should warn that it is impossible and not begin the generation? It is too complicated to take care of all situations, unfortunately.


You are doing this control for teachers and studentsets.

Liviu Lalescu

#3
Indeed, but each activity has an exact assigned teacher and students set (or none, or more), and also teacher/students set not available is only with 100% weight percentage.

But each activity may have zero, one or more related space constraints with variable weight percentage, and also room not available can have any weight percentage.

So in general many cases may appear.

I will add your suggestion in the TODO.