FET Forum

FET Development => Suggestions => Topic started by: Benahmed Abdelkrim on May 18, 2022, 05:43:17 AM

Title: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 05:43:17 AM
Hello!
Is it possible to make the current algorithm so that 3 activities are not scheduled on the same day if consecutive is not selected?
we know that the current algorithm can not schedule 3 activities in the same day if consecutive is selected but otherwise no?
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 08:30:46 AM
Unfortunately, it looks too difficult. My treatment of the constraint comes naturally.

But please let me ask: do you really need this?
Title: Re: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 08:55:32 AM
For now I use the constraint with the max=2 activity tag for all students. but I think that the best would be a modification at the level of the algorithm, if that of course does not have a significant effect on the production time. what do you think?
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 09:03:34 AM
Could you please send me your file (by email if private), so that I can have a look?

I'll add it in the TODO for now, and think of it. It would not slow down the algorithm, but it is a bit complicated and risky.

Added: Also, let's not forget about users adding activities: 2+1+1+1. So they would still need this activity tag max hours daily.
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 10:22:15 AM
OK, I thought about it. I think I will make it for this new version, FET-6.4.0. Please stand by for a bit of testing and translation into Arabic, because I would like to release the new version later today.
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 12:06:47 PM
Please let me know as soon as possible: not allow more than 2 activities on the same real day, or on the same half day? I think real, but I need your confirmation.
Title: Re: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 01:15:19 PM
Sorry for the delay I was out
yes absolutely it is for a real day
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 01:17:23 PM
OK, thank you!

I am nearly ready, I just need a bit of testing, compile for Windows, and put a new snapshot. Please stand by to translate (4 new fields modified from the old ones) and test a bit.
Title: Re: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 01:27:16 PM
Well yes, of course
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 02:31:40 PM
I just added it, seems to work (two old locked files I have are not longer solvable, but I unlocked them and generated OK).

https://lalescu.ro/liviu/fet/download/test/

Please help me soon with translating and testing. I would like to release tonight or tomorrow afternoon.
Title: Re: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 02:37:06 PM
QuoteAdded: Also, let's not forget about users adding activities: 2+1+1+1. So they would still need this activity tag max hours daily.

Yes you are right, this is always necessary for the cases of users who add sub-activities > 1h. But I believe that these cases are minimal and do not constitute a very large number, otherwise activity tags(Max=2) would be useful..
Title: Re: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 03:19:05 PM
Quote from: Liviu Lalescu on May 18, 2022, 02:31:40 PMI just added it, seems to work (two old locked files I have are not longer solvable, but I unlocked them and generated OK).

https://lalescu.ro/liviu/fet/download/test/

Please help me soon with translating and testing. I would like to release tonight or tomorrow afternoon.


Of course I will.. Thank you.
Title: Re: about 3 activities on the same day
Post by: Liviu Lalescu on May 18, 2022, 10:17:37 PM
I released FET-6.4.0. Thank you!
Title: Re: about 3 activities on the same day
Post by: Benahmed Abdelkrim on May 18, 2022, 10:24:34 PM
 :)  :)  :)