De-activate and minimum hours

Started by Frans, July 31, 2010, 08:06:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Frans

Dear Liviu

In fet-5.14.0 I came across the following, it is possible that you know about this:

I generate a timetable with constraints such as minimum hours daily for a students set

Next from the data, students, groups or subgroup menu I de-activate all activities for one group. This group has the constraint minimum hours.

I generate again and then Fet- gives an error message and stops, namely you have too little activities to respect the constraint minimum hours ....

In other words I must go to minimum hours and delete the constraint. It is not de-activated automatically.

As said I do not know if it must be like this. Other constraints such as same starting time are automatically de-acticted.

Kind regards
Frans

Liviu Lalescu

It is normal to be like that, because it is hard to take care of such constraints, and because you don't deactivate a students set, but a set of activities. The constraint min hours daily is for a students set, not for a set of activities.

Frans

Thanks

I understand what you say, but I am not talking about deactivating activities.  In my case however I had to deactivate a complete studens set and this one can only do from the data menu. In other words everything for a students set must be de-activated.

Studens go out to work in private practice for a few months. During that period they are not on campus and everythig must therefore be deactivated as another students set takes their place and must be scheduled.

If it was possible to deactivate everything only when one uses the data menu.

Thank you for the reply.

Frans

Volker Dirr

A possible workaround is currently this:

save your data with a new name (because you will lose some data now).
instead od deactivating, just delete the students (year/group/subgroup).

check if all is still like you want. don't forget this change the students structure. so you (maybe) need the old file later again.

Liviu Lalescu

#4
QuoteThanks

I understand what you say, but I am not talking about deactivating activities.  In my case however I had to deactivate a complete studens set and this one can only do from the data menu. In other words everything for a students set must be de-activated.

Studens go out to work in private practice for a few months. During that period they are not on campus and everythig must therefore be deactivated as another students set takes their place and must be scheduled.

If it was possible to deactivate everything only when one uses the data menu.

Thank you for the reply.

Frans

Yes, you are right in a way, but there are many problems which may appear if I do like you say, and the things are complicated.

For instance, user deactivates a students set's activities, then activates only one activity for this user. Or if there is an activity with more students sets, of which some are deactivated and some are activated. Or there might be a global constraint min hours daily for all students.

The perfect approach might be to add a flag to each teacher, subject, activity tag, students set -> active or not active. I'll add this in the TODO.
It would be kind of tedious and difficult to change now, as it was not designed from the beginning.

Frans

Thanks Liviu and Volker

Yes Volker you are correct. I will need the original data set later as I will have to activate the sudents set that was de-activated and de-activate another students set, else I must enter evrything for the students set deleted.

Liviu, there are cases with an activites with more than one students set. In such a case I just add the activiy to the other students set, the students set that stays on campus.

I however understand that a change will be complicated and difficult.

Thanks.