Main Menu

I need help!

Started by Thai Chi Phuong, September 02, 2024, 11:02:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pekuon

Quote from: Liviu Lalescu on October 08, 2024, 10:32:34 AMI think I misunderstood.

Maybe the new constraint students max 1/2 activity tags per day from set?

It's difficult to explain this case.
Let me make it a little simpler, there are 3 teachers A, B, C, and I want in any session (morning/afternoon), there is at least 1 teacher who does not teach.
I can do the following
Create 2 rooms P1, P2 and let 3 teachers A, B, C all teach these 2 rooms, then any teacher will have a break in any session. However, I want a direct constraint (Because my current classroom constraint is overlapping)

Liviu Lalescu

Then I think activities max simultaneous in selected time slots: all activities of these 3 teachers, selected slots = all slots of the week (with X or red), max simultaneous = 2.

Thai Chi Phuong

#122
Hello, Thai Chi,

I added this in the TODO. Unfortunately, I don't know if is it possible.
Hello Liviu!
I think this is a cool feature and more importantly fet would be great to have it. Thanks Liviu!

Thai Chi Phuong

Quote from: Liviu Lalescu on October 08, 2024, 08:40:36 AMHello, Thai Chi,

I added this in the TODO. Unfortunately, I don't know if is it possible.

Hello Liviu!
I think this is a cool feature and more importantly fet would be great to have it. Thanks Liviu!

Liviu Lalescu

Hello, Thai Chi,

Unfortunately, this constraint would be difficult and complicated to add. But I will think about it.

Thai Chi Phuong

Thank you Liviu! I believe you can do it and I always look forward to it.

Thai Chi Phuong

Hello Liviu!
In recent fet releases, including test version 6.27.0, when I re-run a "locked" schedule, fet always creates a new folder containing the files in it, and I find this unnecessary (since I locked the schedule, the constraints don't change anymore). Why don't you overwrite the previous folder?

Liviu Lalescu

Hello, Thai Chi,

Starting from FET-6.26.0, suggested here: https://lalescu.ro/liviu/fet/forum/index.php?topic=6195.msg34372#msg34372 , I/we considered it is better to start a new folder (directory) for each new generation, rather than overwriting the old folder (for single generations) or asking to remove the old folder (for multiple generations).

FET cannot decide which is an unlocked and which is a locked file. It needs a similar treatment of all input files.

In the forum post in the first paragraph, we also agreed that it is easy for the user to just remove the old directories when they are too many. Another solution to avoid having too many files would be to choose from the FET settings not to output XML, conflicts, students, teachers, etc. timetables (this if you want to see the timetables from the FET interface only).

It is safer if FET will not overwrite the old files. In the past some users reported that they lost the random seed or the partial timetables and could not retrieve them.

I am opened to discussions about this.

Thai Chi Phuong

Hello Liviu!
It is a big mistake that a software like fet cannot distinguish between a "locked" file and an "unlocked" file. Is there no way for you to, for example, add a command so that before creating a schedule, fet will look for it first and if it is "locked" then "overwrite" and if it is "unlocked" then "create new" Liviu,?!

Benahmed Abdelkrim

Another suggestion that could solve this problem is to give the user a choice. A message before each new generation that allows the user to choose between 2 options: overwrite the old folder, or open another folder.

What do you think?
B.A/krim

Thai Chi Phuong

Benahmed Abdelkrim, What a great idea!

Liviu Lalescu

#131
I am sorry to disagree, Thai Chi and Benahmed, but it is always safer to create a new directory. The problem is that the user might generate overwriting by accident. The user can easily remove the directories after some time. But I will think about it, and add an entry in the TODO.

Thai Chi Phuong

Hello Liviu!
I have an idea: Can you add a constraint "2 lectures are not consecutive if it is on the same day"? Thanks Liviu!

Liviu Lalescu

Hello, Thai Chi,

Nice to have you back! :)

I think you can use a constraint min gaps between activities. Or students/teachers min gaps between activity tag/ordered pair of activity tags.

Thai Chi Phuong