FET Forum

FET Support (English) => General Stuff => Topic started by: m_kaleia on November 17, 2011, 03:13:31 PM

Title: Maximum number of an activity in a day
Post by: m_kaleia on November 17, 2011, 03:13:31 PM
Hello

I want to ask if I have an activity such as "Math" and it has 5 period a week ,

How to set the maximum periods per day..

For example I want to set that in one day maximum math period is two ..

How to do that please ?

thanks alot
Title: Re: Maximum number of an activity in a day
Post by: Liviu Lalescu on November 17, 2011, 04:32:58 PM
Teacher(s)/students (set) activity tag max hours daily (activate it, firstly).

Or min days between activities (it is related to what you want, but not perfectly what you want).
Title: Re: Maximum number of an activity in a day
Post by: m_kaleia on November 18, 2011, 03:21:20 PM
Quote from: Liviu Lalescu on November 17, 2011, 04:32:58 PM
Teacher(s)/students (set) activity tag max hours daily (activate it, firstly).

Or min days between activities (it is related to what you want, but not perfectly what you want).

Thanks but it doesn't do what I want exactly..

I don't want it for a teacher or a students ... I want the constraint for an activity (max period of one subject per day)..

So there is no constraint like that ?!..

Title: Re: Maximum number of an activity in a day
Post by: Liviu Lalescu on November 18, 2011, 03:49:38 PM
Quote from: m_kaleia on November 18, 2011, 03:21:20 PM
Quote from: Liviu Lalescu on November 17, 2011, 04:32:58 PM
Teacher(s)/students (set) activity tag max hours daily (activate it, firstly).

Or min days between activities (it is related to what you want, but not perfectly what you want).

Thanks but it doesn't do what I want exactly..

I don't want it for a teacher or a students ... I want the constraint for an activity (max period of one subject per day)..

So there is no constraint like that ?!..

I meant: add activity tag "Math - max 2 hours daily" for each Math activity, then activity tag max hours daily - but yes, only for teachers or for students.

If you really want for activities - then use activities occupy max time slots from selection, for each set of activities add n_days_per_week constraints, select all slots of each day, max occupied = 2.
Title: Re: Maximum number of an activity in a day
Post by: m_kaleia on November 18, 2011, 07:33:51 PM
I did what you told me

select all day and put max occupid = 2 (and of course select the math's set  activities ) ,

but when i want to generate the table it didn't generated and stuck on math activity. !!

have I did some thing wrong ?!

Title: Re: Maximum number of an activity in a day
Post by: Liviu Lalescu on November 18, 2011, 07:41:15 PM
You did correctly what you describe. But I need more details or even your file to know. Maybe it is impossible what you want.

By select all day, I think you mean a single day, 5 constraints (one constraint, select all slots from Monday, another constraint, select all slots from Tuesday, ..., last constraint, select all slots from Friday).
Title: Re: Maximum number of an activity in a day
Post by: m_kaleia on November 18, 2011, 08:00:09 PM
Thanks you ..

my file is in the attacment .. but the subject is in Arabic language.

Title: Re: Maximum number of an activity in a day
Post by: Liviu Lalescu on November 18, 2011, 08:16:57 PM
Quote from: m_kaleia on November 18, 2011, 08:00:09 PM
Thanks you ..

my file is in the attacment .. but the subject is in Arabic language.

I corrected. Attached. You understood incorrectly the constraints activities occupy max time slots.
Title: Re: Maximum number of an activity in a day
Post by: m_kaleia on November 18, 2011, 08:24:11 PM
Thanks a lot..

That is what I want exactly.