Teachers works in days interval

Started by Cyrus Ireri, April 01, 2024, 05:44:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cyrus Ireri

I have a scenario where when we have tution sessions for like 7 days,you get a situation where some teachers are through with their sessions 2 days before while others have till the last day.Is there a way of ensuring that out of the 7 days, a teacher will have atleast one of the last days to avoid conflicts on why me and not the other teachers.If we can have a constraint like " all teachers work in days interval min/max days per week" it can be of great help.Is it doable?

Cyrus Ireri


Liviu Lalescu

Could you use n_teachers constraint max days between activities, add all the activities of a teacher, max days = 5 or a lower value?

Cyrus Ireri

I wish all teachers to have min/max 1 day between the last two days so that all teachers must have atleast 1 day and not more than 1.That way,all teachers will be treated equally

Liviu Lalescu

No more than 1: add a dummy activity for each teacher, duration = n_hours_per_day, preferred time = last-1 or last day.

At least 1: activities occupy min time slots from selection for the activities of each teacher.

Cyrus Ireri

Will share a file later you have a look at it.That way,you can help from point of reference

Cyrus Ireri


Cyrus Ireri


Liviu Lalescu

I added for teacher 9. I added an activity and two time constraints.

Cyrus Ireri

Yet to check.Which 2 time constraints have you taken in consideration?

Liviu Lalescu

See the last activity and the last two time constraints.

Cyrus Ireri

I have been using that.Wished there would be one that would be one constraint that would effect all teachers. Putting for all teadious but what can we do if thats the only way

Liviu Lalescu

What you need is too specialized. I cannot see a solution to add an official FET constraint like that.

A customization is possible, but you won't benefit from future updates of FET.

Cyrus Ireri

No need then.I wish to be benefiting from future updates

Liviu Lalescu