[PDF] Weight-Constrained Minimum Spanning Tree Problem





Previous PDF Next PDF



Chapter 23 Minimum Spanning Trees Chapter 23 Minimum Spanning Trees

• A minimum spanning tree is a spanning tree where the sum of the weights on the • Solution 1: Kruskal's algorithm. – Work with edges. – Two steps: • Sort ...



The Capacitated Minimum Spanning Tree Problem

Another important and natural improvement heuristic is to compute the MST of the s-trees which are part of the solution obtained by a construction algorithm.



Chapter 14 Minimum Spanning Tree

We call this a shortcut edge. Example 14.8. The figure on the right shows a solution to TSP with shortcuts drawn in red. Starting at a



Weight-Constrained Minimum Spanning Tree Problem

٢٧ ربيع الآخر ١٤٢٨ هـ Example 1.3 Minimum Cost Reliability Constrained Spanning Tree. An ... The solution of the algorithm is a tree T with c(T) = n and w(T)=1 ...



Minimal Spanning Tree and Shortest Path Problems

١٦ رجب ١٤٤١ هـ Figure 3: A shortest path tree in a network with Euclidean distances as weights (Example 2). Dijkstra's algorithm. The standard solution to the ...



Lecture 7: Minimum Spanning Trees and Prims Algorithm

A Minimum Spanning Tree in an undirected connected weighted graph is a spanning tree of minimum weight. (among all spanning trees). Example:.



Applications of minimum spanning trees

There's a straightforward way to use the MST to get a. 2-approximation to the optimal solution to the traveling salesman problem and the. Christofides 



COSC-311 Sample Midterm Questions 1 Minimum Spanning Trees COSC-311 Sample Midterm Questions 1 Minimum Spanning Trees

Ryan's cool new Minimum Spanning Tree algorithm works as follows on a graph with n vertices: • Initialize set T = ∅ and S = u where u is a randomly chosen 



The constrained minimum spanning tree problem

Keywords: Approximation algorithm minimum spanning trees



3 1. The minimum spanning tree problem We met this problem in our 3 1. The minimum spanning tree problem We met this problem in our

consider traveling from IGA to M in the first solution to our MST example). (b) There are many spanning sub-graphs of a given graph. It is extremely time 



Chapter 23 Minimum Spanning Trees

Minimum Spanning Trees. • Solution 1: Kruskal's algorithm. – Work with edges. – Two steps: • Sort edges by increasing edge weight.



COSC-311 Sample Midterm Questions 1 Minimum Spanning Trees

COSC-311 Sample Midterm Questions not represented in the sample problems. ... Ryan's cool new Minimum Spanning Tree algorithm works as follows on a ...



Weight-Constrained Minimum Spanning Tree Problem

May 14 2007 Example 1.3 Minimum Cost Reliability Constrained Spanning Tree ... optimal solution of the weight-constrained minimal spanning tree problem.



Chapter 6: Graph Theory

circuits. The red edges are the MST (minimum spanning tree). Example 6.2.5: Using Kruskal's Algorithm. Figure 6.2.7: Weighted Graph 2.



Algorithms for the Min- Max Regret Minimum Spanning Tree Problem

Jul 3 2017 Is possible to observe that using an initial solution brings an improvement of



Minimum Spanning Trees

The MST problem has many applications: For example think about connecting cities with minimal amount of wire or roads (cities are vertices



Applications of minimum spanning trees

There's a straightforward way to use the MST to get a. 2-approximation to the optimal solution to the traveling salesman problem and the. Christofides' 



Ch.07 Shortest Route Minimal Spanning Tree

http://contents.kocw.or.kr/KOCW/document/2015/chungang/ahnbonghyun/09.pdf



Chapter 15 Minimum Spanning Tree

Example 15.2. undirected connected graph using minimum spanning trees. Since the solution to TSP visits every vertex once (returning to the origin) ...



A linear programming approach to increasing the weight of all

minimum spanning trees is equal to some target value. We formulate Section 5 we give the algorithm that builds a primal and a dual solution.



[PDF] Chapter 23 Minimum Spanning Trees - UTK EECS

Minimum Spanning Trees • Solution 1: Kruskal's algorithm – Work with edges – Two steps: • Sort edges by increasing edge weight



[PDF] Lecture 7: Minimum Spanning Trees and Prims Algorithm

A Minimum Spanning Tree in an undirected connected weighted graph is a spanning tree of minimum weight (among all spanning trees) Example:



[PDF] Minimum Spanning Trees

Answer: Run BFS or DFS; the resulting BFS- or DFS-tree are spanning trees of G The minimum spanning tree (MST) problem is the following: Given a connected 



[PDF] CSE 373: Minimum Spanning Trees: Prim and Kruskal - Washington

26 fév 2018 · Minimum spanning trees: Applications Example questions: ? We want to connect phone lines to houses but laying down cable is expensive



[PDF] Minimum Spanning Tree in Graph - CSE IIT Delhi

A minimum-cost spanning tree is a spanning tree that has the lowest cost Prim's algorithm: Start with any one node in the spanning tree and repeatedly 



[PDF] 86: Minimum Spanning Tree - Whitman People

For a network with n nodes a spanning tree is a group of n - 1 arcs that connects all nodes of the network and contains no loops Example



[PDF] minimum spanning trees - Sathyabama

MINIMUM SPANNING TREES Weight of an edge: Weight of an edge is just of the value of the edge or the cost of the edge For example a graph representing 



[PDF] ECE-250 Course Slides -- Minimum spanning trees

21 mar 2012 · Discuss the notion of minimum spanning trees ? Look into two algorithms to find a minimum spanning tree: – Prim's algorithm



[PDF] Minimum Spanning Tree

Algorithms ROBERT SEDGEWICK KEVIN WAYNE 4 3 MINIMUM SPANNING TREES ? introduction ? greedy algorithm ? edge-weighted graph API ? Kruskal's algorithm



[PDF] Minimum Spanning Trees - Prim Kruskal NP-complete problems

A spanning tree i e a subgraph being a tree and containing all vertices having minimum total weight (sum of all edge weights) 2 0 1 3 5 4 1 3

  • What is an example of a minimal spanning tree?

    A minimum spanning tree is a special kind of tree that minimizes the lengths (or “weights”) of the edges of the tree. An example is a cable company wanting to lay line to multiple neighborhoods; by minimizing the amount of cable laid, the cable company will save money.
  • How do you solve spanning tree problems?

    Creating Minimum Spanning Tree Using Kruskal Algorithm

    1Step 1: Sort all edges in increasing order of their edge weights.2Step 2: Pick the smallest edge.3Step 3: Check if the new edge creates a cycle or loop in a spanning tree.4Step 4: If it doesn't form the cycle, then include that edge in MST.
  • What is minimum spanning tree of a graph example?

    Given a graph G=(V,E), a subgraph of G that is connects all of the vertices and is a tree is called a spanning tree . For example, suppose we start with this graph: We can remove edges until we are left with a tree: the result is a spanning tree. Clearly, a spanning tree will have V-1 edges, like any other tree.
  • A spanning tree is a subset of Graph G, which has all the vertices covered with minimum possible number of edges. Hence, a spanning tree does not have cycles and it cannot be disconnected.. By this definition, we can draw a conclusion that every connected and undirected Graph G has at least one spanning tree.
University of KaiserslauternDepartment of Mathematics

Diploma Thesis

Weight-Constrained Minimum Spanning

Tree Problem

by Sebastian Tobias Henn

May 2007

Supervisors:

Prof. Dr. Horst W. Hamacher

Dipl.-Math. Stefan Ruzika

AbstractIn an undirected graph G we associate costs and weights to each edge. The weight-constrained minimum spanning tree problem is to find a spanning tree of total edge weight at most a given value W and minimum total costs under this restriction. In this thesis a literature overview on this NP-hard problem, theoretical properties concerning the convex hull and the Lagrangian relaxation are given. We present also some in- and exclusion-test for this problem. We apply a ranking algorithm and the method of approximation through decomposition to our problem and design also a new branch and bound scheme. The numerical results show that this new solution approach performs better than the existing algorithms. 2

AcknowledgementsMy special thanks go to Professor Horst W. Hamacher who made this thesis possible. I would like

to express my gratitude to Stefan Ruzika, his assistance, criticism and advice was most helpful. Thanks are also due to Nico Behrent and Hans Sch¨onemann, fortheir support on C++ and Singular. Thanks to my colleague Michael Busch for proofreading this thesis. Finally, I would like to thank my entire family, who supported me during my whole studies. 3

Contents

1 Introduction7

1.1 Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

1.2 Literature Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 9

1.3 Chapter Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 10

1.4 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 11

2 Spanning Trees13

2.1 Definitions and Properties . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 13

2.2 Minimal Spanning Tree Problem . . . . . . . . . . . . . . . . . . . . . .. . . . . 15

2.3 Optimality Conditions for the WCMST . . . . . . . . . . . . . . . . .. . . . . . 16

2.4 Algorithms for the Minimal Spanning Tree Problem . . . . . .. . . . . . . . . . 17

3 Different Formulations21

3.1 Generalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 21

3.2 WCMST as Integer Program I . . . . . . . . . . . . . . . . . . . . . . . . . .. . 22

3.3 WCMST as Integer Program II . . . . . . . . . . . . . . . . . . . . . . . . .. . . 23

3.4 The Weight-Constrained Minimal Arborescence Problem .. . . . . . . . . . . . . 24

3.5 Dual Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 25

4 Interpretation as Matroid Optimization Problem26

4.1 Basics in Matroid Theory . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 26

4.2 Matroid Optimization Problem . . . . . . . . . . . . . . . . . . . . . .. . . . . . 27

4.3 Weight-Constrained Matroid Optimization Problem . . . .. . . . . . . . . . . . 28

5 Complexity29

6 Convex Hull31

6.1 WCMST as Bicriterial Problem . . . . . . . . . . . . . . . . . . . . . . .. . . . . 31

6.2 Adjacency and Connectedness . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 33

6.3 Neighborhood- and Adjacency-Search [3] . . . . . . . . . . . . .. . . . . . . . . . 35

4 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

7 Lagrangian Relaxation37

7.1 Definition and Properties . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . 37

7.2 Lagrangian Relaxation and Convex Hull . . . . . . . . . . . . . . .. . . . . . . . 40

7.3 Algorithms for Finding the Extreme Points and the Lagrangian Dual . . . . . . . 41

7.4 Quality of the Lagrangian Relaxation . . . . . . . . . . . . . . . .. . . . . . . . . 46

8 Alternative Relaxation49

9 In- and Exclusion Tests54

9.1 Inclusion Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 54

9.2 Exclusion Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 57

10 Dependence of Costs and Weights62

10.1 Monotony . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 62

10.2 Linear Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 63

10.3 Proportional / Inverse Proportional Costs and Weights. . . . . . . . . . . . . . . 64

11 Exact Algorithms66

11.1 Branch and Bound Algorithms . . . . . . . . . . . . . . . . . . . . . . .. . . . . 66

11.1.1 The Algorithm of Aggarwal, Aneja and Nair [1] . . . . . . .. . . . . . . . 67

11.1.2 The Algorithm of Shogan [37] . . . . . . . . . . . . . . . . . . . . .. . . . 71

11.1.3 The Algorithm of Ruzika and Henn . . . . . . . . . . . . . . . . . .. . . 74

11.1.4 The Algorithm of Yamada, Watanabe and Kataoka [39] . .. . . . . . . . 89

11.2 The Algorithm of Hong, Chung and Park [27] . . . . . . . . . . . .. . . . . . . . 90

11.3 Ranking Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 97

11.4 CNOP-Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 102

12 Approximations104

12.1 Approximation of Goemans and Ravi [18] . . . . . . . . . . . . . .. . . . . . . . 104

12.2 Approximation of Hassin and Levin [23] . . . . . . . . . . . . . .. . . . . . . . . 110

12.3 Neighborhood-Search of Yamada, Watanabe and Kataoka [39] . . . . . . . . . . . 115

12.4 Fully Polynomial Bicriteria Approximation [27] . . . . .. . . . . . . . . . . . . . 116

12.5 Approximation through Decomposition . . . . . . . . . . . . . .. . . . . . . . . . 120

13 Numerical Results132

13.1 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 132

13.2 Test Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 132

13.3 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 133

14 Conclusion155

14.1 Summary of the Main Results . . . . . . . . . . . . . . . . . . . . . . . .. . . . . 155

14.2 Further Research . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 155

5 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

List of Algorithms158

Bibliography160

6

1 Introduction1.1 ProblemIn this diploma thesis we focus on a problem from graph theory. Therefore we consider an

undirected graphG= (V,E) with a set of verticesV={1,2,... ,n}and a set of edgesEwith cardinalitym, where we associate to each edgee?Ecostsceand a weightwe. A very popular concept of this mathematical field are the spanning trees of agraph.

Definition 1.1

A spanning treeTis a connected subgraph ofGwhich contains no cycle and all vertices ofG. The problem is to find a spanning tree with minimal costs underthe constraint that the weight of the tree is not greater than a given constantW. We can state our problem in the following way. Problem 1Weight-Constrained Minimal Spanning Tree Problem

OPT:= min?

e?Tc e(1.1) s.t. e?Tw

T? T(1.3)

whereTis the set of all spanning trees inG. For simplification we denote the costs of a treeTasc(T) =? e?Tceand the weight of a tree

Tasw(T) =?

e?Twe. We call this problemweight-constrained minimal spanning tree problem (WCMST)and in the multidimensional case with a vector of weights on each edgeresource- constrained minimal spanning tree problem (RCMST)where for each edgeLresources are given and for each of them a constraint has to be satisfied. Problem 2Resource-Constrained Minimal Spanning Tree Problem min e?Tc e(1.4) s.t. e?Tw

T? T(1.6)

7 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

Example 1.1

Let the following graphGwithn= 11andm= 18be given: (ce,we) (4,8) (3,6) (1,8) (5,6) (9,7) (1,1) (1,17) (1,4) (8,0) (2,5) (3,0) (2,9) (6,8) (3,3) (4,4) A minimal spanning tree ignoring the weight constraint is: (ce,we) (1,8) (1,1) (1,17) (1,4) (2,5) (3,0) (4,4) This tree has the costsc(T) = 20and the weightw(T) = 48. If we search for a minimal spanning tree with weight less or equal than 33, this tree is not feasible. An optimal solution withc(T) = 24 andw(T) = 33is the following tree. (ce,we) (1,8) (1,1) (1,4) (2,5) (3,0) (4,4) 8 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

1.2 Literature Overview

In this thesis our nomenclature is related to the paper of Xue[38] and to the publication of Dumitrescu and Boland [12], which discusses the problem of finding a shortest path instead of a spanning tree. In the literature very different denotationsfor our problem can be found: Minimal spanning tree subject to a side constraint, minimal spanning tree subject to a budget constrained, knapsack constrained minimum spanning tree problem and constrained minimum spanning tree problem. The name "constrained minimum spanning tree" usedin two on this problem most important papers, the article of Goemans and Ravi [18] respectively the publication of Hong, Chung and Park [27], seems not to be precise enough since a large number of different problems of finding a minimal spanning tree with some constraint exists. Deo and Kumar study in [11] 29 constrained spanning tree problems. Some examples:

•Degree-Constrained Minimal Spanning Tree Problem:The goal is to find a minimal spanning tree under the conditionthat the degree of each

alli?V.

•Diameter-Constrained Minimal Spanning Tree ProblemThe aim is to find a minimal spanning tree such that the largestunique path between two

nodes on the tree contains at least a given number of edges. Ifweights for each edge are given, the problem can be extended to the problem of finding a minimal spanning tree under the condition that the weight of every path between twonodes is smaller than a given value.

•Hop-Constrained Minimal Spanning Tree ProblemThis is a special case of the diameter-constrained minimal spanning tree problem: We

search for a minimal spanning tree such that the number of edges in the shortest path along the tree from a fixed node 0 to all other nodes is smaller than a valueB.

•Capacitated Minimal Spanning Tree Problem:For every nodei?Va weight or a demanddiis given. Additionally, we have a valueC.

For a setS?Vwe defined(S) =?

i?Sdiandδ-(S) ={(i,j)?E i?V\S,j?S}. The problem is to find a minimal spanning treeTsuch that|T∩δ-(S)| ≥ ?d(S)

C?for allS?V.

•Weight-Constrained Minimal Spanning Tree With Flow Requirements: Additionally to Problem 1 we identify one single vertex as source and associate a demand of infinity. All other nodesi?Vare interpreted as sinks and have a demanddi. The goal is to find a minimal spanning tree which satisfies the flow requirements and the weight- constraint. By definition of some problems the tree has to be directed. Thedescription and some remarks to the directed version of the WCMST-problem, the so calledweight-constrained minimum ar- borescence problem(WCMA), are given in Chapter 3. 9 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem Only a few considerations have been published to our problem: The WCMST was first mentioned in the paper of Aggarwal, Aneja and Nair in 1982 [1]. In the literature two main approaches are used to solve the problem exactly. On the one hand a Lagrangian relaxation to approximate a solution combined with a branch and bound strategy ([1], [37]) and on the other hand a more innovating approach by using the matrix tree theorem [27]. The most important publications to the problem are the paper of Aggarwal, Aneja and Nair and the paper of Shogan [37] which give some exact algorithms, the article of Goemans and Ravi [18] which contains an approximation scheme and the paper of Hong, Chung and Park [27] which proposed an exact algorithm by using the matrix tree theorem. The publication of Xue [38] contains only an algorithm for computing the Lagrangian relaxation, and in [23] Hassin and Levin improve the results from [18]. In [39] the authors Yamada and Wantanabe consider a maximum spanning tree problem subject to a weight constraint. We can easily apply this to the minimization case. A few sources refer to the publication of Morozov [33]. This text is written in Russianand was not found in non-Russian literature. Unfortunately, from the sources it can not be concluded what the content of this paper is like. In [4] is only mentioned that a polynomial approximation algorithm is published. A further article in Chinese published and not available in English is the paper of Li and Yao [28]. In the abstract it can be read that the NP-completenessis proven, with a dual algorithm of generalized linear programming the upper bound was estimated and the character of an optimal solution was analyzed.

1.3 Chapter Outline

In Chapter 2 we collect some basic definitions from graph theory and focus on the minimal cost spanning tree problem. These results become relevant for other parts of this thesis. Chapter 3 introduces different formulations for our problem. Chapter4 shows the relation between spanning trees and matroids which allows us to state our problem in a more general way. In Chapter 5 we classify the complexity of our problem. The consideration of a bicriterial optimization problem allows us in Chapter 6 to state some conclusion for the convexhull of our problem which will be connect to the Lagrangian relaxation in Chapter 7. Chapter 8reviews an alternative relaxation approach. In Chapter 9 we develop some possibilities to reduce the complexity of a problem by in- and exclusion methods. Chapter 10 focus on a relation between the costs and the weight of an edge. Chapter 11 gives an overview over all existing exact solution methods and a new branch and bound scheme. All known approximation algorithms for the WCMST are described in Chapter 12. The numerical results are presented in Chapter 13 and finally we summarize the results of this thesis and give an outlook for further research in Chapter 14. 10 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

1.4 Application

To motivate our considerations we present two applications:

Example 1.2Designing Physical Systems

In Ahuja, Magnanti and Orlin [2] some possible applicationsfor the simple minimal spanning tree problem are given. They list some problems of physical systems where a spanning tree structure is needed:

•Pipeline ConstructionA pipeline network connecting a number of towns should be constructed: We search for the

smallest possible total length of the pipeline.

•Linking Isolated VillagesThere are several villages given which are connected by roads but not by telephone lines.

The aim is to determine along which stretches of road the telephone lines should be placed such that the total of road length is minimized. In both cases we have to solve a minimal spanning tree problem. For the construction costs we can remark that the pipeline / telephone line with smallest total length need not be automatically the cheapest way of connecting the towns (e.g. a mountain must be passed by a tunnel etc.). If the construction costs should not exceed a given value we have to add a budget constraint. This is a WCMST where the objective function is to minimize the total length and the constraint that the costs are smaller then the budget limit.

The second application is sketched in [38]:

Example 1.3Minimum Cost Reliability Constrained Spanning Tree An important application of our problem is the minimum cost reliability constrained spanning tree problem in communication networks: We havenstations in the plane which can communicate with each other. The goal is to find a minimum cost connection (for instance the costs are modelled by distancesdefore={i,j}between the stationsiandj) under the restriction that the reliability of a connection (as spanning tree) described bya probabilitypefor each pair of stations i,jis greater than a limitP?[0,1]. min e?Td e s.t. e?Tp e≥P T? T

We can reformulate the constraint

e?Tp e≥P?log? e?Tp e≥logP??e?Tlogpe≥logP. 11 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

This is by multiplying with(-1)equivalent to

So we can interpret the minimum cost reliability constrained spanning tree as weight-constrained minimal spanning tree problem. 12

2 Spanning TreesThe minimal spanning tree problem is one of the most popular problems in graph theory and

therefore a lot of literature concerning fast algorithms can be found. In this chapter we collect some basic definitions from graph theory, properties concerning spanning trees and some facts for the minimal spanning tree problem which might become usefulfor our problem. Also we use the two optimality conditions for the minimal spanning tree problem to obtain optimality conditions for the weight-constrained minimal spanning tree problem.

2.1 Definitions and Properties

The denotations and results in this section are taken from Ahuja, Magnanti and Orlin [2]. In the first chapter we gave the definition of the a spanning tree.If only the denotation tree is used we talk about a connected subgraph that contains no cycle. The whole set of vertices need not necessarily be contained in the tree. For simplification we use the following notations: For an edgee?Ewhich connects the verticesiandjwe can writee={i,j}. (In the directed case -e goes fromitoj- the denotatione= (i,j) is used. We callithesourceofeandjthetargetof e.) To characterize a spanning tree we define firstly a path.

Definition 2.1Path

A pathPis a sequence of vertices(i1,...,ik,ik+1,...,iK)witheikik+1={ik,ik+1} ?Efor all k? {1,...,k}and without any repetition in the set of vertices.

For a spanning tree we can state some properties.

Property 2.1

LetTbe a spanning tree ofG. Then we have the following properties:

1.Thas at least two leaves, where a leaf is a vertex which is endpoint of exactly one edge.

2.Tcontainsn-1edges.

3. Every pair of vertices inTis connected by exactly one path.

A very important ingredient for several algorithms in the next chapters is the concept of ex- changing some edges for a spanning tree.

Definition 2.2T-exchange

A T-exchange is a pair of edges[e,f]such that fore?Tandf /?Tthe setT\ {e} ? {f}is a spanning tree. We define the costs of aT-exchange asc[e,f] :=cf-ce. 13 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem Now we define fundamental cycles and fundamental cuts which become important in the next section.

Definition 2.3Cycle

A cycle is a pathi1,i2,...,ikwith the edges{i1,i2},{i2,i3},...,{ik-1,ik}together with the edge {ik,i1}.

Property 2.2Fundamental Cycle

LetTbe a spanning tree ofG. For everyT-exchange[e,f]we obtain exactly one cycle. This cycle is called fundamental cycle. For an edgef /?TletC(T,f) denote this cycle inT? {f}. A spanning treeThasm-n+ 1 fundamental cycles since|E\T|=m-n+1. If we delete in every fundamental cycle an arbitrary edge, we obtain again a spanning tree (i.e. iff?E\Tand ifC(T,f) is the uniquely defined cycle inT? {e}, thenT? {f} \ {e}for alle?C(T,f) is a spanning tree).

Definition 2.4Cut

A cut is a partition ofVin a setX?Vand a setV\X. Every cut defines a set{X,V\X} ?E with the edges inEwhich have one node inXand the other node inV\X.

Property 2.3Fundamental Cuts

LetTbe a spanning tree ofG. If we delete an arbitrary edgeeofT, we get some disconnected treesT1andT2. The edges which have one node inT1and one node inT2constitute a cut, called fundamental cut, of G with respect toT. Let{Xe,V\Xe}denote this set of edges. A graph hasn-1 fundamental cuts with respect to any tree since a spanning treeTcontains n-1 edges. If we add an edge of a fundamental cut to the two subtreesT1andT2, we obtain again a spanning tree (i.e. ife?Tand ifQ={Xe,V\Xe}is the uniquely defined cut inG.

ThenT\ {e} ? {f}is a spanning tree for allf?Q.)

For computational uses we define at last the adjacency list which allows us to store the data structure in a simple way:

Definition 2.5Adjacency List

The edge adjacency listA(i)of a vertexi?Vis the set of edges emanating from this vertex i.e., A(i) ={{i,j} ?E|j?V}. The node adjacency listA(i)is the set of vertices adjacent toii.e.,

A(i) ={j?V|{i,j} ?E}.

Property 2.4

For an adjacency list in an undirected graph we have i?V|A(i)|= 2m. 14 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem

2.2 Minimal Spanning Tree Problem

Now we give some optimality conditions for the minimal spanning tree problem which can be used to formulate two necessary optimality conditions for our WCMST. Firstly, we state the formulation of the already mentioned minimal spanning treeproblem.

Problem 3 (MST)Minimal Spanning Tree Problem

min e?Tc e s.t. T? T whereTis the set of all spanning trees of the graph. For the minimal spanning tree problem two optimality conditions can be formulated.

Theorem 2.5Cut Optimality Condition [2]

everyf? {Xe,V\Xe}. Proof •Assume there exists a minimal spanning treeTthat does not satisfy this condition. Then we have an edgee?Tand an edgef? {Xe,V\Xe}withcf< ce. Now we can deletee from the tree and addfto it. So we obtain again a spanning tree withc(T\ {e} ? {f}) = c(T)-ce+cf< c(T). This is a contradiction to the optimality ofT. •For the other part of the proof we have to show that a treeT?satisfying the cut optimality condition is optimal. AssumeT?is a minimal spanning tree andT??=T?. At least one edge e?T?exists withe /?T?. If we delete this edge we have a cutXe,V\Xe. Now we add eto the treeT?. ThisT?? {e}must contain a cycleC(T?,e) with an edgef?=ewheref has one node inXeand the other inV\Xe. SinceT?satisfies the optimality condition we Then c(T?) =c(T?)-ce+cf=c(T?\ {e} ? {f}). The treeT?\ {e} ? {f}has one edge more in common withT?and satisfies also the cut optimality. So we repeat this step until we obtainT?. In total we havec(T?) =c(T?) and thereforeT?is also a minimal spanning tree. The theorem leads directly to the following corollary.

Corollary 2.6[31]

A spanning treeThas minimal costs if and only if noT-exchange has negative costs. 15 Sebastian T. Henn: Weight-Constrained Minimum Spanning Tree Problem A further optimality condition follows from the property that for each pair of vertices there exists a path between both vertices in a spanning tree.

Theorem 2.7Path Optimality Condition [2]

A spanning treeT?is a minimal spanning tree if and only if for every nontree edgef={k,l} Proof •LetT?a minimal spanning tree and the edgee={i,j}is contained in the path inT? between the verticeskandl. If for the nontree edgef={k,l}holds thatce> cf, we could execute aT?-exchange [e,f]. The new spanning tree has smaller costs thanT?. This contradicts the optimality ofT?and the path optimality conditions hold. •Lete={i,j} ?T?and letXeandV\Xebe the set of vertices obtained by deletinge fromT?. Consider an edge{k,l}withk?Xeandl?V\Xe. SinceT?contains an unique path fromktolandeis the only edge connecting the setsXeandV\Xe,eis element of the path connecting the verticeskandl. From the path optimality condition we know the cut{Xe,V\Xe}for alle?T?. SoTsatisfies the cut optimality and from Theorem 2.5 it is a minimal spanning tree.

2.3 Optimality Conditions for the WCMST

The optimality conditions of the minimal spanning tree problem can be used to formulate neces- sary conditions for an optimal solution of the weight-constrained minimal spanning tree problem. Unfortunately, these two conditions are not very useful forpractical purpose.

Theorem 2.8Cut Optimality Condition

A spanning treeT?is an optimal solution for the weight-constrained minimal spanning tree prob- lem if for every edgee?T?and for everyf? {Xe,V\Xe}withcf< cethe weight satisfies w(T)-we+wf> W. Proof Suppose the theorem does not hold. Then we can make aT?-exchange [e,f] and obtain a tree with c(T?\ {e} ? {f}) =c(T?)-ce+cf< c(T?)quotesdbs_dbs9.pdfusesText_15
[PDF] minimum wage las vegas

[PDF] ministere de bercy la silver economie

[PDF] ministère de l'économie et de l'innovation

[PDF] ministère de l'éducation nationale côte d'ivoire

[PDF] ministère de l'éducation nationale d'haïti

[PDF] ministère de l'intérieur adresse bercy

[PDF] ministère de l'intérieur bercy

[PDF] ministere de la defense bercy

[PDF] ministere de la finance bercy

[PDF] ministère des finances du québec

[PDF] ministère des finances france adresse

[PDF] ministère des finances france organigramme

[PDF] ministère des finances france recrutement

[PDF] ministère des finances publiques france

[PDF] ministre de l'économie canada