Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - david.almeida

#1
Get Help / Re: Minimum hours after lunch break
August 23, 2019, 07:35:32 PM
Quote from: Liviu Lalescu on August 23, 2019, 05:41:56 PM
I made it, please get it from https://lalescu.ro/liviu/fet/download/custom/david-almeida/

Please let me know.

Note that if a students set has no early=0 and max gaps=0, it will not be constrained to have 0 or >=2 activities after "Almoço"

I advise you to be careful with this new version I made. Before you generate, make a backup of your file, so it will not crash (at least after you verified practically my code for a while).

Hi Liviu

I just arrived home and tried on my laptop.... I don't have all the data, but with the sample data that I have, I tried and it works.... ;) :D :D :D

Brilliant  ;D

Many, many thanks

Monday, when the director return from his vacations with the real data for next school year I will try and give feedback.... but it seems that will work

Again, many thanks

Cheers
#2
Get Help / Re: Minimum hours after lunch break
August 23, 2019, 05:02:06 PM
Hi friend

I think that it will not work

I have no way to know the activities after lunch and the order of each one, so if I put the same tag for all activities (except lunch), that constraint would be good because it will put one activity 1 slot after lunch, but will not put one activity just after.
After lunch, I have to have a minimum of 2 activities (with no gaps with lunch) or no activities at all.

But thanks for your idea  :)
#3
Get Help / Re: Minimum hours after lunch break
August 23, 2019, 04:02:12 PM
Yes

I only put on that classes because the others don't have enough activities yet.
#4
Get Help / Re: Minimum hours after lunch break
August 23, 2019, 03:14:36 PM
Yes, if you could I'm interest on that constraint.

Thanks  :D
#5
Get Help / Re: Minimum hours after lunch break
August 23, 2019, 02:13:56 PM
Hi Liviu

Thanks for the help.

The file that I am attaching is just a test timetable.
I returned from vacations earlier than my colleagues and my director. So, as I am on timetables commission, I already am preparing this job.
But I still have not all the data for all timetables.
The name of teachers is almost complete. The classes numbers are complete (we have sub classes on almost classes).
But who is the teacher on each activity on each class, I still don't know.

So this is just a test and incomplete timetable.

There are just 2 classes (529 from 528/529 and 35156 from 35156/35157) with enough sample activities, but you can see my problem.

Both 529 and 35156 have the constraint to start all days on first slot.
Both 529 and 35156 have the constraint to have activity "Almoço" (Lunch) at 4th or 5th slot on each day.
Both 529 and 35156 have the constraint to don't have gaps.

35156 have a nice time table.

  • On monday have all slots occupied
    On tuesday have lunch at 5th slot and have 2 more slots after lunch.
    On wednesday and thursday don't have activities after lunch.
    On friday have lunch at 4th slot and have 2 more slots after lunch.

529 is almost ok except tuesday. On these day, they have just on slot occupied after lunch. This activity should have be placed on wednesday at 8th slot or on friday at 7th slot, so one of these day have 3 slots after lunch and tuesday doesn't have JUST one slot after lunch.


Thanks
#6
Get Help / Minimum hours after lunch break
August 23, 2019, 11:35:03 AM
Hi

Thanks for this wonderful piece of software.

My school have 8 time slots in each day.
The students (and teachers) have lunch break at 4th or 5th slot. Because we don't want that all students go lunch at same time, we have these 2 slots. I create an activity "lunch" without teacher for each class and another activity "lunch" without class for each teacher.
And these almost work for me.

What does not work for me is that I want the lunch activity (for students) could not have "ONE" activity after.
Meaning:
Or the lunch activity is the LAST activity of the day (all students start the day on first slot)
Or they have TWO or MORE activities after lunch.

We don't want that students have to lunch on school to have just one slot.


I already saw the "Moroccan" example dividing the day on 2 parts. But they have lunch all together at same time and we have "half" of the school lunch at 4th slot and the other half on 5th slot. So, I can't divide the day like on that example.

Is it possible to constraint an acitvity so it does not have "(just) ONE" activity after it?

Thanks