How can we place all activities?

Started by infoo_, February 10, 2023, 05:40:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

infoo_

What I'm interested on now is try to have teacher's min hours daily = 2 (not 1). However some teachers only teach 1 hour, so I guess this should be done manually.

Liviu Lalescu

Quote from: darkwindow on February 11, 2023, 01:56:41 PMWhat are the "new activities" you are referring to?

These: "I forgot to include that Teacher AM must teach with Teacher AQ 1 hour in Matemática 1A and 1 hour Matemática 1B. "

Liviu Lalescu

Quote from: darkwindow on February 11, 2023, 02:15:12 PMWhat I'm interested on now is try to have teacher's min hours daily = 2 (not 1). However some teachers only teach 1 hour, so I guess this should be done manually.

Yes, add for each one.

infoo_

Quote from: Liviu Lalescu on February 11, 2023, 02:17:28 PMThese: "I forgot to include that Teacher AM must teach with Teacher AQ 1 hour in Matemática 1A and 1 hour Matemática 1B. "

Oh, adding a teacher to an existing activity cause a new activity?

Instead of:

    17 - 1/5 - Teacher AQ - Matemática - 1A - 1A

we would have:

    17 - 1/5 - Teacher AQ,Teacher AM - Matemática - 1A - 1A

(The same for 1B)

It is the same activity id.

Liviu Lalescu

Trick: if you have an activity (1+1+2 or 2+2) or another one (1+2+2), you could add (1+1+1+1) or (1+1+1+1+1), min 1 days between them with 0%. In this way, FET won't place more than 2 on the same day. Then you can add one or two constraints 2 activities consecutive.

Liviu Lalescu

Quote from: darkwindow on February 11, 2023, 02:19:38 PM
Quote from: Liviu Lalescu on February 11, 2023, 02:17:28 PMThese: "I forgot to include that Teacher AM must teach with Teacher AQ 1 hour in Matemática 1A and 1 hour Matemática 1B. "

Oh, adding a teacher to an existing activity cause a new activity?

Instead of:

    17 - 1/5 - Teacher AQ - Matemática - 1A - 1A

we would have:

    17 - 1/5 - Teacher AQ,Teacher AM - Matemática - 1A - 1A

(The same for 1B)

It is the same activity id.

OK, no new activity, sorry.

PS: In your first files (liviu12.fet), you forgot to add tag 4C to some activities of Teacher P. I corrected in liviu21.fet.

infoo_

Quote from: Liviu Lalescu on February 11, 2023, 02:17:47 PMYes, add for each one.

We have "Min hours daily with an activity tag for all teachers" constraint. But do you still suggest to add manually?

Liviu Lalescu

I think you want each teacher min hours daily = 2, with exceptions. Exceptions are not possible in FET, so add for each teacher.

infoo_

Quote from: Liviu Lalescu on February 11, 2023, 02:23:27 PMI think you want each teacher min hours daily = 2, with exceptions. Exceptions are not possible in FET, so add for each teacher.

You are right. But we can add tags for all teachers except for some teachers

infoo_

Quote from: Liviu Lalescu on February 11, 2023, 02:21:14 PMPS: In your first files (liviu12.fet), you forgot to add tag 4C to some activities of Teacher P. I corrected in liviu21.fet.

I see. Thank you!

However the new activities of Teacher P were added because if not, the generation would impossible. That's why I deactivated some of the Teacher P activities

Liviu Lalescu

It is better to add like I said, teacher min 2 hours daily, for each teacher, then deactivate the impossible. You press Down, Enter, Down, Enter, adds fast.

infoo_

Quote from: Liviu Lalescu on February 11, 2023, 02:26:30 PMIt is better to add like I said, teacher min 2 hours daily, for each teacher, then deactivate the impossible. You press Down, Enter, Down, Enter, adds fast.

Ok. I will do it.

I also will try to activate all deactivated activities. Like 2 days ago, if we didn't split manually those activities, the generation was impossible.

Perhaps with these new changes, we can rejoin the activities as before.

Liviu Lalescu

Quote from: darkwindow on February 11, 2023, 02:28:57 PM
Quote from: Liviu Lalescu on February 11, 2023, 02:26:30 PMIt is better to add like I said, teacher min 2 hours daily, for each teacher, then deactivate the impossible. You press Down, Enter, Down, Enter, adds fast.

Ok. I will do it.

I also will try to activate all deactivated activities. Like 2 days ago, if we didn't split manually those activities, the generation was impossible.

Perhaps with these new changes, we can rejoin the activities as before.

See my reply #49. You can add, for 2+2 -> 1+1+1+1, then one constraint 2 activities consecutive 100% for the first 2 and 2 acts. consec. 95% or something for the last 2.

infoo_

I didn't understand what are the benefits from doing that, instead of deactivating activities and creating ones with less durations

Liviu Lalescu

Quote from: darkwindow on February 11, 2023, 02:48:05 PMI didn't understand what are the benefits from doing that, instead of deactivating activities and creating ones with less durations

In my reply #57, FET will prefer to place 2+2 (95%). If it cannot, it will place 2+1+1 (5%).

But feel free to try other approaches.