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.

Liviu Lalescu


Liviu Lalescu

Feature added in the just released new version, FET-6.20.0.

victorcapel


Liviu Lalescu

You are welcome! Thank you, too! :)

victorcapel

Dear, Liviu.

I have a question: Is it possible to add new constraint for max gaps between an ordered pair of activity tags for a teacher?

Liviu Lalescu

Dear Victor,

It is a research problem. It might be possible, but I am not sure that it can be efficiently implemented in FET. We could try for the beginning a custom version and if I like the implementation and the efficiency I might add it into the official FET.

Did you see the new announced snapshot FET-6.21.0-snap, which adds a real view for the timetables in the Mornings-Afternoons mode? I intend to release the official FET-6.21.0 tomorrow afternoon.

victorcapel

Dear, Liviu.

I imagine it could reduce performance, and it could also be a constraint for the max gaps between ordered buildings. I don't know if this could be better.

Yes, a real view for the timetables in the Mornings-Afternoons mode will help me a lot!

Liviu Lalescu

Dear Victor,

Quote from: victorcapel on June 04, 2024, 02:51:27 PMDear, Liviu.

I imagine it could reduce performance, and it could also be a constraint for the max gaps between ordered buildings. I don't know if this could be better.

Max gaps between building changes is very complicated/impossible.

For tags, it might work, but it is a research problem. It is a kind of difference between max hours daily and min hours daily; min is more difficult to implement in FET and less efficient regarding speed, but it works. Also, it is like the difference between max hours continuously and min hours continuously; max is easy and done, min is difficult and not done (might be impossible/not feasible).

QuoteYes, a real view for the timetables in the Mornings-Afternoons mode will help me a lot!

I am glad! :)

victorcapel


Liviu Lalescu

#84
I will think of your suggestion, max gaps between an ordered pair of activity tags for a teacher. If I will have free time and the courage, I might give it a try as a custom version, if you really need it. But I don't promise.

Until then, I'll add it in the TODO.

Please tell me: in the Mornings-Afternoons mode, and for a day, for a real day, and between morning and afternoon, like the "min" constraint?

victorcapel

It is ok!

I just need for a day the constraint max gaps between an ordered pair of activity tags for a teacher.

Liviu Lalescu

#86
So for the Mornings-Afternoons mode, for a FET (half) day?

Also, can on a single day be a single tag present, or there must be both tags present?

victorcapel

That is it!

Could have both or just one, if have both tags it needs to have a max in a half day.

Liviu Lalescu

OK, I will write this in the TODO file. Hmm... difficult... :)

victorcapel

Hi Liviu, I have a question. Is there any constraint I can use to prevent the overlapping of free windows.

Context: For each subject, I have a group of teachers, and I would like their free periods not to overlap. This way, I always have at least one teacher available in case of an emergency.