Constraint to force student must end days with activity/lesson

Started by yush, January 30, 2025, 08:02:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yush

I have a timetable that has many gaps (free time) in throughout the day. I need to make sure that every student will be in a classroom at the end of each day. So, free time cannot happen at the end of the day. I can't figure out a way to do that.

Liviu Lalescu

Nice to see you again, yush! :) It's been many years now.

It is easy: activities occupy min time slots from selection. One constraint for each student, with all his activities, select with X (red) the last slot of each day, min occupied = the number of selected slots = the number of days per week.

Please let me know.

Do you like the FET progress since you were last here? :)

yush

Yes, it's good to be back. I took a break from teaching, then went to another school that doesn't need my timetabling skill. Now in a new school that could use my timetabling skill!

I don't remember exactly, but I think I last used version 5.x or something? I am so impressived that you are still actively making improvement all the time, and how lively this community of FET users are!

I have some idea of making a better GUI for it. I am thinking about making a web browser javascript based UI for it. If I get somewhere, I will let you know.

Looking forard to us FET again!

Liviu Lalescu

I saw you last posted in ~2015. 10 years - wow! :) Yes, it was FET-5 then (I don't remember more exactly).

You had some good suggestions towards FET. I remember that you suggested/report the feature of removing redundant min days between activities constraints, maybe it was also you who suggested to change the initial order of the activities, and I think you had more other important suggestions.

yush

About the activities occuppy min time slots solution. I have the student set up as follow:
Year = School yaer
Group = Each class group
Subgroup = Individual student

So, I have a lot of "groups" with overlapping subgroups.

For each activity, I assign the class group as students, not the individual subgroups.

Seems that with my setup, when I select the individual student (subgroup), no activitive is showing up. Maybe because the subgroups were not added any activities directly?

Liviu Lalescu

Yes, unfortunately! :(

Maybe you can add n_students activity tags, and add the corresponding tags to the activities, then filter by tags in the constraints activities occupy min time slots from selection dialogs.

yush

OK. I think I will remove all the class group and add subgroups(individual student) to each activity one by one.