New Suggestion, Differents breaks for different classes

Started by henriquebelo, July 17, 2020, 10:38:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

henriquebelo

Hi Liviu,
Due to Covid-19 we have to change the teaching time and make sure that the class breaks are not met.
I divided the teaching time into 4, blocks of 15 min, and a class starts at 8:45 am and another at 9:00 am, so it is possible to find the breaks, but I cannot use the Breakes constraint, because it is common for all students.

I used the constraint A Student's set not available times, for each class, where I marked the desired breakes.

This constraint does not allow me to use the other constraint that I used a lot, two activities are consecutive, so that I can have one activity before the break and another after the break.

Is it possible to create a new condition in Breakes to choose classes?

Follow the example in the attached image.

Best Regards
Henrique Belo

Liviu Lalescu

Hello, Henrique,

Yes, it should be possible as a customization, so that students not available are treated as a break for the constraints two activities consecutive.

henriquebelo

Hi Liviu,

Great, for this kind of situation will be great.

Then give me news.

Thank you

Regards

Liviu Lalescu

OK, I will try to help you with a custom version. We'll name it "henriquebelo"? Or other name?

Could you give me your input file, so I can test?

henriquebelo

Hi,

Sent by email.

I don't add teacher yet.

Regards.

Henrique

Liviu Lalescu


Liviu Lalescu

I made two versions. One, in each constraint with A1 and A2, the students must be only one set and equal to consider not available. In the second variant, it will consider all constraints students set not available for all the students of A1 and A2. Let me know which do you want and I will put that one available for you.

Liviu Lalescu

I did this: https://lalescu.ro/liviu/fet/download/custom/henriquebelo/

I chose the second variant: "it will consider all constraints students set not available for all the students of A1 and A2."

henriquebelo

Perfect is working like I need.

Please considere to implement this constraint like the image I sent in the first post, will be usefull for this covid-19 situation, we need students social distancing, so is a easy way to do this.

Many Thanks for your great work.
Best Regards
Henrique Belo

Liviu Lalescu

I am sorry, but I cannot see a good way to add this in the official FET. I will add this in the TODO for now.