FET Forum

FET Support (English) => Get Help => Topic started by: Badam on February 01, 2017, 02:00:27 PM

Title: SameRoom problems because of FetRoom/FetSubject?
Post by: Badam on February 01, 2017, 02:00:27 PM
Hello all,
First of all i wanna thank you for the great respone times in my last posts.
I'm using "fet-5.22.0-mapr-asa8-zt3"
I'm sorry that i cant attach my *.fet file but its private, and it would take to long for editing it.

If i want use a constraint which puts two activities into the same room, i can use the constraint occupyMaxDifferentRooms.
But if i'm doing that, fet can't find a solution for me.
My idea is that it is because i have fet-rooms and fet-subjects. Maybe fet is trying to allocate two activities into the same fet-room, what is surely impossible.
The attached file, "SameRoom.xml", shows the constraint with all associated activities.
The two Activities in the Constraint (1913, 1739) are each one activity with a real subject. this realSubject-activity has a SameStarting constraint with its FSubject. And only these FSubjects are allocated to real rooms if i understood it correctely.(Only these have a preferredRoom constraint)
i know, its hard to understand, but i hope you know what i mean. Does the OccupyMaxDifferentRooms constraint works with the custom version of fet?
If needed i can send you the *.fet file private.

Thanks for your help and your suggestions
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Liviu Lalescu on February 01, 2017, 08:42:16 PM
Quote from: Badam on February 01, 2017, 02:00:27 PM
Maybe fet is trying to allocate two activities into the same fet-room, what is surely impossible.

FET-mapr means "more activities per room". Only the room capacity is respected. So FET mapr can place more activities in the same room at the same time.

I got the input file by private email from Badam and we will continue some of the conversation by private email.
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Benahmed Abdelkrim on February 11, 2017, 12:12:34 PM
Hi mr Liviu, Volker and everyone
  How to use fet mapr so that it only places 3 activities per room in the same  Time soit? It is to realize a table of monitoring of the official exams
I could find a trick with fet 5.27.3 algeria18 to avoid the basic constraints that do not allow more than one activity per room.
I attach both file; The first with fet-mapr and the second with fet-algeria.
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Liviu Lalescu on February 11, 2017, 01:47:46 PM
Quote from: Benahmed Abdelkrim on February 11, 2017, 12:12:34 PM
Hi mr Liviu, Volker and everyone
  How to use fet mapr so that it only places 3 activities per room in the same tntervale time? It is to realize a table of monitoring of the official exams
I could find a trick with fet 5.27.3 algeria18 to avoid the basic constraints that do not allow more than one activity per room.
I attach both file; The first with fet-mapr and the second with fet-algeria.

In FET mapr  make the room have capacity 3 and then each activity have the number of students = 1.

I did not try your files. Let me know if you want me to do this or if my answer above is not satisfying.
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Benahmed Abdelkrim on February 11, 2017, 05:56:57 PM
Yes I followed your instructions and it works very well. Thank you very much mr. Liviu :)
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Benahmed Abdelkrim on February 12, 2017, 06:22:06 PM
  ... and here is the file after modifications.
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Liviu Lalescu on February 12, 2017, 06:31:31 PM
Should I add this file in the mapr examples? I will add it in the next version, but it will pass more time until then.
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Benahmed Abdelkrim on February 12, 2017, 06:45:26 PM
  Yes of course if you want
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Liviu Lalescu on February 12, 2017, 06:49:47 PM
Thank you!
Title: Re: SameRoom problems because of FetRoom/FetSubject?
Post by: Benahmed Abdelkrim on February 12, 2017, 06:54:29 PM
  thank you
... but all the merit comes back to you mr. Liviu