SETTING MAX SESSIONS FOR TEACHERS IN THE AFTERNOON

Started by Cyrus Ireri, February 13, 2024, 09:43:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cyrus Ireri

Quote from: Liviu Lalescu on February 14, 2024, 06:06:29 PMI added. Thank you for the collaboration:

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

Also, see the Snapshots topic: https://lalescu.ro/liviu/fet/forum/index.php?topic=5840.msg32281;topicseen#msg32281

Please let me know as soon as possible if everything is OK. Please test.


Most welcomed.
The constraint is working perfectly. Timetables generated after adding it are the best i have ever seen.
Thanks so much for the effort to assist

Liviu Lalescu


Cyrus Ireri

The constraint worked perfectly. The generated timetables for teachers are the best i have ever seen or worked on.Thanks so much for the support.This is just a mile stone in making fet outstanding

Liviu Lalescu

Great! :)

I am ready to release, the only thing remaining is the new fields translations. I am waiting for an answer from my collaborators who translated completely until now (Arabic, Greek, French, and Brazilian Portuguese) (Romanian is done). I hope to release in 1-2 days, but it might take more.

Cyrus Ireri

Thats great.As for me,lemmie enjoy what you shared.Its just amazing

Liviu Lalescu

I added a new snapshot, in the same usual location, with the initialization of the adding of the constraints a bit improved, and you can now add the interval (h, h+1) (which was forbidden previously, you needed to add at least (h, h+2)).

Please test a bit: add a new constraint in your initial file and maybe generate a bit.

Cyrus Ireri


Liviu Lalescu

Hmm... this is not good!

Please send me your .fet file and, if you have, a starting random seed which produces such a crash. I will investigate in 1-2 hours, now I need to get out for a walk.

Cyrus Ireri

 I realized its as a results of conflict of constraints i.e the one you added and teachers max hours continuosly.I needed to select time range well so that they constraints don't crush

Liviu Lalescu

No. It is a bug of mine, and I thank you very much for reporting it! I fixed it and released a new snapshot, in the same usual location. Please use this from now on.

I hope to release tomorrow the final version.

Cyrus Ireri


Marinho Medeiros

Hello, how are you? First of all, I'd like to say that I really like the program and it helps me a lot! This condition that was added was exactly what I needed, but I would like to know if it's also possible to limit the day of the week. For example: Limiting the maximum hours on a Wednesday afternoon. Looking forward to your reply.

Liviu Lalescu

#27
Hello,

I am fine, thanks! Thank you for the appreciation!

You will need to add for each teacher/students set a constraint activities occupy max time slots from selection: all the activities of that teacher/students set, select with X (red) Wednesday afternoon, max occupied = how many you allow.

I consider that a new more specialized constraint is not needed, but if you really want I can add your suggestion in the TODO.

Marinho Medeiros

I think I will need it. The idea of what I need to do will be as follows, in case I haven't been clear: all teachers can take a maximum of 4 time slots every afternoon. But on a specific afternoon, which would be Wednesday, they have a limit on the number of slots they can teach. Teacher A can only teach in 2 time slots, teacher B can only teach in 1 time slot, etc. And I want to exactly limit the maximum number of time slots each teacher can take on Wednesday afternoon. Did I manage to be clearer?

Liviu Lalescu

Exactly what I said:

Add one general constraint: teachers max hours in interval.

Then add for each teacher a constraint activities occupy max time slots from selection. The activities = all activities of that teacher, selected slots = Wednesday afternoon (selected with X or red), and max allowed =  2 for A, 1 for B, etc.

If you want, you can send your file so I can show you and test.