Let,
Xi = number of employees NOT working on day i [ i= Mon,Tue,Wed…..Sun]
Objective is to minimize total no of workers = Min X1+X2+X3+X4+X5+X6+X7
Subject to,
X2+X3+X4+X5+X6+X7 >= 8 [ No of minimum workers needed on Monday = 8]
X1+X3+X4+X5+X6+X7 >= 6 [ No of minimum workers needed on Tuesday = 6]
X1+X2+X4+X5+X6+X7 >= 7 [ No of minimum workers needed on Wednesday = 7]
X1+X2+X3+X5+X6+X7 >= 6 [ No of minimum workers needed on Thursday = 6]
X1+X2+X3+X4+X6+X7 >= 9 [ No of minimum workers needed on Friday = 9]
X1+X2+X3+X4+X5+X7 >= 11 [ No of minimum workers needed on Saturday = 11]
X1+X2+X3+X4+X5+X6 >= 9 [ No of minimum workers needed on Sunday = 9]
Xi >= 0 (No of workers can not be less than 0)
Xi = Integer (No of workers is integer)
Solving in excel we get,
Minimum no of total employee = 11
No of employees not working on each day
Day |
No of employee not working on the day |
Monday |
3 |
Tuesday |
5 |
Wednesday |
3 |
Thursday |
0 |
Friday |
0 |
Saturday |
0 |
Sunday |
0 |
Solver screenshot
Formulas explained:
Constraint screenshot
Answer report
Work Scheduling: Burger Queen would like to determine the min # of kitchen employees. Each employ...
Program 5: Design (pseudocode) and implement (source code) a program (name it Weekl yHours) to compute the total weekly hours for 3 employees. The program main method defines a two-dimensional array of size 3x7 to store employers' daily hours for the week. Each row represents one employee and each column represent one day of the week such that column 0 designates Monday, column 1 designates Tuesday, etc. The program main method populates the array with random numbers between 0 and...
IN PYTHON the original problem was Design (pseudocode) and implement (source code) a program (name it WeeklyHours) to compute the total weekly hours for 3 employees. The program main method defines a two-dimensional array of size 3x7 to store employers’ daily hours for the week. Each row represents one employee and each column represent one day of the week such that column 0 designates Monday, column 1 designates Tuesday, etc. The program main method populates the array with random numbers...
Actions that damage a company and its employees should be stamped out, everyone would agree. But should the people responsible be stamped out, too? HBR CASE STUDY The Reign of Zero Tolerance by Ben Gerson "Mr. Pemberton?" manager. The guards had radioed her that the "Yes, that's me," Simon replied distractedly, his back turned. target wasn't putting up much resistance. "Your personal belongings will be messen The two burly gentlemen who had suddenly gered to your home later today," Sallie...