55.2k views
0 votes
Your clothing store is open seven days a week from 9 am to 9 pm you are the manager of three employees each of whom want to work at least 24 hours a week. Each employee can work the 9 am to 3 pm shift or the 3 on to 9 pm shift and at least one weekend day. No one can work both shifts on the same day make up a schedule that will meet these requirements

1 Answer

5 votes

1 represents they are scheduled to work the 9am-3pm shift

2 represents they are scheduled to work the 3pm - 9pm shift

0 represents they are not scheduled to work that day


\begin{array}c&Mon&Tue&Wed&Thu&Fri&Sat&Sun\\Employee\ 1&1&1&1&1&0&0&1\\Employee\ 2&0&2&2&2&2&2&0\\Employee\ 3&2&0&0&0&1&1&2\end{array}

Employees 1 & 2 will work 30 hours and have 2 days off in a row

Employee 3 will work 24 hours and have 3 days off in a row

User Volodymyr Boyko
by
5.7k points