FET Forum

FET Support (English) => Get Help => Topic started by: Nagendra on June 09, 2019, 04:48:43 PM

Title: Student set preferred rooms and activity tag preferred rooms
Post by: Nagendra on June 09, 2019, 04:48:43 PM
I have some students sets (around 30 groups) having some activities with activity tags (L), (T), (Lab). For these groups, I want all activities with tags (L) to be scheduled in rooms LHC-101, LHC-102.....LHC-109.

I have a student set 1MD having some activities with activity tags (L), (T), (Lab). I want all the (L) and (T) of this group to be scheduled in room no AB-101 only.

What constraint Should I use for the student set 1MD so that it won't conflict the constraint "All the activities with activity tags (L)have preferred rooms LHC-101, LHC-102.....LHC-109"?



Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Volker Dirr on June 09, 2019, 04:57:23 PM
i think you should rename the activity tags L, T, Lab from activities with students set 1MD. So you can give them other constraints.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Nagendra on June 09, 2019, 05:13:02 PM
Thank you Volker. It works.

Is there any other way?. I tried the student homeroom, but it didn't work.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Nagendra on June 12, 2019, 11:58:20 AM
Quote from: Volker Dirr on June 09, 2019, 04:57:23 PM
i think you should rename the activity tags L, T, Lab from activities with students set 1MD. So you can give them other constraints.

Due to some other issues, I cannot have other activity tags for some groups only. I tried changing the capacity of rooms, student strength etc...none found giving 100% desired result.

I am looking for something similar to "A subject + Activity tag have a set of preferred room(s)"........

"A student set+ Activity tag have a set of preferred room(s)". Also, this should override the constraint "An activity tag has a set of preferred room(s)" for that particular student set.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Liviu Lalescu on June 12, 2019, 11:20:18 PM
Quote from: Nagendra on June 12, 2019, 11:58:20 AM
Due to some other issues, I cannot have other activity tags for some groups only.

Give first students sets the activity tag "AT_Rooms_LHC" and to students sets 1MD the activity tag "AT_Rooms_AB" in addition to (L) and usual activity tags. And constrain only these two tags to rooms as needed. You can add more tags to an activity and I am sure it works out in the end.

Quote
I am looking for something similar to "A subject + Activity tag have a set of preferred room(s)"........

"A student set+ Activity tag have a set of preferred room(s)". Also, this should override the constraint "An activity tag has a set of preferred room(s)" for that particular student set.

Sorry, not possible.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Nagendra on June 13, 2019, 02:30:15 AM
Activity tags Room_AT_AB and ROOM_AT_LHC works well but there is a catch here.

I want 1MD to be scheduled in AB-101 similarly 1TH to be scheduled in AB-102. So, with the above trick, there is a chance that the lectures of 1MD will also be scheduled in AB-102. Similarly, for 1TH lectures will also be scheduled in AB-101.

I tried below trick
1) choose all the subjects of 1MD with Activity tag 'L' and constrain it to room AB-101. Similarly subjects of 1TH with tag 'L' to room AB-102.
Though it is working fine, I fear of repeatedly adding constraints for all subjects individually since there is no such constraint "subjects + activity tag has a preferred room(s)". You might consider adding this, only if it is very easy.

Finally, if don't find any easier way then I will code in matlab to generate xml with the above constraints.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Liviu Lalescu on June 13, 2019, 06:52:18 AM
If you mean "Subject+activity tag preferred room(s)" - it exists. If you mean "Students set+activity tag preferred room(s)" - impossible.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Nagendra on June 13, 2019, 08:44:57 AM
Yeah..."Subject+activity tag preferred room(s)" exists.....

Can it be made "Subjects+activity tag preferred room(s)" so that the constraint can be added to all required subjects at once? ....with the help of filters (like in the attached), you can show, subject names instead of the activities.

PS: I wrote a few lines of MATLAB code to repeatedly add the above constraint to all subjects of a required student set.
Title: Re: Student set preferred rooms and activity tag preferred rooms
Post by: Liviu Lalescu on June 13, 2019, 10:01:14 AM
I am sorry, but I do not understand your picture.

About adding this new constraint - I prefer not to, it would be too specialized and a bit "weird" looking.