Kalpana Kalpana (Editor)

Capacitated minimum spanning tree

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Capacitated minimum spanning tree is a minimal cost spanning tree of a graph that has a designated root node r and satisfies the capacity constraint c . The capacity constraint ensures that all subtrees (maximal subgraphs connected to the root by a single edge) incident on the root node r have no more than c nodes. If the tree nodes have weights, then the capacity constraint may be interpreted as follows: the sum of weights in any subtree should be no greater than c . The edges connecting the subgraphs to the root node are called gates. Finding the optimal solution is NP-hard.

Contents

Algorithms

Suppose we have a graph G = ( V , E ) , n = | G | with a root r G . Let a i be all other nodes in G . Let c i j be the edge cost between ver a i and a j which form a cost matrix C = c i j .

Esau-Williams heuristic

Esau-Williams heuristic finds suboptimal CMST that are very close to the exact solutions, but on average EW produces better results than many other heuristics.

Initially, all nodes are connected to the root r (star graph) and the network's cost is i = 0 n c r i ; each of these edges is a gate. At each iteration, we seek the closest neighbor a j for every node in G r and evaluate the tradeoff function: t ( a i ) = g i c i j . We look for the greatest t ( a i ) among the positive tradeoffs and, if the resulting subtree does not violate the capacity constraints, remove the gate g i connecting the i -th subtree to a j by an edge c i j . We repeat the iterations until we can not make any further improvements to the tree.

Esau-Williams heuristics for computing a suboptimal CMST:

function CMST(c,C,r): T = { c 1 r , c 2 r , ..., c n r } while have changes: for each node a i a j = closest node in a different subtree t ( a i ) = g i - c i j t_max = max( t ( a i ) ) k = i such that t ( a i ) = t_max if ( cost(i) + cost(j) <= c) T = T - g k T = T union c k j return T

It is easy to see that EW finds a solution in polynomial time.

Sharma's heuristic

Sharma's heuristic.

Applications

CMST problem is important in network design: when many terminal computers have to be connected to the central hub, the star configuration is usually not the minimum cost design. Finding a CMST that organizes the terminals into subnetworks can lower the cost of implementing a network.

References

Capacitated minimum spanning tree Wikipedia