Parameter to suppress gaps

Started by victorcapel, May 24, 2023, 10:37:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

victorcapel

Hello, everyone.

It is possible to set a parameter to suppress gaps count between periods?
I mean, if both the last morning class and the first afternoon class are vacant, fet will count them as a double gap.
Meanwhile, my country's (Brazil) labor laws doesn't count them as "payable" gaps.
That said, when I set a weekly maximum gaps as, say, 7 gaps, fet will erroneously (for my case) count them, leaving less room to accommodate the activities on the other open windows.
There comes a picture to illustrate my case.
Any recommendation to fix this?


My best wishes,
Victor

Liviu Lalescu

Hello, Victor,

I am not sure I understand correctly. Would you like to consider on such a day as having zero gaps? Maybe there are two solutions:

1) Use the Mornings-Afternoons mode. Please read the help for it.

or

2) A customization.

victorcapel

Hello, Liviu.

I would like to use a constraint to define the maximum number of gaps per morning and the maximum number of gaps per afternoon, without considering empty windows between morning and afternoon, such as the red painted windows in the image.

Liviu Lalescu

#3
Hello, Victor,

I think you could use the Mornings-Afternoons mode. Please see its Help. You have in this mode many kinds of gaps constraints for teachers and not so many kinds of gaps constraints for students.

The idea is that you double the real number of days per week into 2*n FET half-days, and add max gaps per day/week constraints. In addition you have also teachers max 0 gaps per afternoon, max gaps which consider real days, and max gaps per morning+afternoon, and for students max gaps which consider real days.

victorcapel

Hello, Liviu.

That can be really helpful.

My best wishes,
Victor

Liviu Lalescu

Great! Let us know if you succeed.

victorcapel

Hello, Liviu.

In my case, I have restrictions on tag exchanges between periods. If I use the first option, creating separate days for morning and afternoon, would it still be possible to create these gaps? Because I believe this restriction only works within the same day.

Liviu Lalescu

Hi, Victor,

Do you mean constraint teachers/students min gaps between ordered pair of activity tags or between activity tag? You are unfortunately right, in this case.

A customization to modify these constraints might be possible.

victorcapel

Hello, Liviu.

That's right, here we have 4 buildings, and each teacher can move between them during the day, but they need a gap to have enough time to reach the other build.

Liviu Lalescu

Are you sure these new constraints are important? And that there are not needed other constraints?

I thought about it and it might be a good idea to add some new constraints in the official FET.

Why do you use tags constraints and not buildings constraints? I could add the constraints teachers/students min gaps between building changes per real day.

But if you want constraints for tags, I could also add the constraints teachers/students min gaps between ordered pair of activity tags.

Please let me know your opinion.

I would also like to have your file to check the new constraints, if I implement them.

victorcapel

Hello, Liviu.

In the current scenario, each building has classes for both the school and the course, and the initial class schedules have a 15 minutes difference between them. Therefore, for a teacher to go from the school to the course, even if they are in the same building, it is necessary to add a gap. That's why I use the gap by tags.

Yes, I can send you the file. Would email be the best way to do it?



Liviu Lalescu

Hello, Victor,

Please send the file in any way you prefer. Email is fine.

I could add the constraints teachers/students min gaps between building changes per real day in the official FET. But you say that these are not useful, because you already use buildings for other constraints?

Then, I thought about it, it is not very nice to add tags constraints in the official FET - it would be a bit weird.

So, I think I will make a customization just for you, so that the min gaps tags constraint is modified.

I am having a bit of hard time understanding exactly your words - what is school and course?

victorcapel

Hello, Liviu.

If I divide the days into two periods, morning and afternoon, would it be possible to direct the gap between tags to the chosen days? Because when it's different days, for example, Monday and Tuesday, these gaps don't need to be respected.

The institution offers classes for elementary and high school, which are referred to as "school", and classes for students who have already graduated from high school and are taking exams to enter college, referred to as "course".

Liviu Lalescu

#13
Hello, Victor,

Do you mean between Monday morning and Monday afternoon you need to have at least one gap between the tags, but between Monday afternoon and Tuesday morning there is no need for the gap between tags? So, in FET Mornings-Afternoons mode, between the first half-day and second half-day yes and between the second half-day and third half-day no?

I think as a customization we can add what you need. Please send me your file attached here if it is not private or by email if it is private, so I can make an impression on it. Then, if the above paragraph is true I'll try it and let you know. You can find my email address on my homepage or on the FET page contacts section.

I prefer a customization for now, but if it is good we can add it also to the official FET.

victorcapel

Hello, Liviu.

That's correct, a gap between tags is required between morning and afternoon of the same day, and it's not necessary between different days.

I have sent the FET file to your email.

Also, I was thinking, in case this possibility doesn't work well, would it be possible to create a tag to assign the maximum number of gaps within a single building by defining an interval of hours?