Computational Methods for Management and Economics Carla Gomes Module 9a Network Models Terminology (Slides adapted from J.Orlin’s)

Slides:



Advertisements
Similar presentations
Thursday, March 14 Introduction to Network Flows
Advertisements

Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
The minimum cost flow problem
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
Graphs Intro G.Kamberova, Algorithms Graphs Introduction Gerda Kamberova Department of Computer Science Hofstra University.
MIT and James Orlin © Introduction to Networks Eulerian Tours Hamiltonian Tours The Shortest Path Problem Dijkstra’s Algorithm for Solving the Shortest.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
CS/ENGRD 2110 Object-Oriented Programming and Data Structures Fall 2014 Doug James Lecture 17: Graphs.
Princeton University COS 423 Theory of Algorithms Spring 2002 Kevin Wayne Greed: Shortest Path s 3 t
1 Discrete Optimization. 2 The relationship between counting techniques/graph theory and discrete optimization Adding a goal (objective function) to a.
Chapter 9: Graphs Basic Concepts
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Computational Methods for Management and Economics Carla Gomes
Computational Methods for Management and Economics Carla Gomes Module 9d Network Models Maximum Flow Problem (Slides adapted from J.Orlin’s and Hillier’s)
GRAPH Learning Outcomes Students should be able to:
Graph Theory Chapter 6 from Johnsonbaugh Article(6.1, 6.2)
Intro to Graphs CSIT 402 Data Structures II. CSIT 402 Graph Introduction2 Graphs Graphs are composed of ›Nodes (vertices) Can be labeled ›Edges (arcs)
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Maximum Flow Chapter 26.
Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,
Network Optimization Models
Introduction to Operations Research
Network Models Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Computer Science 112 Fundamentals of Programming II Introduction to Graphs.
Discrete Structures for Computer Science Muad M. Abu-Ata Summer 2013.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
Modeling and Evaluation with Graph Mohammad Khalily Dermany Islamic Azad University, Khomein branch.
Quantitative Methods Linear Programming. Definitions Linear Programming is one of the important Techniques of OR It is useful in solving decision making.
Introduction to Graphs. Introduction Graphs are a generalization of trees –Nodes or verticies –Edges or arcs Two kinds of graphs –Directed –Undirected.
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Graphs.
. 1 Transportation and Assignment Problems. . 2 Applications Physical analog of nodes Physical analog of arcs Flow Communication systems phone exchanges,
Spring 2007Graphs1 ORD DFW SFO LAX
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Data Structures & Algorithms Graphs
Graphs Discrete Structure CS203. Adjacency Matrix We already saw a way of representing relations on a set with a Boolean matrix: R digraph(R) M R1234.
Overview of Graph Theory. Some applications of Graph Theory Models for communications and electrical networks Models for computer architectures Network.
Graphs Edge(arc) Vertices can be even or odd or undirected (two-way) Edges can be directed (one-way) This graph is connected. Degree(order) = 3 Odd vertex.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Graphs A graphs is an abstract representation of a set of objects, called vertices or nodes, where some pairs of the objects are connected by links, called.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Shortest Path Algorithm 2 Prof. Sin-Min Lee Department of Computer Science.
CSCE 3110 Data Structures & Algorithm Analysis Graphs (I) Reading: Chap.9, Weiss.
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
Department of Computer Engineering Faculty of Engineering, Prince of Songkla University Graphs Original Slides by Rada Mihalcea.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
Maximum Flow Chapter 26.
Part 3 Linear Programming
Network Optimization J.B. Orlin
Graph Theory and Optimization
Basic Concepts Graphs For more notes and topics visit:
Copyright © Zeph Grunschlag,
Max Flow – Min Cut Problem
Part 3 Linear Programming
Graphs All tree structures are hierarchical. This means that each node can only have one parent node. Trees can be used to store data which has a definite.
Graphs Discrete Structure CS203.
Chapter 9: Graphs Basic Concepts
Graphs.
CSE 373 Data Structures Lecture 17
Graphs.
Graph Terminology CSE 373 Data Structures.
Trees-2, Graphs Data Structures with C Chpater-6 Course code: 10CS35
Part 3 Linear Programming
INTRODUCTION TO NETWORK FLOWS
Chapter 9: Graphs Basic Concepts
CSE 373 Data Structures Lecture 13
GRAPHS.
Network Flow Problems – Maximal Flow Problems
Presentation transcript:

Computational Methods for Management and Economics Carla Gomes Module 9a Network Models Terminology (Slides adapted from J.Orlin’s)

Network Optimization Problems Many optimization problems can be represented by a graphical network representation. Examples: –Distribution problems –Routing problems –Maximum flow problems –Designing computer / phone / road networks –Equipment replacement

Networks are Everywhere Physical Networks –Road Networks –Railway Networks –Airline traffic Networks –Electrical networks, e.g., the power grid Abstract networks –organizational charts –precedence relationships in projects Others – e.g. relationships networks (6 degrees of Kevin Bacon )

Networks Network representation also widely used for problems in such diverse areas as: –production –distribution, –project planning –facility location –resource management –financial planning. General framework used to study scientific, social, and economic systems. Many network models are special cases of linear programming (e.g., transportation and assignment problems). (see Network Flows by Ahuja, Magnanti, and Orlin) for lots and lots of models and applications

Notation and Terminology Note: Network terminology is not (and never will be) standardized. The same concept may be denoted in many different ways. Called: NETWORK directed graph digraph graph Node set N = {1, 2, 3, 4} Arc Set Network G = (N, A) {(1,2), (1,3), (3,2), (3,4), (2,4)} A={1-2,1-3,3-2,3-4,2-4} Graph G = (V,E) Edge set: Also Seen Vertex set V = {1,2,3,4} Network: a set of points (called nodes or vertices) and a set of lines (called arcs, edges, links or branches).

Applications Physical analog of nodes Physical analog of arcs Flow Communication systems phone exchanges, computers, transmission facilities, satellites Cables, fiber optic links, microwave relay links Voice messages, Data, Video transmissions Hydraulic systems Pumping stations Reservoirs, Lakes Pipelines Water, Gas, Oil, Hydraulic fluids Integrated computer circuits Gates, registers, processors WiresElectrical current Mechanical systemsJoints Rods, Beams, Springs Heat, Energy Transportation systems Intersections, Airports, Rail yards Highways, Airline routes Railbeds Passengers, freight, vehicles, operators Applications of Network Optimization

Examples Flows in networks NodesArcsFlow Intersectionsroadsvehicles Airportsair lanesaircraft Switching pointsWires, channelsmessages Pumping stationspipesfluids Hollywood ActorsCo-staring in moviesJoint movies ScientistsResearch collaborationJoint papers

Terminology about flows Maximum amount of flow (possibly infinity) that can be carried on a directed arc  arc capacity Supply (or source) node  nodes that are net generators of flow; the flow out of the node exceeds the flow into the node. Demand (or sink) node  nodes that are net absorbers of flow; the flow into the node exceeds the flow out of the node. Transshipment (or intermediate) node  satisfies the conservation of flow; the flow in equals the flow out.

Directed and Undirected Networks a b c d e An Undirected Graph a b c d e A Directed Graph  The field of Network Optimization concerns optimization problems on networks  Networks are used to transport commodities physical goods (products, liquids) communication electricity, etc.

The Adjacency Matrix (for directed graphs) a b c d e A Directed Graph Have a row for each node Have a column for each node Put a 1 in row i- column j if (i,j) is an arc What would happen if (4,2) became (2,4)?

The Adjacency Matrix (for undirected graphs) Have a row for each node Have a column for each node Put a 1 in row i- column j if (i,j) is an arc a b c d e An Undirected Graph The degree of a node is the number of incident arcs degree

The Node-Arc Incidence Matrix (for directed graphs) a b c d e A Directed Graph Have a row for each node a b c d e Have a column for each arc Put a 1 in row i- column j if arc j starts at node i. Put a -1 in row i- column j if arc j ends at node i. What would happen if arc (4,2) became arc (2,4)?

On Incidence Matrices If the constraint matrix for a linear program is a node- arc incidence matrix (at most one 1 and at most one – 1 per column), then the linear program solves in integer optima. Note: we saw this result earlier with the transportation problem

Representation of arc lists (for directed graphs) a b c d e A Directed Graph Create a list arcs for each node 1: (1,2), (1,4) 2: (2,3) 3:  4: (4,2), (4,3) There are lots of very similar variants of this type of representation

On network representations Each representation has its advantages –Major purpose of a representation efficiency in algorithms  very important ease of use Node arc incidence matrix shows up in Linear Programs

Directed Path. Example: 1, 2, 5, 3, 4 (or 1, a, 2, c, 5, d, 3, e, 4) No node is repeated. Directions are important. Cycle (or circuit or loop) 1, 2, 3, 1. (or 1, a, 2, b, 3, e) A path with 2 or more nodes, except that the first node is the last node. Directions are ignored. Path: Example: 5, 2, 3, 4. (or 5, c, 2, b, 3, e, 4) No node is repeated. Directions are ignored. Directed Cycle: (1, 2, 3, 4, 1) or 1, a, 2, b, 3, c, 4, d, 1 No node is repeated. Directions are important ab c 1 5 d e a b c d 1 e ab c 1 5 d e a b c d 1 e

Walks a b c d e a b c d e 5 Walks are paths that can repeat nodes and arcs Example of a directed walk: A walk is closed if its first and last nodes are the same. A closed walk is a cycle except that it can repeat nodes and arcs.

More terminology An undirected network is connected if every node can be reached from every other node by a path A directed network is connected if it’s undirected version is connected. This directed graph is connected, even though there is no directed path between 2 and 5.

More Definitions A network is connected if every node can be reached from every other node by following a sequence of arcs in which direction is ignored. 5 A spanning tree is a connected subset of a network including all nodes, but containing no cycles

More on Trees An out-tree is a spanning tree in which every node has exactly one incoming arc except for the root. Theorem. In an out-tree, there is a directed path from the root to all other nodes. (All paths come out of the root)