Main Menu

Automatic session

Started by 0sv, June 16, 2009, 12:52:25 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

0sv

Hi, I have a strange timetable to solve.
The session times are irregular along the week and the subjects don't have any session.
For example:
this is the session time distribution

MonTueWedThuFri
08:0009:0008:0008:0009:00
08:3010:0008:3008:3010:00
09:3010:2009:3009:3010:20
11:0011:0011:0011:0011:00
12:0012:4012:0012:0012:40
13:0013:0013:0013:0013:00
And the subjects have a number of hours per week, for example Mathematics = 15h
Chemistry = 10h
And some extrange constraints as the Mathematics must be in Tuesday from 09:00 to 10:20 and Friday from 11:00 to 12:40
Chemistry must be in Monday,Wednesday and Thursday from 08:00 to 08:30

The rest of the time for each subject must asign freely in the timetable.

I must control the assigned time in each cell of the timetable to not overpass the max time per week and for not leave unassigned time.

Is any posibiliti to make this with FET?

Thanks you.

Liviu Lalescu

I think it is possible. Consider a FET hour to be 10 real minutes. Then you'll have 30 FET hours (8:00, 8:10, 8:20, ... 12:50).

You can add preferred times constraints for "extrange constraints".

To add Math activities: if you need to have Math split into 5 lessons per week, not in the same day, then add an activity split into 5, with durations 3*6=18 FET hours for each component, and min days 1. If you can have Math in the same day and don't need consecutive lessons, then add an activity split into 6*15=90. But you can split into maximum 10 from FET interface - so you'll need to modify manually the .fet XML file.

0sv

In the interface it's posible to set 60 diferent hour for a week, if I edit the .fet XML file manually can overpass this number of hours? if I define 90 diferent hours the engine can calculate the time table?

The best choice will be split all the day in 5 minute slots but for that I need a lot of fet hours.

Is no problem to have math in the same day in not consecutive lessons, so I try as you say.

Thanks you.



Liviu Lalescu

You need to modify the sources+recompile. MAX_HOURS_PER_DAY in timetable_defs.h. Then edit the XML file manually.