Prelim II Next Tuesday
Prelim II is next Tuesday. The announcement isn’t on the course website yet, but here are review questions from 2000 spring, for the eager:
- You are given a graph G = (V, E) with weights we on its edges {e in E}. The weights can be negative or positive. The Zero-weight-cycle problem is to decide if there is a simple cycle in G so that the sum of the edge weights on this cycle is exactly 0.
Prove that this problem is NPcomplete.
- Since the 3Dimensional Matching problem is NPcomplete, it is natural to expect that the corresponding 4Dimensional Matching problem is at least as hard. Let us define 4Dimensional Matching as follows. Given sets W , X , Y , and Z, each of size n, and a collection C of ordered 4tuples of the form (wi , xj, yk, zl), do there exist n 4-tuples from C so that no two have an element in common?
Prove that 4Dimensional Matching is NPcomplete.
- Some of your friends have recently graduated and started a small company called WebExodus, which they are currently running out of their parents’ garages in Santa Clara. They’re in the process of porting all their software from an old system to a new, revvedup system; and they’re facing the following problem.
They have a collection of n software applications, {1, 2, . . . , n}, running on their old system; and they’d like to port some of these to the new system. If they move application i to the new system, they expect a net (monetary) benefit of bi >= 0. The different software applications interact with one another; if applications i and j have extensive interaction, then the company will incur an expense if they move one of i or j to the new system but not both — let’s denote this expense by xi,j >= 0.
So if the situation were really this simple, your friends would just port all n applications, achieving a total benefit of sum(bi . Unfortunately, there’s a problem . . . Due to small but fundamental incompatibilities between the two systems, there’s no way to port application 1 to the new system; it will have to remain on the old system. Nevertheless, it might still pay to port some of the other applications, accruing the associated benefit and incurring the expense of the interaction between applications on different systems.
So this is the question they pose to you: which of the remaining applications, if any, should be moved? Give a polynomial time algorithm to find a set S # {2, 3, . . . , n} for which the sum of the benefits minus the expenses of moving the applications in S to the new system is maximized.
Update:
New review problems have been posted here: www.cs.cornell.edu/courses/cs482/2005sp/review2.htm
This entry was posted on Sunday, April 10th, 2005 at 12:08 pm and is tagged with edge weights, port application, zero weight, collection c, prelim, tuples, incompatibilities, yk, software applications, garages, santa clara, graph, interaction, element, benefit, parents. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.
One Response to 'Prelim II Next Tuesday'
Leave a Reply
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:
- AMD updates chipset schedule for bnext/b year - AMD , AM3, 790FX b.../b
Sylvie Barak , bTuesday 2/b December 2008. 11:33:00 Making a brand new start of it, New York, New York NEWLY-FORMED AMD spinnoff, The Foundry Company has been given the green light by New York state's economic development arm, b.../b - The News-Gazette.com: Proposed Danville budget cuts targeting non b.../b
DANVILLE ? Mayor Scott Eisenhauer told aldermen bTuesday/b night that he has cut more than $960000 in expenses from bnext/b year's bpreliminary/b budget, and that those cuts include the elimination of some non-union personnel. b.../b - AP Entertainment - Video: It#39;s a Boy for Simpson, Wentz
Jennifer Hudson's estranged brother-in-law was charged bTuesday/b with three counts of first-degree murder in the shooting deaths of three of her family members. (Dec. b2/b) more. Video: Coldplay, Leona Lewis Top 2008 iTunes. b.../b - Crash victim was beloved cheerleading, fitness coach | Ocala.com b.../b
OCALA ? Parents and coaches at Ocala Elite, a popular place for children trained in gymnastics, dance and other activites, were in mourning bTuesday/b morning with the passing of a beloved coach, mentor and friend.Pedro. - Ford says CEO will work for $1 to get gov#39;t loans - The Delaware b.../b
The plans Ford submitted to Congress on bTuesday/b also say the company will cancel all management employees' 2009 bonuses and will not pay any merit increases for its North American salaried employees bnext/b year. b.../b

on November 12th, 2008 at 8:05 pm
yc8857degrl41hjx