FET Forum

FET Support (English) => Get Help => Topic started by: nguyenhuuduyet on January 01, 2018, 04:12:10 PM

Title: Hours 1 and 5 are not simultaneous
Post by: nguyenhuuduyet on January 01, 2018, 04:12:10 PM
Help me
There are 5 hours a day: Hour 1; hour 2; hour 3; hour 4; hours 5.
How does a teacher not have both hour 1 and hours 5?
Thank you very much!
Title: Re: Hours 1 and 5 are not simultaneous
Post by: Liviu Lalescu on January 01, 2018, 04:19:28 PM
Constraint activities occupy max different slots from selection. One for each teacher and for each day (so n_days_per_week * n_teachers constraints).

Activities of the teacher, max 1 different slots from (selection=the first and last slot of a certain day).
Title: Re: Hours 1 and 5 are not simultaneous
Post by: Volker Dirr on January 01, 2018, 04:42:29 PM
If there are only 5 hours per day, than it will be maybe easier to set max 4 hours per day constraint.
Title: Re: Hours 1 and 5 are not simultaneous
Post by: nguyenhuuduyet on January 01, 2018, 04:43:21 PM
How in a day teacher there is no 1 hour clock and 5 hours?
Title: Re: Hours 1 and 5 are not simultaneous
Post by: nguyenhuuduyet on January 01, 2018, 04:48:02 PM
I have done it. Thank you very much!
Title: Re: Hours 1 and 5 are not simultaneous
Post by: nguyenhuuduyet on January 01, 2018, 04:52:37 PM
Help me add
How does a teacher have at least 1 activity on Monday and Saturday? (Teachers have many activities during the week)
Title: Re: Hours 1 and 5 are not simultaneous
Post by: Liviu Lalescu on January 01, 2018, 04:55:17 PM
Quote from: nguyenhuuduyet on January 01, 2018, 04:52:37 PM
Help me add
How does a teacher have at least 1 activity on Monday and Saturday? (Teachers have many activities during the week)

The same magic constraint activities occupy max time slots from selection (read its Help).
Title: Re: Hours 1 and 5 are not simultaneous
Post by: nguyenhuuduyet on January 01, 2018, 05:18:29 PM
Thank you
Title: Re: Hours 1 and 5 are not simultaneous
Post by: Liviu Lalescu on January 01, 2018, 08:33:59 PM
Quote from: nguyenhuuduyet on January 01, 2018, 04:12:10 PM
Help me
There are 5 hours a day: Hour 1; hour 2; hour 3; hour 4; hours 5.
How does a teacher not have both hour 1 and hours 5?
Thank you very much!

Quote from: Volker Dirr on January 01, 2018, 04:42:29 PM
If there are only 5 hours per day, than it will be maybe easier to set max 4 hours per day constraint.

Volker meant teacher(s) max span per day = 4.