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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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...
View Full Document

This note was uploaded on 12/13/2010 for the course CSCI 570 at USC.

Page1 / 2

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online