SlideServe
Menu
Préférences
© SlideServe · v2026

Network Optimization Problems: Models and Algorithms

ralph avatar
8 diapositives · 408 Views · Feb 12, 2013

Network Optimization Problems: Models and Algorithms. This handout: Minimum Spanning Tree Problem. Terminology of Graphs. A graph (or network) consists of a set of points a set of lines connecting certain pairs of the points. The points are called nodes (or vertices ).

Network Optimization Problems: Models and Algorithms - slide 1
01 / 8Network Optimization Problems: Models and Algorithms
1 / 17

Télécharger la présentation

Network Optimization Problems: Models and Algorithms
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Network Optimization Problems:Models and Algorithms • This handout: • Minimum Spanning Tree Problem

  2. Terminology of Graphs • A graph (or network) consists of • a set of points • a set of lines connecting certain pairs of the points. The points are called nodes (or vertices). The lines are called arcs (or edges or links). • Example:

  3. Terminology of Graphs: Paths • A path between two nodes is a sequence of distinct nodes and edges connecting these nodes. Example: a b

  4. Terminology of Graphs: Cycles, Connectivity and Trees • A path that begins and ends at the same node is called a cycle. Example: • Two nodes are connected if there is a path between them. • A graph is connected if every pair of its nodes is connected. • A graph is acyclic if it doesn’t have any cycle. • A graph is called a tree if it is connected and acyclic. Example:

  5. 3 3 b b d d 2 2 8 8 a a 3 3 5 5 7 7 4 4 e e c c 4 4 Minimum Spanning Tree Problem • Given: Graph G=(V, E), |V|=n Cost function c: E  R . • Goal: Find a minimum-cost spanning tree for V i.e., find a subset of arcs E*  E which connects any two nodes of V with minimum possible cost. • Example: Min. span. tree: G*=(V,E*) G=(V,E) Red bold arcs are in E*

  6. Algorithm for solving the Minimum Spanning Tree Problem • Initialization: Select any node arbitrarily, connect to its nearest node. • Repeat • Identify the unconnected node which is closest to a connected node • Connect these two nodes Until all nodes are connected Note: Ties for the closest node are broken arbitrarily.

  7. 3 3 b b d d 2 2 8 8 a a 3 3 5 5 7 7 4 4 e e c c 4 4 The algorithm applied to our example • Initialization: Select node a to start. Its closest node is nodeb. Connect nodesa and b. • Iteration 1: There are two unconnected node closest to a connected node: nodes c and d (both are 3 units far from node b). Break the tie arbitrarily by connecting node c to node b. Red bold arcs are in E*; thin arcs representpotential links.

  8. 3 3 b b d d 2 2 8 8 a a 3 3 5 5 7 7 4 4 e e c c 4 4 The algorithm applied to our example • Iteration 2: The unconnected node closest to a connected node is noded (3far from node b). Connect nodes b and d. • Iteration 3:The only unconnected node left is node e. Its closest connected node is node c (distance between c and e is 4). Connect node e to node c. • All nodes are connected. The bold arcs give a min. spanning tree.