{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# HW3 - Homework#3 Due Date Wednesday October 13th start of...

This preview shows pages 1–2. Sign up to view the full content.

Homework #3 Due Date: Wednesday, October 13th, start of class 1. A new Indian restaurant called ‘Mayura’ is gaining popularity amongst USC students due to its food quality. To improve customer service, the restaurant staff have decided to put up an online menu so that customers arrive at Mayura with their order choices already decided prior to arrival. However, every day, at 9 PM, several customers arrive simultaneously with dinner orders, and that becomes too much for the only chef at Mayura to handle, who can process only one order at a time. The chef complains to his miserly manager, who refuses to hire another chef. Instead, he resorts to Ranjan, who is a frequent customer, for suggestions about how the chef could sequence customer requests so as to minimize the average wait time, 1 n n i =1 w i , for each customer. (For example, if there are 3 customers with food preparation times (in minutes) t 1 = 2 , t 2 = 4 , t 3 = 3, and the customers are served in order (3 , 1 , 2), the wait times of customers are w 3 = 3 , w 1 = 5 , w 2 = 9, with average wait time of 17 3 .) (a) Give an efficient algorithm to find the optimal order to serve the customers with

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern