Export MySQL DB Data to FET XML

Started by s.lanore, July 08, 2016, 08:49:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Volker Dirr

#15
looks like you didn't understood how to do the years/groups/subgroups.

Example:
Student A is in BTS Dieteique and selected Group 1 TC 1er annee.
Student B is also in BTS Dieteique but selected Group 2 TC 1er annee.

Then you need to do this:
add a group "BTS Dieteique" with subgroup A and B.
add a group "Group 1 TC 1er annee" with subgroup A.
add a group "Group 2 TC 1er annee" with subgroup B.

Liviu Lalescu

#16
Please see the attached impossible file. It is a simplification of your file. You can try to see the problems on it.

Simeon Marlene is teaching the subgroups activities. Thus, these activities cannot be simultaneous.

PS: You consider wrongly the .fet file. Please see for instance the German subactivities constraints file to see how a split activity looks like. The activity group id is the id of the first component, not zero. Zero is for not split activities.

s.lanore

First of all, thank you very much ! I made all the changes and all the constraints are now working.

I now have another question : I made my generation over two weeks because I have some courses that happen once every two weeks.
My issue is that for the others it's now over two weeks too. For instance if a subject is taught 6h a week, which is 12h every two weeks. We can have a week with 0h and the other one with 12h which i don't want.

What would be the best approache to fix this?

Thanks again !

Liviu Lalescu

#18
Please see this: http://lalescu.ro/liviu/fet/forum/index.php?topic=351.msg1977#msg1977 if you want the timetable for the first week identical with the timetable for the second week regarding weekly activities.

Also, consider adding constraints activities preferred time slots, first week allowed for some activities, and second week allowed for the other activities, if you don't need exactly identical two weeks.

s.lanore

I was adding constraints activities preferred time slots for first and second week tag. I don't need identical two weeks so it should me good enough. Thank you