Request for possible useful functions

Started by topposempre, September 08, 2024, 06:29:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

topposempre

Good evening, I would like to point out a series of changes that could be useful (at least for me):
- in the activities together with the option to indicate the minimum days between the activities, there below also insert the maximum days between the activities (useful when I have two hours of a subject in the 1+1 formulation to say that at least a certain amount must pass between the two hours and avoid having one on Monday and one on Saturday for example)
- insert the maximum number of teachers and/or subjects possible per day (to avoid having 5 different subjects in one day)
- in the management of the hours not available for a teacher, if I have to allow an early exit to a teacher 3 days out of 5, allow the random choice of these 3 days without punctually binding them - insert the possibility for each teacher for a late and an early entry, always chosen randomly by the system without punctually binding them.

- I add to the function hours not available for a teacher, not only to be able to select the free day, but also the possibility to tell the system to be able to choose a random free day except, for example, the one we will indicate. "Ex. Choose a free day except Saturday"

Obviously I thank the developer if he wants to take these possible improvements into consideration, but I equally thank him in the opposite case.
Best regards

Volker Dirr

Quote from: topposempre on September 08, 2024, 06:29:55 PM- insert the maximum number of teachers and/or subjects possible per day (to avoid having 5 different subjects in one day)

Depending on your data set, it might be very easy. If you have sub-activities with duration > 2 you only need to select that sub-activities and place a min day constraint with 100%.
If you have less then "number of days per week" of those sub-activities, then your request "to avoid having 5 different subjects in one day" is impossible.
For example at my current school it is impossible, since there is only art and physical education with duration = 2. At my old school it was possible since the 3 main subjects had also an sub-activity with duration = 2. But in my opinion that rule is too strict. let's say if you have subjects like art, sport, cooking, ... with duration 1 only, then it doesn't matter if there are many different subjects the same day. Most schools tag the "difficult learning" subjects and set a max tags per day constraint instead.

Liviu Lalescu

Good evening, topposempre,

Thank you for your suggestions! I will add them to the list of suggestions (TODO list). Some of them might already be solved:

1) I consider max days between activities constraints as not used too often, and I prefer to leave the user add these constraints after adding the activity(ies).

2) Maybe you could use the new just released constraint students max activity tags from a set per day. Unfortunately, you can restrict only to 1 or 2 tags, not 4, but you might be able to use it in a certain way.

3) Add two constraints teachers interval max days per week.

4) Teacher max days per week, and constrain this teacher to have activities on Saturday with a constraint activities occupy min time slots from selection.

Thank you for your suggestions! Please tell me which of your 1..4 should be added in the TODO, considering my answers above (I mean which ones do you consider unsolved yet).

topposempre

The possibility for each teacher for a late and an early entry, always chosen randomly by the system without punctually binding them, is my priority, so i pick this one.

Thank you very much

Liviu Lalescu

But you could use teacher(s) interval max days per week.

topposempre

Could you give me an example that I don't understand?
Thanks

Liviu Lalescu

Say you have hours 1..6 and days Mon..Fri. Teachers interval max days per week. 3 early exits: max days = 2, interval = [6, end of day). 1 late beginning: max days = 4, interval = [1, 2).

Unfortunately, you can have a day with both late beginning and early exit, and counts as both.

topposempre