Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - biritxi

#1
Thanks a lot!

Finally we'll try to do it with the new constraint because we need to export the timetable from FET to a web application in a txt file and with the other approach (5 minute FET "hours") we would convert the timetable activities/groups/teachers hours (each 5 minutes) in the correct hours (08:00-8:55 for example) and it would be an ardous task.

Thank you very much for your help, sure more dudes will emerge because we want to add new Qlist to store the distinct templates with them hours by day, and show in "constraint students set not available times" form to select the adequate template for each group and automatically add the constraint for each group.

Thanks again for you help!
#2
Hi!

I've some questions about the new constraint "activities occupy max time slots from selection".
- you said to add this constraint for one teacher but this constraint is added to a set of activities, therefore I've to add it to all the teacher's activities?
I added one:
<ConstraintActivitiesOccupyMaxTimeSlotsFromSelection>
   <Weight_Percentage>100</Weight_Percentage>
   <Number_of_Activities>8</Number_of_Activities>
   <Activity_Id>1</Activity_Id>
   <Activity_Id>2</Activity_Id>
   <Activity_Id>3</Activity_Id>
   <Activity_Id>4</Activity_Id>
   <Activity_Id>36</Activity_Id>
   <Activity_Id>37</Activity_Id>
   <Activity_Id>38</Activity_Id>
   <Activity_Id>39</Activity_Id>
   <Number_of_Selected_Time_Slots>2</Number_of_Selected_Time_Slots>
   <Selected_Time_Slot>
      <Selected_Day>Monday</Selected_Day>
      <Selected_Hour>08:55</Selected_Hour>
   </Selected_Time_Slot>
   <Selected_Time_Slot>
      <Selected_Day>Monday</Selected_Day>
      <Selected_Hour>09:00</Selected_Hour>
   </Selected_Time_Slot>
   <Max_Number_of_Occupied_Time_Slots>1</Max_Number_of_Occupied_Time_Slots>
   <Active>true</Active>
   <Comments></Comments>
</ConstraintActivitiesOccupyMaxTimeSlotsFromSelection>


All the activities ids are one teacher's activities.
This constraint means that Mondays this teacher can teach at 08:55 or 09:00 but not at both?

Thanks!
#3
Thanks a lot Liviu,

I'll follow your advice and I'm going to test the constraint that you mean and try to understand how it works.

Regards!
#4
Firstly, thanks Liviu to respond so quickly.

The second option is discarded because could have 100 or 300 teachers and find for each teacher the pair of overlapping slots would be an arduous task.
So I'll try the first one, I'll increase the MAX_HOURS_PER_DAY to 144 (to encompass from 8.00 to 19.00) and test it.

Regards!



#5
Hi!

We are leading a project in Basque Country to try to introduce FET in some education centers. At this time we have implemeted a VB.NET application over the FET, the .NET application comunicates with FET through command line and runs well, but we want to take out the .NET application and use only FET. Just now we've started to explore the Fet´s code and find a serious trouble.

In most of the education centers have distinct periods per day and per group (or set of groups). I'll give an example:
We have 4 groups (G1, G2, G3, G4), some teachers (T1, T2,T3,...) and 2 templates that contains the periods per day (H1, H2) the days are always 5, but the hours are distincts.
H1 hours: 9.00-10.00                            H2 hours: 8.00-8.55
                10.00-11.00                                           8.55-9.50
                11.30-12.30                                           9.50-10.45
                12.30-13.30                                         11.15-12.10
                14.30-15.30                                         12.10-13.05
                15.30-16.30                                         14.30-15.25
                16.30-17.30                                         15.25-16.20

G1 and G2 have H1 template and G3 and G4 H2 template. All teachers can teach to all the groups.
Without code's changes, we insert all the hours in FET and then for each group a time break that corresponding with the hours of the other template (For G1the H2 hours would be time breaks). After generate timetable we meet some teachers who have times overlaping, for example: T1 teach G3 at 9.50-10.45 and teach G1 at 10.00-11.00, that would be impossible.

We are thinking about some code changes but don´t have very clear where to start. If it is possible, can you help, please.

Thank you!