Introduction: Project Synopsis

Katie has noticed a persistent scheduling challenge in her father’s radiology clinic regarding assigning annual leave. The clinic has 12 radiologists needing their vacation spread across 12 specific weeks of the year. This task involves aligning each radiologist with their top four vacation week preferences. Previous manual attempts have failed, leading Katie to explore a solution using Excel’s Solver feature, aiming to optimize overall satisfaction based on the lowest total ranking scores.

We’ll be focusing on pushing forth this initiative and finding the most optimal solution.

Required Packages: Loading…

suppressPackageStartupMessages(library(readxl))
suppressPackageStartupMessages(library(dplyr))
suppressPackageStartupMessages(library(ggplot2))
suppressPackageStartupMessages(library(reshape2))
suppressPackageStartupMessages(library(tidyverse))
suppressPackageStartupMessages(library(knitr))
suppressPackageStartupMessages(library(htmltools))
suppressPackageStartupMessages(library(kableExtra))
suppressPackageStartupMessages(library(bslib))
suppressPackageStartupMessages(library(tinytex))

Importing & Analyzing Data

VACdata <- "/Users/jeremiah/Desktop/Final Project/VacationData.xlsx"
preference_data <- read_excel(VACdata, sheet = "Preference Ranking")
## New names:
## • `` -> `...2`
## • `` -> `...3`
## • `` -> `...4`
## • `` -> `...5`
## • `` -> `...6`
## • `` -> `...7`
## • `` -> `...8`
## • `` -> `...9`
## • `` -> `...10`
## • `` -> `...11`
## • `` -> `...12`
## • `` -> `...13`
vacation_data <- read_excel(VACdata, sheet = "Potential Vacation Week")
## New names:
## • `` -> `...2`
## • `` -> `...3`
## • `` -> `...4`
## • `` -> `...5`
## • `` -> `...6`
## • `` -> `...7`
## • `` -> `...8`
## • `` -> `...9`
## • `` -> `...10`
## • `` -> `...11`
## • `` -> `...12`
## • `` -> `...13`
## • `` -> `...14`

Visualization: Preference Ranking

print("Preference Data:")
## [1] "Preference Data:"
print(preference_data)
## # A tibble: 13 × 13
##    `Preference Ranking` ...2  ...3  ...4  ...5  ...6  ...7  ...8  ...9  ...10
##    <chr>                <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
##  1 Radiologist          A     B     C     D     E     F     G     H     I    
##  2 Adam                 2     4     1     3     0     0     0     0     0    
##  3 Barbara              3     0     2     4     0     0     0     0     1    
##  4 Naomi                1     0     4     2     0     0     0     0     0    
##  5 Isaac                4     0     3     0     0     1     0     0     2    
##  6 Jaimie               1     4     2     3     0     0     0     0     0    
##  7 Colton               3     0     4     0     0     0     0     0     0    
##  8 Nora                 0     4     3     1     0     0     0     0     0    
##  9 Gus                  3     2     1     4     0     0     0     0     0    
## 10 Clem                 4     3     2     0     0     0     1     0     0    
## 11 Paul                 1     2     3     0     0     0     4     0     0    
## 12 Erica                2     3     4     1     0     0     0     0     0    
## 13 Shaun                4     1     3     2     0     0     3     0     0    
## # ℹ 3 more variables: ...11 <chr>, ...12 <chr>, ...13 <chr>

Visulization: Potential Vacation Week

print("Vacation Data:")
## [1] "Vacation Data:"
print(vacation_data)
## # A tibble: 14 × 14
##    Potential Vacation We…¹ ...2  ...3  ...4  ...5  ...6  ...7  ...8  ...9  ...10
##    <chr>                   <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
##  1 Radiologist             A     B     C     D     E     F     G     H     I    
##  2 Adam                    0     0     0     0     0     0     0     0     1    
##  3 Barbara                 0     1     0     0     0     0     0     0     0    
##  4 Naomi                   0     0     0     0     0     0     0     1     0    
##  5 Isaac                   0     0     0     0     0     0     1     0     0    
##  6 Jaimie                  0     0     0     0     0     1     0     0     0    
##  7 Colton                  0     0     0     0     1     0     0     0     0    
##  8 Nora                    1     0     0     0     0     0     0     0     0    
##  9 Gus                     0     0     1     0     0     0     0     0     0    
## 10 Clem                    0     0     0     0     0     0     0     0     0    
## 11 Paul                    0     0     0     1     0     0     0     0     0    
## 12 Erica                   0     0     0     0     0     0     0     0     0    
## 13 Shaun                   0     0     0     0     0     0     0     0     0    
## 14 Total                   1     1     1     1     1     1     1     1     1    
## # ℹ abbreviated name: ¹​`Potential Vacation Week`
## # ℹ 4 more variables: ...11 <chr>, ...12 <chr>, ...13 <chr>, ...14 <chr>

Part 2: Optimal Scheduling for Radiologist’s

vacation_schedule <- data.frame(
  Radiologist = c("Adam", "Barbara", "Naomi", "Isaac", "Jaimie", "Colton", "Nora", "Gus", "Clem", "Paul", "Erica", "Shaun"),
  Vacation_Week = c("Week 9 (I)", "Week 2 (B)", "Week 8 (H)", "Week 7 (G)", "Week 6 (F)", "Week 5 (E)", "Week 1 (A)", "Week 3 (C)", "Week 12 (L)", "Week 4 (D)", "Week 10 (J)", "Week 11 (K)")
)

print(vacation_schedule)
##    Radiologist Vacation_Week
## 1         Adam    Week 9 (I)
## 2      Barbara    Week 2 (B)
## 3        Naomi    Week 8 (H)
## 4        Isaac    Week 7 (G)
## 5       Jaimie    Week 6 (F)
## 6       Colton    Week 5 (E)
## 7         Nora    Week 1 (A)
## 8          Gus    Week 3 (C)
## 9         Clem   Week 12 (L)
## 10        Paul    Week 4 (D)
## 11       Erica   Week 10 (J)
## 12       Shaun   Week 11 (K)

Part 3: Practical Evaluation and Enhancement

Practical Utilization of Solver

Utilizing Solver can be instrumental in enhancing job satisfaction among workers. An example would be aligning project assignments with individual preferences, which addresses an important aspect of employee work-life balance. While also minimizing disruptions caused by dissatisfaction, ultimately creating a potentially more productive and efficient work environment, and boosting morale for all employees.

Improvements

1. Complexity Ratings

In order to further refine the scheduling model, assigning a complexity rating to each project would be beneifical. This rating should correspond to the degree of difficulty associated with the project. By incorporating this additional data into the scheduling model, we ensure that projects are allocated to team members possessing the required expertise.

The introduction of complexity ratings serves as a valuable tool for optimizing the allocation process. It enables a varied approach, ensuring that tasks align not only with individual preferences but also with the skillsets and proficiencies of the team members. This enhancement promotes a harmonious match between project requirements and the capabilities of their perspective workforce.

2. Workload Constraints

Additional improvement involves the incorporation of constraints that account for variations in project workload. This enhancement addresses the challenge of workload disparities among team members. By introducing constraints, the scheduling model ensures a fair distribution of tasks, minimizing the risk of specific individuals facing excessive workloads or being underutilized.

Balancing workloads is integral to sustaining a healthy and equitable work environment. The proposed constraints contribute to mitigating potential burnout among team members and promote a more balanced distribution of responsibilities. This, in turn, contributes to an overall enhancement of job satisfaction.

Conclusion

The practical evaluation and proposed enhancements review the dynamic nature of the scheduling process. By considering individual preferences, complexity ratings, and workload constraints, the scheduling model evolves into a comprehensive tool for promoting a positive work culture. These improvements not only address current challenges but also contribute to the ongoing refinement of the scheduling system, aligning it with the dynamics of the team.