about 3 activities on the same day

Started by Benahmed Abdelkrim, May 18, 2022, 05:43:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

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?
B.A/krim

Liviu Lalescu

#1
Unfortunately, it looks too difficult. My treatment of the constraint comes naturally.

But please let me ask: do you really need this?

Benahmed Abdelkrim

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?
B.A/krim

Liviu Lalescu

#3
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.

Liviu Lalescu

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.

Liviu Lalescu

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.

Benahmed Abdelkrim

Sorry for the delay I was out
yes absolutely it is for a real day
B.A/krim

Liviu Lalescu

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.

Benahmed Abdelkrim

B.A/krim

Liviu Lalescu

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.

Benahmed Abdelkrim

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..
B.A/krim

Benahmed Abdelkrim

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.
B.A/krim

Liviu Lalescu


Benahmed Abdelkrim

B.A/krim