1 / 19

Workshop assignment problem

Workshop assignment problem. Sarah Applegate Spring 2010. outline. Problem Origin Motivation Description Restrictions Representation Proof NP NP-Complete. Problem Origin.

talor
Download Presentation

Workshop assignment problem

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Workshop assignment problem Sarah Applegate Spring 2010

  2. outline • Problem • Origin • Motivation • Description • Restrictions • Representation • Proof • NP • NP-Complete

  3. Problem Origin The problem is how to assign each of two kinds of workshops, which take a certain amount of time to complete, to each adviser, who has a set amount of time in which they are free from other obligations.

  4. Problem Motivation • Scheduling Problems • Operating Systems • Personnel • Conferences

  5. Problem Description • There are two kinds of workshops, A and B. • There are N workshops • Each workshop, whether type A or type B takes a unique amount of time to grade. • There are M graders • Any grader, i, has a unique amount of time Ti to dedicate to grading workshops.

  6. Problem Description • Given: N workshops, with unique types and time requirements, and M graders, with unique time availabilities. • Question: How do we assign each workshop to the available graders so that every workshop is graded in the available time?

  7. Assumption • Each grader grades at the same pace

  8. Restriction 1 • Ignore multiple types of workshops

  9. Restriction 1 • There are N workshops • Any workshop, i, requires a unique amount of time Ti to grade • There are M graders • Any grader, j, has a unique amount of time Tj to dedicate to grading workshops.

  10. Restriction 1 • Given: N workshops, with unique time requirements, and M graders, with unique time availabilities. • Question: How do we assign each workshop to the available graders so that every workshop is graded in the available time?

  11. Restriction 2 • Create a Decision Problem

  12. Restriction 2 • Given: N workshops, with unique time requirements, and M graders, with unique time availabilities. • Question: Can we assign each workshop to the available graders so that every workshop is graded in the available time?

  13. Problem Representation • Given: N workshops and M graders, where any workshop can be assigned to any grader. • For each i, workshop i takes Ti time to grade and, for each j, grader j has Tj available time. • Question: Can the workshops be assigned to the graders so that all of them can be graded?

  14. Proof: NP • If we are given a ‘Yes’ instance of WAP and its solution we can verify the solution in polynomial time.

  15. Proof: Np for j = 1 to M Sum the Ti ‘s assigned to grader j Compare this value to Tj This requires O(MN) to complete

  16. Proof: NP-Complete • Partition =>p WAP • Partition Problem: • Given: a set S • Question: Can we partition S into two subsets A and B such that ∑Ai = ∑Bi?

  17. Proof: NP-Complete • Accept any instance of Partition, S • Let n = |S| and B = ∑Si • Assign Ti = Si for 1 ≤ i ≤ n • Let there be two grades, G1 and G2 • G1 and G2 both have B time available • Solve the created instance of WAP • This is the answer for the instance of Partition

  18. Proof: NP-Complete • Yes Instance • No Instance

  19. References Computers and Intractability: A Guide to the Theory of NP-Completeness.Garey, Michael and Johnson, DavidW. H. Freeman and Company, 1979.

More Related