COMS 482: unofficial class blog


Lecture 2: Some Representative Problems

Posted in Class Notes by Elliott Back on January 26th, 2005. [Del.icio.us]

1) Interval Scheduling: Given a set of line segments on the x-axis, choose the largest possible (by count) subset that is non-overlapping. For example, this represents a solution to scheduling a heavily requested conference room, minimizing the number of parties who don’t get the room.

2) Weighted Interval Scheduling: The same as (1), but now each line segment carries a “points” weight. The goal is to maximize the total number of “points.” For example, you could assign more points to groups requesting conference room time who have high-ranking executives in the meeting.

  • This is a harder problem than (1). A solution for Weighted Interval Scheduling degrades to Interval Scheduling when the weights are all one, but not vice verse

3) Independent Set: Given a graph G=(V, E), find the largest possible set of independent vertices, that is, the set of vertices not connected by an edge (example).

“Interval scheduling is a special case of Independent Set.”

Given a set S={s1, … , sn} of segments, create a vertex for each interval and connect two vertices if their intervals overlap:

4) Bipartite Matching: First, a definition. “Bipartite graph” means the vertex set is divided into 2 subsets V = X + Y such that X ^ Y = {}, i.e. there are only edges between the members of the two subsets. A perfect bipartite match would use all the vertices. Here, the goal is to find the largest possible matching. It is similar to the stable marriage problem.

“Bipartite matching is a special case of independent set.”

Convert a given bipartite matching problem (BPM) into an independent set (IS) problem by first creating an IS vertex for each edge in the BMP. Connect two vertices in the IS graph if their BPM edges share a vertex. Then select the largest Independent Set.

5) Competitive Facility Location: Given two restaurants, a weighted map of desirable block locations, and zoning laws that forbid adjacent shops, come up with a strategy to maximize your points in placing the restaurant locations turn by turn.

Summary:

  • Competitive Facility Location (PSPACE Complete)
    • Independent Set (NP Complete)
      • Bipartite Matching (Network Flow)
      • Weighted Interval Scheduling (Dynamic Programming)
        • Interval Scheduling (Greedy)

This entry was posted on Wednesday, January 26th, 2005 at 2:09 pm and is tagged with , , , , , , , , , , , , , , , , , , , . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

Leave a Reply

Show some love for the unmitigated and world-wide WP-Hashcash!

Please take time to enjoy the archives: May 2005 (1) April 2005 (11) March 2005 (11) February 2005 (15) January 2005 (7)

Fresh, related resources:

Supplied by Google Blog Search
  • Revenge of the Balkans
    For some time now, Russians have been wondering: if our opinion counts for nothing in those institutions, do we really need them? Just to sit at the nicely set dinner table and listen to lectures? Indeed, Russia has long been told to ...
  • Utah Policy Daily - Today's political briefing for Utah policymakers
    Sept 4: YWCA?s Young Women?s Leadership Board brown-bag lunch lecture series, 12:15 pm, YWCA, 322 E. 300 S., Salt Lake City. Topic: Women in Office: Why it Makes a Difference with guest speaker Representative Roz McGee. All are invited. ...
  • 52booksproject @ 2008-08-27T12:32:00
    Place 5 pounds of currants, 3 of sugar, 2 pecks of peas, 18 roast chestnuts, a candle, and 6 bushels of turnips, within his reach. If he eats these, constantly provide him with more. Then procure some cream, some slices of Cheshire ...
  • "TGIT"
    It was an interesting class because the Ghanian representative to the UNHCR (United Nations High Commission on Refugees) gave a special lecture. So I have yet to see what my actual professor?s lectures will be like for that class. ...
  • 20080827 Econ 113 Handout
    Problem sets, 1500 and 500 word paper, et cetera: 20%. Assignments due Wednesday at lecture... Lecture reactions: 10%; Section participation: 10%. Section week starts Thursday morning... Overview of Course: ...