FET Forum

FET Development => Suggestions => Topic started by: henriquebelo on July 17, 2020, 10:38:54 AM

Title: New Suggestion, Differents breaks for different classes
Post by: henriquebelo on July 17, 2020, 10:38:54 AM
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
Title: Re: New Suggestion, Differents breaks for different classes
Post by: Liviu Lalescu on July 17, 2020, 02:35:44 PM
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.
Title: Re: New Suggestion, Differents breaks for different classes
Post by: henriquebelo on July 17, 2020, 02:51:33 PM
Hi Liviu,

Great, for this kind of situation will be great.

Then give me news.

Thank you

Regards
Title: Re: New Suggestion, Differents breaks for different classes
Post by: Liviu Lalescu on July 17, 2020, 02:56:25 PM
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?
Title: Re: New Suggestion, Differents breaks for different classes
Post by: henriquebelo on July 17, 2020, 03:14:08 PM
Hi,

Sent by email.

I don't add teacher yet.

Regards.

Henrique
Title: Re: New Suggestion, Differents breaks for different classes
Post by: Liviu Lalescu on July 17, 2020, 03:41:26 PM
Hello,

Email received. I will let you know.
Title: Re: New Suggestion, Differents breaks for different classes
Post by: Liviu Lalescu on July 17, 2020, 04:50:35 PM
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.
Title: Re: New Suggestion, Differents breaks for different classes
Post by: Liviu Lalescu on July 17, 2020, 05:22:05 PM
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."
Title: Re: New Suggestion, Differents breaks for different classes
Post by: henriquebelo on July 17, 2020, 10:09:55 PM
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
Title: Re: New Suggestion, Differents breaks for different classes
Post by: Liviu Lalescu on July 18, 2020, 09:49:29 AM
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.