Question: Let G = ( V , E ) be a graph with nonnegative edge costs. S and R are two disjoint subsets of V ,
Let G V E be a graph with nonnegative edge costs. S and R are two
disjoint subsets of V where S is a set of senders and R is a set of receivers. The problem is to find a minimum cost subgraph of G that has a path connecting each receiver to a sender any sender
suffices
If S R V show that this problem is in P
If S R V show that this problem is NPhard. Give a approximation algorithm for this case.
The hint for proving that the problem is NPhard is to add a new vertex connected to each sender by a zero cost edge and transform the problem to the Steiner tree problem.
Given an undirected graph G V E with nonnegative edge costs and whose vertices are partitioned into two sets, required and Steiner, a Steiner tree is a tree in G that spans the required set. The Steiner tree problem is to find a minimum cost tree in G that contains all the required vertices and any subset of the Steiner vertices. The decision form of the Steiner tree problem is defined as follows: given an undirected graph G V E a subset of the vertices R V terminal nodes and a number k in N is there a subtree of G that includes all the vertices of R ie a spanning tree for R and that has cost at most k This problem is proven NPcomplete.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
