breakdown of hours per week

Started by dimzev, November 03, 2019, 05:58:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dimzev

the problem is
one student group must have 42 hour/week (5 days) but take only 38 hours/per week
i want :
1) starts every day at 1st hour
2)1 day must have 9 hours
3)the others 4 days must have: 8 hours for one day and 7 hours for 3 days

thank you...!!!

Volker Dirr

different variants. depending on your dataset.

add students not available from Tuesday to Friday in hour 9.

then you can do different variants:

1) you might already know the activities that should be late (in hour 8 and 9). in that case use activity preferred time constraint for that activities and allow all other only hour 1-7 (by an activity tag)

or

2) add students work in an hourly interval max 2 time from begin of hour 8 to end of hour 8. (2, because for monday and an other day)

Liviu Lalescu

Add two students interval max days per week constraints (the maximum allowed such constraints is three for each students subgroup, so it is allowed for you):

a) 9 to end of day, max 1 days.

b) 8 to 9 (or to end of day), max 2 days.

And max 0 gaps per week for all students.

You could try to use other constraints as well: students min 7 hours daily, or activities occupy max time slots from selection.

Maybe:

a2) Students min 7 hours daily and

b2) Students interval 8 to 9 (or to end of day), max 2 days per week.

Please think also yourself and try.

dimzev

thank you again for all answers...!!!

ظفر الله عسكر

Quote from: dimzev on November 03, 2019, 05:58:20 PM
the problem is
one student group must have 42 hour/week (5 days) but take only 38 hours/per week
i want :
1) starts every day at 1st hour
2)1 day must have 9 hours
3)the others 4 days must have: 8 hours for one day and 7 hours for 3 days

thank you...!!!
عندك 42 حصه تريد ان توزعها على خمسة ايام
يوم 9 حصص
يوم 7 حصص
ثلاثة ايام 8 حصص
اجمعها 9+7+24= 40
لايمكن الانتاج لان الطلاب لديها 42 حصه
او انني لم  استوعب ما تقول
الشكر للجميع