FET Forum

FET Development => Suggestions => Topic started by: Malamojka on November 17, 2016, 08:54:16 PM

Title: On constraints
Post by: Malamojka on November 17, 2016, 08:54:16 PM
Four suggestions on constraints:
1. Would it be possible to add: space -> Activities -> An activity has a preferred building. It would help me a lot.
2. Could you add: time -> Activities -> An activity either starts or ends students day (for when they don't actually do the activity for the entire semester)?
3. Is it possible to have variable weight on teachers not available time (for their ideal time, set at maybe 99%)?
4. Could you add: space -> Activities -> A set of activities has a set of preferred rooms? (there are several subjects with a certain tag that I want in just a few rooms).
Title: Re: On constraints
Post by: Liviu Lalescu on November 18, 2016, 11:44:42 AM
1. You can add a new tag, then constraint activity tag preferred rooms, then add this tag to all implied activities. It should be easy.
2. No. It is impossible to add in the algorithm. Maybe you could duplicate the students set and add all the activities which are taken the entire semester. This way, if the duplicated students set has max gaps 0, it will force what you want.
3. Please use constraint activities preferred time slots.
4. Activities preferred room(s) is not possible (it is too difficult, cumbersome, I gave the explanation several times here on the forum, but I forgot the exact topics). But why don't you use subject+activity tag preferred room(s) or activity tag preferred room(s)? You can add more tags and constraints for an activity.

I added your words and mine in the TODO.
Title: Re: On constraints
Post by: Malamojka on March 03, 2017, 12:21:10 PM
Thanks for the answers,
1. well I think I'll have to rethink about my tags (I have too many already :/)... I'll definitely look into it when I start timetable for next year. The way I do it now is I use 6 tags for students to mostly use one building, and then 4 and 2 for other two...
2. Good suggestion, I'll try that.
3. OK.
4. I do use what you suggested, but I have app. 300 activities in my timetable so it's a lot of work, to sort everything out...