CO-351-1075-Midterm_exam

# CO-351-1075-Midterm_exam - ID Page 2 of 8 a-2-2 c d 1 s-2-1...

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

ID: Page 2 of 8 -2 1 2 -2 -1 4 -2 1 -1 1 c a b s d e f Problem 1: [10 marks] Using Dantzig’s Algorithm, either find a tree of shortest dipaths rooted at s , or find a negative dicycle in the digraph above. (Start with the spanning tree indicated by the edges in bold.)

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

View Full Document
ID: Page 3 of 8 Problem 2: [10 marks] A company sends its products via courier to its clients. For the next n days, the number of orders on the i -th day is d i . The cost of shipping d parcels in a day is p ( d ). Naturally p ( d + d ) p ( d ) + p ( d ). Thus it may be more ecconomical to delay sending out orders on one or more days to take advantage of the bulk postage rates. However, the company pays a penalty of c ( i ) for each parcel that is i -days late. On which of the next n days should the company ship its parcels in order to minimize its costs (mailing plus penalties)? Formulate this problem as a shortest ( s, t )-dipath problem.
ID: Page 4 of 8 Problem 3: [10 marks] Let D = ( N, A ) be a digraph with arc-lengths ( w uv : uv A ), and let s, t N . Now let b s = - 1, b t = 1, and b v

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