FET Forum

FET Support (English) => Get Help on Your Input File => Topic started by: victorcapel on March 05, 2024, 01:32:16 PM

Title: max tag activities per day
Post by: victorcapel on March 05, 2024, 01:32:16 PM
Hi, guys.

I have a question, is there any constraint like "max tag activities per day"?

Thanks =]
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 01:42:59 PM
Hello, @victorcapel ,

There are students (set)/teacher(s) activity max hours daily (for the Mornings-Afternoons mode, per real day), but you need to enable this kind of constraint from the Settings.

Or didn't I understand correctly and you mean for activities? You might use then n_days_per_week constraints activities occupy max time slots from selection.

Please let me know.
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 01:54:51 PM
A day have 6 slots.

Some teachers have 7 activities and I would like to have a maximum of 5 activities per day.
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 01:57:30 PM
I am sorry, but I do not understand. Isn't it very easy, using teacher max hours daily, or teacher max hours daily with an activity tag?

What mode are you using?
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 02:17:23 PM
Im using the Mornings-Afternoons mode.

A teacher have 9 activies.

7 of them is 'col-vm-m' tag activity

2 of tem is 'col-sj-m' tag activity

I would like use 2 days and I would like min 2 'col-vm-m' tag activity in a day.
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 02:19:24 PM
I will now check the constraints in FET MA mode. If you want, you can send your file.

But please tell me what do you mean by day in your previous post? Half-day (FET day), or real day?
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 02:21:48 PM
day = half-day
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 02:29:07 PM
I think the function "attachment" isn't able for me to sende the fet for you
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 02:30:30 PM
Can I send by email?
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 02:32:30 PM
Sure, you can send by email. One of my aliases is: fet4_AT_lalescu.ro (replace _AT_ with @).

Great then, you have exactly the constraints you need: teacher max days per week (half, FET - days), and teacher min hours daily with an activity tag (half, FET day) - you need to activate this, without worrying.
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 02:38:21 PM
If these two half-days are not on the same real day, you can also add teacher activity tag max 5 hours daily per real day, so that it will help guide FET to a solution.
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 02:52:36 PM
I have just sent you an email.

I use 2 max mornings per week and min 2 activities per real day.
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 02:54:04 PM
hmm, the constraint teacher activity tag max hours constinuously will help me.

Thanksssss Liviu.
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 02:56:03 PM
Email received, I did not see the file yet, but I will now.

Oh, you mean teacher activity tag max hours per real day? Not continuously...
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 03:08:18 PM
No, just for a half-day. So, if the teacher can't give 6 activities in continuously, he will divide 2 activities in another half-day.
Title: Re: max tag activities per day
Post by: victorcapel on March 05, 2024, 03:10:35 PM
This tag means that this activity will happen just on mornigs. So isn't necessary to be real day.
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 03:16:03 PM
OK, if you say so, it might work.

I just saw that you use your custom version. This isn't a bad thing, but since developing that version for you, many many new beautiful changes showed up in FET. I am not sure why you needed a customization, but I will see now. So:

1) Either I could update your custom version to FET-6.18.1,

or

2) Your customization is no longer needed (I added some new constraints in FET since then),

or

3) I could see and try to integrate your customization in the official FET.

Could you refresh my memory what was your customization about? Needed for what? (I will also look now in my archive.)
Title: Re: max tag activities per day
Post by: Liviu Lalescu on March 05, 2024, 06:14:27 PM
Dear @victorcapel ,

I think you don't need a customization. Please see: https://lalescu.ro/liviu/fet/forum/index.php?topic=5561.msg32486;topicseen#msg32486 . In short, I think you can use max 0 building changes per real day from [the last hour of the morning _to_ the second hour of the afternoon).

But you'll need to add building changes instead of gaps between tags.

Please let me know.