FET Forum

FET Support (English) => Get Help => Topic started by: Cyrus Ireri on April 01, 2024, 05:44:28 PM

Title: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 05:44:28 PM
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?
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 05:49:16 PM
samples
Title: Re: Teachers works in days interval
Post by: Liviu Lalescu on April 01, 2024, 05:56:47 PM
Could you use n_teachers constraint max days between activities, add all the activities of a teacher, max days = 5 or a lower value?
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 06:03:13 PM
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
Title: Re: Teachers works in days interval
Post by: Liviu Lalescu on April 01, 2024, 06:06:41 PM
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.
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 06:13:23 PM
Will share a file later you have a look at it.That way,you can help from point of reference
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 06:21:54 PM
sample
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 06:23:15 PM
sample
Title: Re: Teachers works in days interval
Post by: Liviu Lalescu on April 01, 2024, 06:57:32 PM
I added for teacher 9. I added an activity and two time constraints.
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 07:25:59 PM
Yet to check.Which 2 time constraints have you taken in consideration?
Title: Re: Teachers works in days interval
Post by: Liviu Lalescu on April 01, 2024, 07:59:20 PM
See the last activity and the last two time constraints.
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 08:30:54 PM
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
Title: Re: Teachers works in days interval
Post by: Liviu Lalescu on April 01, 2024, 08:42:05 PM
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.
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 08:55:27 PM
No need then.I wish to be benefiting from future updates
Title: Re: Teachers works in days interval
Post by: Liviu Lalescu on April 01, 2024, 09:04:07 PM
I added this in the TODO.
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 09:07:13 PM
Great
Title: Re: Teachers works in days interval
Post by: Cyrus Ireri on April 01, 2024, 10:36:31 PM
That will be great.