In a 14 day exhibition, there will have a counter at which participants can register. For this exhibition, the organizers will employ 5 students to work at the counter, where for every day there will be three students working. According to labour law, every student can only work for a maximum of 9 days in a period of 14 days. Every student also has some restrictions and preferences on the day he / she would like to work. Some students have indicated that they could not work on certain days. Some students also indicated that they prefer to work on certain days rather than on any other days.
3.1 GOAL
Â
The goal of this exercise is to develop a simple application with the following functionalities:
Â
xÂ Â Â Â Decision Support System: a system with which the user could manually decide on which day each student should work.
Â
Â
Â
3.2 DATA
Â
xÂ Â Â Â We have 14 days on which we have to plan students. Every day has an ID, referring to the date of the day. The first day is the Monday next week.
Â
xÂ Â Â Â We have 5 students to be planned. Every student has an ID, which is simply a number (1, 2,â€¦.5)
Â
Â
3.3 CONSTRAINTS
Â
The planning solution has the following constraints:
Â
xÂ Â Â Â Every day needs exactly 3 students.
Â
xÂ Â Â Â Every student can only work for a maximum of 9 days in total.
Â
xÂ Â Â Â Every student has certain restrictions and preferences. Some students are not allowed to work on certain days at all, and some students prefer to work on certain days rather than any other days in a week.
Â
To model the employeesâ€™ restrictions and preferences, we will use a simple table consisting of the following four columns:
Â
Â Â Â ID Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â : indicating the ID of the student.
Â
Â Â Â WeekDay Â Â Â Â : indicating the day within a week. The WeekDay will have a value of
[1..7], Â where 1 = Monday, 2 = Tuesday, â€¦7 = Sunday.
Â
 Â Â Â Â Allowed Â Â Â Â Â Â : indicating whether an assignment on a certain day is allowed. This column will have two possible values: Â TRUE or FALSE.
Â
Â Â Â Penalty Â Â Â Â Â Â Â : indicating the degree of preference of a certain assignment. The less preferred the assignment is, the higher the penalty would be. An assignment on a day which is not allowed will have the highest penalty.
Â
Â
Â
Â
Â
Below is an example of the table.
Â
Â
ID

Â
WeekDay

Â
Allowed

Â
Penalty

Â
1

Â
1

Â
FALSE

Â
10

Â
1

Â
6

Â
TRUE

Â
5

Â
1

Â
*

Â
TRUE

Â
0

Â
Â
The above table shows:
Â
xÂ Â Â Â Â Student 1 is not allowed to work on Monday (Weekday = 1). If he is planned on
Monday, there will be a constraint violation, and there will also be a penalty of 10.
Â
xÂ Â Â Â Â Student 1 does not like to work on Saturday (Weekday = 6). If he is planned on
Saturday, there will be a penalty of 5.
Â
xÂ Â Â Â Â Student 1 could be planned on any other days without penalty.
Â
The total score / penalty of all assignments (and also the number of constraint violations) together determine how good the planning solution is.
Â
Â
Â
Â
Â
Â
Answers
Status NEW
Posted 06 Apr 2018 06:04 PM
My Price 7.00
Hello Sir/MadamThank You for using our website and acquisition of my posted solution.Please ping me onchat I am online or inbox me a message I will be
Not Rated(0)