A Police station has the following minimum requirements for policemen on duty for each 4-hour period during the day: 0.00 - 4.00 15 4.00 8.00 25 8.00 - 12.00 45 12.00 - 16.00 90 16.00 - 20.00 20.00 – 24.00 30 25 Each policeman comes on duty at 0.00, 4.00, 8.00, 12.00, 16.00 or 20.00 hrs and works for eight consecutive hours. • Formulate the problem of finding a duty schedule that minimises the total number of policemen required. Introduce required decision variables and corresponding constraints. • Implement and solve the problem formulation in Python. (Please include your code to the report). • In your problem formulation, justify the choice of variable types you made (integer variables vs con- tinuous). If your problem formulation requires integer decision variables, discuss whether integrality requirement can be relaxed. • Suppose next that every time period when the total number of policemen exceeds the minimum threshold value, there is a penalty. Specifically, there is a penalty of 2 for every policeman above the minimum threshold in each time period. Formulate the problem of finding a valid duty schedule that mimimizes the total penalty.
A Police station has the following minimum requirements for policemen on duty for each 4-hour period during the day: 0.00 - 4.00 15 4.00 8.00 25 8.00 - 12.00 45 12.00 - 16.00 90 16.00 - 20.00 20.00 – 24.00 30 25 Each policeman comes on duty at 0.00, 4.00, 8.00, 12.00, 16.00 or 20.00 hrs and works for eight consecutive hours. • Formulate the problem of finding a duty schedule that minimises the total number of policemen required. Introduce required decision variables and corresponding constraints. • Implement and solve the problem formulation in Python. (Please include your code to the report). • In your problem formulation, justify the choice of variable types you made (integer variables vs con- tinuous). If your problem formulation requires integer decision variables, discuss whether integrality requirement can be relaxed. • Suppose next that every time period when the total number of policemen exceeds the minimum threshold value, there is a penalty. Specifically, there is a penalty of 2 for every policeman above the minimum threshold in each time period. Formulate the problem of finding a valid duty schedule that mimimizes the total penalty.
A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
Related questions
Question
A2
![A Police station has the following minimum requirements for policemen on duty for each 4-hour period
during the day:
0.00 - 4.00
15
4.00
8.00
25
8.00 - 12.00
45
12.00 - 16.00
90
16.00 - 20.00
20.00 – 24.00
30
25
Each policeman comes on duty at 0.00, 4.00, 8.00, 12.00, 16.00 or 20.00 hrs and works for eight consecutive
hours.
• Formulate the problem of finding a duty schedule that minimises the total number of policemen
required. Introduce required decision variables and corresponding constraints.
• Implement and solve the problem formulation in Python. (Please include your code to the report).
• In your problem formulation, justify the choice of variable types you made (integer variables vs con-
tinuous). If your problem formulation requires integer decision variables, discuss whether integrality
requirement can be relaxed.
• Suppose next that every time period when the total number of policemen exceeds the minimum
threshold value, there is a penalty. Specifically, there is a penalty of 2 for every policeman above
the minimum threshold in each time period. Formulate the problem of finding a valid duty schedule
that mimimizes the total penalty.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa765b6e7-c383-4438-8be8-ec0e6333b7dd%2Fc7695d2d-1796-4bf4-bf64-b188cf2d4b59%2F4k2917q_processed.jpeg&w=3840&q=75)
Transcribed Image Text:A Police station has the following minimum requirements for policemen on duty for each 4-hour period
during the day:
0.00 - 4.00
15
4.00
8.00
25
8.00 - 12.00
45
12.00 - 16.00
90
16.00 - 20.00
20.00 – 24.00
30
25
Each policeman comes on duty at 0.00, 4.00, 8.00, 12.00, 16.00 or 20.00 hrs and works for eight consecutive
hours.
• Formulate the problem of finding a duty schedule that minimises the total number of policemen
required. Introduce required decision variables and corresponding constraints.
• Implement and solve the problem formulation in Python. (Please include your code to the report).
• In your problem formulation, justify the choice of variable types you made (integer variables vs con-
tinuous). If your problem formulation requires integer decision variables, discuss whether integrality
requirement can be relaxed.
• Suppose next that every time period when the total number of policemen exceeds the minimum
threshold value, there is a penalty. Specifically, there is a penalty of 2 for every policeman above
the minimum threshold in each time period. Formulate the problem of finding a valid duty schedule
that mimimizes the total penalty.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![A First Course in Probability (10th Edition)](https://www.bartleby.com/isbn_cover_images/9780134753119/9780134753119_smallCoverImage.gif)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
![A First Course in Probability](https://www.bartleby.com/isbn_cover_images/9780321794772/9780321794772_smallCoverImage.gif)
![A First Course in Probability (10th Edition)](https://www.bartleby.com/isbn_cover_images/9780134753119/9780134753119_smallCoverImage.gif)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
![A First Course in Probability](https://www.bartleby.com/isbn_cover_images/9780321794772/9780321794772_smallCoverImage.gif)