Question
3. From Assignment 5's linear programming question. Solve the linear program model using solver. The Assignment 5 question is copied below: A 24-hour pharmacy/drug store
3. From Assignment 5's linear programming question. Solve the linear program model using solver. The Assignment 5 question is copied below:
A 24-hour pharmacy/drug store needs to plan for staffing but wants to cut costs to a minimum. The employees work 8-hour shifts. The pharmacy/drug store needs 12 staff between 8 am and noon, 10 staff between noon and 4 pm, 14 staff between 4 pm and 8 pm, 10 staff between 8 pm and 12 am, and only 6 staff between 12 am and 8 am. How should the drug store employees be scheduled? (Assumption: Schedule of staff is only on 4-hour intervals of midnight, 4am, 8am, noon, 4pm, and 8pm.)
Linear Program to use for your solver solution:
Decision variables represent different 8-hours shifts starting at 4am (x6), 8am (x1), noon(x2), 4pm(x3), 8pm(x4), and midnight (x5)
Min Z = x1 + x2 + x3 + x4+ x5+ x6
Subject to (constraints)
x1 + x6 >= 12
x1 + x4 >= 10
X4 + x2 >= 14
X2 + x5 >= 10
x5 + x3 >= 6
x3 + x6 >= 6
All variables >= 0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started