The Physarum Computer
|
|
- Anabel Stanley
- 6 years ago
- Views:
Transcription
1 The Physarum Computer Kurt Mehlhorn Max Planck Institute for Informatics and Saarland University joint work with Vincenzo Bonifaci and Girish Varma paper available on my homepage August 30, 2011
2 The Physarum Computer Physarum, a slime mold, single cell, several nuclei builds evolving networks Nakagaki, Yamada, Tóth, Nature 2000 show video Kurt Mehlhorn 2/25
3 2008 Ig Nobel Prize For achievements that first make people LAUGH then make them THINK COGNITIVE SCIENCE PRIZE: Toshiyuki Nakagaki, Ryo Kobayashi, Atsushi Tero, Ágotá Tóth for discovering that slime molds can solve puzzles. REFERENCE: "Intelligence: Maze-Solving by an Amoeboid Organism," Toshiyuki Nakagaki, Hiroyasu Yamada, and Ágota Tóth, Nature, vol. 407, September 2000, p Kurt Mehlhorn 3/25
4 Mathematical Model (Tero et al.) G = (V, E) undirected graph each edge e has a positive length L e (fixed) and a positive diameter D e (t) (dynamic) send one unit of flow from s 0 to s 1 in an electrical network where resistance of e equals Q e (t) is flow across e at time t Dynamics: R e (t) = L e /D e (t). D e (t) = dd e(t) = Q e (t) D e (t). dt 1 and 3 links Tero et al., J. of Theoretical Biology, , 2007 Kurt Mehlhorn 4/25
5 Mathematical Model II: The Node Potentials electrical flows are driven by node potentials Q e = D e (p u p v )/L e is flow on edge { u, v } from u to v flow conservation gives n equations, one for each vertex u D e (p u p v )/L e = δ u e={ u,v } E δ u = ±1 if u { s 0, s 1 } and δ u = 0, otherwise together with p s1 = 0, the above defines the p v s uniquely can be computed by solving a linear system Kurt Mehlhorn 5/25
6 Mathematical Model II: The Node Potentials electrical flows are driven by node potentials Q e = D e (p u p v )/L e is flow on edge { u, v } from u to v flow conservation gives n equations, one for each vertex u D e (p u p v )/L e = δ u e={ u,v } E δ u = ±1 if u { s 0, s 1 } and δ u = 0, otherwise together with p s1 = 0, the above defines the p v s uniquely can be computed by solving a linear system Kurt Mehlhorn 5/25
7 Computer Experiments (Discrete Time) initialize potentials while true do update diameters: D e (t + 1) = D e (t) + ɛ( Q e (t) D e (t)) recompute potentials end while In simulations, the system converges (Miyaji/Ohnishi 07/08) e on shortest s 0 -s 1 path: D e converges to 1 e not on shortest path: D e converges to 0 Miyaji/Ohnishi ran simulations only on small graphs We ran experiments on thousands of graphs of size up to 50,000 vertices and 200,000 edges. Confirmed their findings. Kurt Mehlhorn 6/25
8 The Questions Does system convergence for all (!!!) initial conditions? How fast is the convergence? Details of the convergence process? Beyond shortest paths? Inspiration for distributed algorithms? Kurt Mehlhorn 7/25
9 Convergence against Shortest Path Theorem (Convergence) Dynamics converge against shortest path, i.e., D e 1 for edges on shortest source-sink path and D e 0 otherwise. this assumes that shortest path is unique; otherwise converge against a flow of value 1 using only shortest source-sink paths Miyaji/Onishi previously proved convergence for planar graphs with source and sink on the same face Kurt Mehlhorn 8/25
10 Parallel Links (Miyaji/Ohnishi 07) s0... e1 s1 ek parallel links with lengths L 1 < L 2 <... < L k D 1 1, D 2,..., D k 0 p s0 p s1 L 1 but D 2,..., D k 1 do not necessarily converge monotonically Kurt Mehlhorn 9/25
11 What did Evolution Optimize? Evolution optimized dynamics so as to achieve a global objective. Which? (Lyapunov Function) First idea: the energy of the flow e Q e e decreases over time not true, even for parallel links Theorem For the case of parallel links: i Q il i, i D il i / i D i, and (p s p t ) i D il i decrease over time computer experiment: the obvious generalizations (replace i by e ) to general graphs do not work Kurt Mehlhorn 10/25
12 What did Evolution Optimize? Evolution optimized dynamics so as to achieve a global objective. Which? (Lyapunov Function) First idea: the energy of the flow e Q e e decreases over time not true, even for parallel links Theorem For the case of parallel links: i Q il i, i D il i / i D i, and (p s p t ) i D il i decrease over time computer experiment: the obvious generalizations (replace i by e ) to general graphs do not work Kurt Mehlhorn 10/25
13 What did Evolution Optimize? Evolution optimized dynamics so as to achieve a global objective. Which? (Lyapunov Function) First idea: the energy of the flow e Q e e decreases over time not true, even for parallel links Theorem For the case of parallel links: i Q il i, i D il i / i D i, and (p s p t ) i D il i decrease over time computer experiment: the obvious generalizations (replace i by e ) to general graphs do not work Kurt Mehlhorn 10/25
14 What did Evolution Optimize? Evolution optimized dynamics so as to achieve a global objective. Which? (Lyapunov Function) First idea: the energy of the flow e Q e e decreases over time not true, even for parallel links Theorem For the case of parallel links: i Q il i, i D il i / i D i, and (p s p t ) i D il i decrease over time computer experiment: the obvious generalizations (replace i by e ) to general graphs do not work Kurt Mehlhorn 10/25
15 A not so Obvious Generalization s0... e1 s1 ek i D i L i i D i e D e L e value of min s 0 -s 1 cut with cap e = D e Kurt Mehlhorn 11/25
16 What did Evolution Optimize? Computer experiment: e V := D el e value of min s 0 -s 1 cut with cap e = D e decreases Theorem (Lyapunov Function) V + ( e δ({ s 0 }) D e 1) 2 decreases. Derivative of V (essentially) satisfies V c (D e Q e ) 2. e Proof is brute-force except for applications of min-cut-max-flow and... Kurt Mehlhorn 12/25
17 What did Evolution Optimize? Computer experiment: e V := D el e value of min s 0 -s 1 cut with cap e = D e decreases Theorem (Lyapunov Function) V + ( e δ({ s 0 }) D e 1) 2 decreases. Derivative of V (essentially) satisfies V c (D e Q e ) 2. e Proof is brute-force except for applications of min-cut-max-flow and... Kurt Mehlhorn 12/25
18 What did Evolution Optimize? Computer experiment: e V := D el e value of min s 0 -s 1 cut with cap e = D e decreases Theorem (Lyapunov Function) V + ( e δ({ s 0 }) D e 1) 2 decreases. Derivative of V (essentially) satisfies V c (D e Q e ) 2. e Proof is brute-force except for applications of min-cut-max-flow and... Kurt Mehlhorn 12/25
19 Convergence against Shortest Path Corollary (Convergence) Dynamics converge against shortest path, i.e., D e 1 for edges on shortest s-t path and D e 0 otherwise. this assumes that shortest path is unique; otherwise,... Miyaji/Onishi previously proved convergence for planar graphs. Kurt Mehlhorn 13/25
20 Statespace = R^E V t V decreases and stays positive V 0 V c e (D e Q e ) 2 D e Q e goes to zero for all e Q e = (D e /L e ) e and hence e L e for Q e and t large s0 s 1 converges to length of some source-sink path s0 s 1 converges to length of shortest path... Kurt Mehlhorn 14/25
21 Stable Topology (Miyaji/Ohnishi) How fast is the convergence? Definition: An edge e = (u, v) stabilizes if for all ε > 0 either p u (T ) p v (T ) ε for all large T or p v (T ) p u (T ) ε for all large T. p v (T ) p u (T ) ε for all large T. slightly more general than Miyaji/Ohnishi Definition: A network stabilizes if all edges stabilize Kurt Mehlhorn 15/25
22 A Path with Fixed Potential Difference a v b assume p a and p b are fixed L(P) length of path from a to b. define f = (p a p b )/L(P) and assume f < 1 then for all edges of p: D decays like exp((f 1)t) p v converges to p b + (p a p b )dist(v, b)/l(p) Kurt Mehlhorn 16/25
23 Stable Topology III Theorem If network stabilizes, network converges as defined next. decompose undirected G into paths: P 0 = shortest s-t path for v P 0 : p v dist(v, t) for e P 0 : D e 1 assume P 0,..., P i 1 are defined. Then P i has endpoints a and b on P 0... P i 1 internal nodes and edges are fresh maximizes f i := (p a p b )/L(P i ) this is less than one for v P i : p v p b + (p a p b )dist(v, b)/l(p i ) for e P i : D e 0, exponentially with rate f i 1. direct edges in P i in direction from from a to b Kurt Mehlhorn 17/25
24 Open Problems Do networks stabilize? If so, after what time? More generally, how long does it take for the dynamics to converge? Kurt Mehlhorn 18/25
25 Wheatstone Graph s simplest graph where flow directions are not clear b a direction of flow on e???? L d e t c R potentials evolve non-monotonically; run NonMonotone state space is cyclic; run TwoChanges Theorem Wheatstone network stabilizes Kurt Mehlhorn 19/25
26 Wheatstone Graph s simplest graph where flow directions are not clear b a direction of flow on e???? L d e t c R potentials evolve non-monotonically; run NonMonotone state space is cyclic; run TwoChanges Theorem Wheatstone network stabilizes Kurt Mehlhorn 19/25
27 Wheatstone: Middle Edge Stabilizes R i = L i /D i = resistance of edge i. x a = R a /(R a + R c ), similarly for b. if x a < x b, direction of e is RL if x a > x b, direction of e is LR x a = L a /(L a + L c ), similarly for b. split [0, 1] into S = [0, x a ), M = [x a, x b ] and L = [x b, 1] consider evolvement of (x a, x b ) in S S, both grow: in M M, x a decreases and x b grows in L L, both shrink assume x a x b Kurt Mehlhorn 20/25
28 Wheatstone: Middle Edge Stabilizes split [0, 1] into S = [0, xa) M = [xa, xb ] L = [xb, 1] S x_b S M L RL RL consider evolvement of (x a, x b ) x_a M LR RL in S S, both grow: in M M, x a decreases and x b grows L LR LR in L L, both shrink Kurt Mehlhorn 21/25
29 Wheatstone: Middle Edge Stabilizes split [0, 1] into S = [0, xa) M = [xa, xb ] L = [xb, 1] S x_b S M L RL RL consider evolvement of (x a, x b ) x_a M LR RL in S S, both grow: in M M, x a decreases and x b grows L LR LR in L L, both shrink Kurt Mehlhorn 21/25
30 Wheatstone: Middle Edge Stabilizes split [0, 1] into S = [0, x a) M = [x a, x b ] x_b S M L L = [x b, 1] consider evolvement of (x a, x b ) in S S, both grow: x_a S M LR RL RL RL LR RL in M M, x a decreases and x b grows L LR LR in L L, both shrink Kurt Mehlhorn 21/25
31 Wheatstone: Middle Edge Stabilizes split [0, 1] into S = [0, x a) M = [x a, x b ] L = [x b, 1] consider evolvement of (x a, x b ) in S S, both grow: in M M, x a decreases and x b grows in L L, both shrink x_a S M L x_b S M L LR RL RL LR LR LR RL RL what if system stays in S S or L L? Kurt Mehlhorn 21/25
32 The Transportation Problem undirected graph G = (V, E) b : V R such that v b v = 0 v supplies flow b v if b v > 0 v extracts flow b v if b v < 0 find a cheapest flow where cost of sending x units across an edge of length L is Lx Dynamics of Physarum solves transportation problem. D e s converge against a mincost solution of transportation problem. Kurt Mehlhorn 22/25
33 Open Problems and Related Work Open Problems show: flow directions stabilize show: convergence is exponential Physarum apparently can do more, e.g., network design. Prove it. inspiration for the design of distributed algorithms Related Work Ito/Johansson/Nakagaki/Tero: Convergence Properties for the Physarum Solver, January 28th, 2011, they change Q e into Q e and prove convergence for all graphs Kurt Mehlhorn 23/25
34 Network Design: Science 2010 Kurt Mehlhorn 24/25
35 Natural Computation Humans and Animals are not Turing Machines Part of their computational capabilities is based on their bodies Other Models of Computation are Relevant Suggestions for distributed algorithms CS methods can help analyzing such systems, do not leave it to physicists and biologists Kurt Mehlhorn 25/25
A Mathematical Study of Physarum polycephalum
A Mathematical Study of Physarum polycephalum Group members: Charlie Brummitt, Isabelle Laureyns, Tao Lin, David Martin, Dan Parry, Dennis Timmers, Alexander Volfson, Tianzhi Yang, Haley Yaple Mentor:
More informationA simplistic dynamic circuit analogue of adaptive transport networks in true slime mold
NOLTA, IEICE Paper A simplistic dynamic circuit analogue of adaptive transport networks in true slime mold Hisa-Aki Tanaka 1,2a), Kazuki Nakada 2, Yuta Kondo 1, Tomoyuki Morikawa 1, and Isao Nishikawa
More informationarxiv: v1 [q-bio.to] 14 Jun 2016
A revised model of fluid transport optimization in Physarum polycephalum Vincenzo Bonifaci arxiv:606.045v [q-bio.to] 4 Jun 06 Abstract Optimization of fluid transport in the slime mold Physarum polycephalum
More informationMilestone V. Linsey A. Norris Justin Tanjuako Charlotte Wentzien Addison Yanito. December 14, 2006
Milestone V Linsey A. Norris Justin Tanjuako Charlotte Wentzien Addison Yanito December 14, 2006 1 Introduction 2 Introduction The plasmodium Physarum polycephalum is a large unicellular,multinuclear amoeba-like
More informationIn the Stone Age. Stephan Holzer. Yuval Emek - Technion Roger Wattenhofer - ETH Zürich
The Power of a Leader In the Stone Age - MIT Yuval Emek - Technion Roger Wattenhofer - ETH Zürich 2nd Workshop on Biological Distributed Algorithms, October 11-12, 2014 in Austin, Texas USA The Power of
More informationComputability Theory
CS:4330 Theory of Computation Spring 2018 Computability Theory The class NP Haniel Barbosa Readings for this lecture Chapter 7 of [Sipser 1996], 3rd edition. Section 7.3. Question Why are we unsuccessful
More informationReview Questions, Final Exam
Review Questions, Final Exam A few general questions. What does the Representation Theorem say (in linear programming)? In words, the representation theorem says that any feasible point can be written
More informationNP Completeness. CS 374: Algorithms & Models of Computation, Spring Lecture 23. November 19, 2015
CS 374: Algorithms & Models of Computation, Spring 2015 NP Completeness Lecture 23 November 19, 2015 Chandra & Lenny (UIUC) CS374 1 Spring 2015 1 / 37 Part I NP-Completeness Chandra & Lenny (UIUC) CS374
More informationNP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20
NP-complete problems CSE 101: Design and Analysis of Algorithms Lecture 20 CSE 101: Design and analysis of algorithms NP-complete problems Reading: Chapter 8 Homework 7 is due today, 11:59 PM Tomorrow
More informationNETWORK flow problems form a large class of optimization
Solving the Maximum Flow Problem by a Modified Adaptive Amoeba Algorithm Zhixuan Wang, Daijun Wei, Member, IAENG, Abstract Maximum flow problem is one of the most fundamental network optimization problems.
More informationNP-Completeness. Until now we have been designing algorithms for specific problems
NP-Completeness 1 Introduction Until now we have been designing algorithms for specific problems We have seen running times O(log n), O(n), O(n log n), O(n 2 ), O(n 3 )... We have also discussed lower
More informationCABDyN Toshiyuki NAKAGAKI (Hokkaido University, Japan) Ryo KOBAYASHI (Hiroshima University, Japan)
CABDyN 20040730 Toshiyuki NAKAGAKI (Hokkaido University, Japan) nakagaki@es.hokudai.ac.jp Ryo KOBAYASHI (Hiroshima University, Japan) True slime mold, the plasmodium of Physarum polycephalum * One system
More informationA MULTIDIRECTIONAL MODIFIED PHYSARUM SOLVER FOR DISCRETE DECISION MAKING
A MULTIDIRECTIONAL MODIFIED PHYSARUM SOLVER FOR DISCRETE DECISION MAKING Luca Masi, Massimiliano Vasile Department of Mechanical & Aerospace Engineering, University of Strathclyde, 75 Montrose Street G1
More informationCS 6820 Fall 2014 Lectures, October 3-20, 2014
Analysis of Algorithms Linear Programming Notes CS 6820 Fall 2014 Lectures, October 3-20, 2014 1 Linear programming The linear programming (LP) problem is the following optimization problem. We are given
More informationDesign of single-electron slime-mold circuit and its application to solving optimal path planning problem
NOLTA, IEICE Paper Design of single-electron slime-mold circuit and its application to solving optimal path planning problem Yuya Shinde 1 and Takahide Oya 1a) 1 Graduate School of Engineering, Yokohama
More informationBBM402-Lecture 11: The Class NP
BBM402-Lecture 11: The Class NP Lecturer: Lale Özkahya Resources for the presentation: http://ocw.mit.edu/courses/electrical-engineering-andcomputer-science/6-045j-automata-computability-andcomplexity-spring-2011/syllabus/
More informationTitle. Author(s)Tero, Atsushi; Kobayashi, Ryo; Nakagaki, Toshiyuki. CitationJournal of Theoretical Biology, 244(4): Issue Date
Title A mathematical model for adaptive transport network Author(s)Tero, Atsushi; Kobayashi, Ryo; Nakagaki, Toshiyuki CitationJournal of Theoretical Biology, 244(4): 553-564 Issue Date 2007-02-21 Doc URL
More informationFlows. Chapter Circulations
Chapter 4 Flows For a directed graph D = (V,A), we define δ + (U) := {(u,v) A : u U,v / U} as the arcs leaving U and δ (U) := {(u,v) A u / U,v U} as the arcs entering U. 4. Circulations In a directed graph
More informationA mathematical model for adaptive transport network in path finding by true slime mold
A mathematical model for adaptive transport network in path finding by true slime mold Atsushi Tero, Ryo Kobayashi and Toshiyuki Nakagaki Department of Mathematical and Life Sciences, Hiroshima University,
More informationMaximum flow problem
Maximum flow problem 7000 Network flows Network Directed graph G = (V, E) Source node s V, sink node t V Edge capacities: cap : E R 0 Flow: f : E R 0 satisfying 1. Flow conservation constraints e:target(e)=v
More informationData Structures in Java
Data Structures in Java Lecture 21: Introduction to NP-Completeness 12/9/2015 Daniel Bauer Algorithms and Problem Solving Purpose of algorithms: find solutions to problems. Data Structures provide ways
More information1 Matchings in Non-Bipartite Graphs
CS 598CSC: Combinatorial Optimization Lecture date: Feb 9, 010 Instructor: Chandra Chekuri Scribe: Matthew Yancey 1 Matchings in Non-Bipartite Graphs We discuss matching in general undirected graphs. Given
More informationNP and NP Completeness
CS 374: Algorithms & Models of Computation, Spring 2017 NP and NP Completeness Lecture 23 April 20, 2017 Chandra Chekuri (UIUC) CS374 1 Spring 2017 1 / 44 Part I NP Chandra Chekuri (UIUC) CS374 2 Spring
More informationMilestone 5 Report. Slime Team A: Abraham Hmiel, Eric Brooking, Matthew Thies, Ke Li. December 13, 2006
Milestone Report Slime Team A: Abraham Hmiel, Eric Brooking, Matthew Thies, Ke Li December 13, 26 1 Introduction Physarum Polycephalum is a large unicellular amoeboid organism that grows in the form of
More informationLecture 8 Network Optimization Algorithms
Advanced Algorithms Floriano Zini Free University of Bozen-Bolzano Faculty of Computer Science Academic Year 2013-2014 Lecture 8 Network Optimization Algorithms 1 21/01/14 Introduction Network models have
More informationDuality of LPs and Applications
Lecture 6 Duality of LPs and Applications Last lecture we introduced duality of linear programs. We saw how to form duals, and proved both the weak and strong duality theorems. In this lecture we will
More informationA Multi-layered Adaptive Network Approach for Shortest Path Planning During Critical Operations in Dynamically Changing and Uncertain Environments
2016 49th Hawaii International Conference on System Sciences A Multi-layered Adaptive Network Approach for Shortest Path Planning During Critical Operations in Dynamically Changing and Uncertain Environments
More informationFlow Network. The following figure shows an example of a flow network:
Maximum Flow 1 Flow Network The following figure shows an example of a flow network: 16 V 1 12 V 3 20 s 10 4 9 7 t 13 4 V 2 V 4 14 A flow network G = (V,E) is a directed graph. Each edge (u, v) E has a
More informationNotes for Lecture Notes 2
Stanford University CS254: Computational Complexity Notes 2 Luca Trevisan January 11, 2012 Notes for Lecture Notes 2 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation
More informationCSEP 521 Applied Algorithms. Richard Anderson Winter 2013 Lecture 1
CSEP 521 Applied Algorithms Richard Anderson Winter 2013 Lecture 1 CSEP 521 Course Introduction CSEP 521, Applied Algorithms Monday s, 6:30-9:20 pm CSE 305 and Microsoft Building 99 Instructor Richard
More informationPart V. Matchings. Matching. 19 Augmenting Paths for Matchings. 18 Bipartite Matching via Flows
Matching Input: undirected graph G = (V, E). M E is a matching if each node appears in at most one Part V edge in M. Maximum Matching: find a matching of maximum cardinality Matchings Ernst Mayr, Harald
More informationTravelling Salesman Problem
Travelling Salesman Problem Fabio Furini November 10th, 2014 Travelling Salesman Problem 1 Outline 1 Traveling Salesman Problem Separation Travelling Salesman Problem 2 (Asymmetric) Traveling Salesman
More informationTime Complexity (1) CSCI Spring Original Slides were written by Dr. Frederick W Maier. CSCI 2670 Time Complexity (1)
Time Complexity (1) CSCI 2670 Original Slides were written by Dr. Frederick W Maier Spring 2014 Time Complexity So far we ve dealt with determining whether or not a problem is decidable. But even if it
More informationDynamic Programming: Shortest Paths and DFA to Reg Exps
CS 374: Algorithms & Models of Computation, Fall 205 Dynamic Programming: Shortest Paths and DFA to Reg Exps Lecture 7 October 22, 205 Chandra & Manoj (UIUC) CS374 Fall 205 / 54 Part I Shortest Paths with
More informationAdaptive Path-Finding and Transport Network Formation by the Amoeba-Like Organism Physarum
Adaptive Path-Finding and Transport Network Formation by the Amoeba-Like Organism Physarum Itsuki Kunita 1, Kazunori Yoshihara 1, Atsushi Tero 2,KentaroIto 3, Chiu Fan Lee 4,MarkD.Fricker 5, and Toshiyuki
More informationDynamic Programming: Shortest Paths and DFA to Reg Exps
CS 374: Algorithms & Models of Computation, Spring 207 Dynamic Programming: Shortest Paths and DFA to Reg Exps Lecture 8 March 28, 207 Chandra Chekuri (UIUC) CS374 Spring 207 / 56 Part I Shortest Paths
More informationDynamic Programming. Shuang Zhao. Microsoft Research Asia September 5, Dynamic Programming. Shuang Zhao. Outline. Introduction.
Microsoft Research Asia September 5, 2005 1 2 3 4 Section I What is? Definition is a technique for efficiently recurrence computing by storing partial results. In this slides, I will NOT use too many formal
More informationCONSTRAINED PERCOLATION ON Z 2
CONSTRAINED PERCOLATION ON Z 2 ZHONGYANG LI Abstract. We study a constrained percolation process on Z 2, and prove the almost sure nonexistence of infinite clusters and contours for a large class of probability
More informationReview: Directed Models (Bayes Nets)
X Review: Directed Models (Bayes Nets) Lecture 3: Undirected Graphical Models Sam Roweis January 2, 24 Semantics: x y z if z d-separates x and y d-separation: z d-separates x from y if along every undirected
More informationBrainless intelligence: the curious case of acellular slime mold Physarum polycephalum
Copyright World Media Foundation Brainless intelligence: the curious case of acellular slime mold Physarum polycephalum Subash K. Ray YRW17, CSCAMM, UMD 12 th October, 2017 Copyright Audrey Dussutour Copyright
More informationGo Games on Plasmodia of Physarum Polycephalum
Proceedings of the Federated Conference on Computer Science and Information Systems pp. 615 626 DOI: 10.15439/2015F236 ACSIS, Vol. 5 Go Games on Plasmodia of Physarum Polycephalum Andrew Schumann University
More information7.5 Bipartite Matching
7. Bipartite Matching Matching Matching. Input: undirected graph G = (V, E). M E is a matching if each node appears in at most edge in M. Max matching: find a max cardinality matching. Bipartite Matching
More informationFriday Four Square! Today at 4:15PM, Outside Gates
P and NP Friday Four Square! Today at 4:15PM, Outside Gates Recap from Last Time Regular Languages DCFLs CFLs Efficiently Decidable Languages R Undecidable Languages Time Complexity A step of a Turing
More informationBiological self-organisation phenomena on weighted networks
Biological self-organisation phenomena on weighted networks Lucilla Corrias (jointly with F. Camilli, Sapienza Università di Roma) Mathematical Modeling in Biology and Medicine Universidad de Oriente,
More informationIntroduction to Kleene Algebras
Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)
More informationACO Comprehensive Exam March 20 and 21, Computability, Complexity and Algorithms
1. Computability, Complexity and Algorithms Part a: You are given a graph G = (V,E) with edge weights w(e) > 0 for e E. You are also given a minimum cost spanning tree (MST) T. For one particular edge
More informationEvolution of planar networks of curves with multiple junctions. Centro Ennio De Giorgi Pisa February 2017
Evolution of planar networks of curves with multiple junctions CARLO MANTEGAZZA & ALESSANDRA PLUDA Centro Ennio De Giorgi Pisa February 2017 Motion by curvature of planar networks Joint project with Matteo
More informationWelcome to CPSC 4850/ OR Algorithms
Welcome to CPSC 4850/5850 - OR Algorithms 1 Course Outline 2 Operations Research definition 3 Modeling Problems Product mix Transportation 4 Using mathematical programming Course Outline Instructor: Robert
More informationComputer Science & Engineering 423/823 Design and Analysis of Algorithms
Bipartite Matching Computer Science & Engineering 423/823 Design and s Lecture 07 (Chapter 26) Stephen Scott (Adapted from Vinodchandran N. Variyam) 1 / 36 Spring 2010 Bipartite Matching 2 / 36 Can use
More informationComplexity Theory Part Two
Complexity Theory Part Two Recap from Last Time The Complexity Class P The complexity class P (for polynomial time) contains all problems that can be solved in polynomial time. Formally: P = { L There
More informationLecture 21 November 11, 2014
CS 224: Advanced Algorithms Fall 2-14 Prof. Jelani Nelson Lecture 21 November 11, 2014 Scribe: Nithin Tumma 1 Overview In the previous lecture we finished covering the multiplicative weights method and
More information1 Computational Problems
Stanford University CS254: Computational Complexity Handout 2 Luca Trevisan March 31, 2010 Last revised 4/29/2010 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation
More informationAcyclic Digraphs arising from Complete Intersections
Acyclic Digraphs arising from Complete Intersections Walter D. Morris, Jr. George Mason University wmorris@gmu.edu July 8, 2016 Abstract We call a directed acyclic graph a CI-digraph if a certain affine
More informationSAT, NP, NP-Completeness
CS 473: Algorithms, Spring 2018 SAT, NP, NP-Completeness Lecture 22 April 13, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Part I Reductions Continued Ruta (UIUC)
More informationReview Questions, Final Exam
Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea
More informationLecture 13: Polynomial-Time Algorithms for Min Cost Flows. (Reading: AM&O Chapter 10)
Lecture 1: Polynomial-Time Algorithms for Min Cost Flows (Reading: AM&O Chapter 1) Polynomial Algorithms for Min Cost Flows Improvements on the two algorithms for min cost flow: Successive Shortest Path
More informationAn Analysis of the Highest-Level Selection Rule in the Preflow-Push Max-Flow Algorithm
An Analysis of the Highest-Level Selection Rule in the Preflow-Push Max-Flow Algorithm Joseph Cheriyan Kurt Mehlhorn August 20, 1998 Abstract Consider the problem of finding a maximum flow in a network.
More informationShortest paths with negative lengths
Chapter 8 Shortest paths with negative lengths In this chapter we give a linear-space, nearly linear-time algorithm that, given a directed planar graph G with real positive and negative lengths, but no
More informationConnections between exponential time and polynomial time problem Lecture Notes for CS294
Connections between exponential time and polynomial time problem Lecture Notes for CS294 Lecturer: Russell Impagliazzo Scribe: Stefan Schneider November 10, 2015 We connect problems that have exponential
More informationACYCLIC DIGRAPHS GIVING RISE TO COMPLETE INTERSECTIONS
ACYCLIC DIGRAPHS GIVING RISE TO COMPLETE INTERSECTIONS WALTER D. MORRIS, JR. ABSTRACT. We call a directed acyclic graph a CIdigraph if a certain affine semigroup ring defined by it is a complete intersection.
More informationIII. Linear Programming
III. Linear Programming Thomas Sauerwald Easter 2017 Outline Introduction Standard and Slack Forms Formulating Problems as Linear Programs Simplex Algorithm Finding an Initial Solution III. Linear Programming
More informationCS 6783 (Applied Algorithms) Lecture 3
CS 6783 (Applied Algorithms) Lecture 3 Antonina Kolokolova January 14, 2013 1 Representative problems: brief overview of the course In this lecture we will look at several problems which, although look
More informationThe Maximum Flows in Planar Dynamic Networks
INTERNATIONAL JOURNAL OF COMPUTERS COMMUNICATIONS & CONTROL ISSN 1841-9836, 11(2):282-291, April 2016. The Maximum Flows in Planar Dynamic Networks C. Schiopu, E. Ciurea Camelia Schiopu* 1. Transilvania
More informationLecture: Modeling graphs with electrical networks
Stat260/CS294: Spectral Graph Methods Lecture 16-03/17/2015 Lecture: Modeling graphs with electrical networks Lecturer: Michael Mahoney Scribe: Michael Mahoney Warning: these notes are still very rough.
More informationTwo Applications of Maximum Flow
Two Applications of Maximum Flow The Bipartite Matching Problem a bipartite graph as a flow network maximum flow and maximum matching alternating paths perfect matchings 2 Circulation with Demands flows
More informationChapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013
Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of
More informationNotes 6 : First and second moment methods
Notes 6 : First and second moment methods Math 733-734: Theory of Probability Lecturer: Sebastien Roch References: [Roc, Sections 2.1-2.3]. Recall: THM 6.1 (Markov s inequality) Let X be a non-negative
More informationTentamen TDDC17 Artificial Intelligence 20 August 2012 kl
Linköpings Universitet Institutionen för Datavetenskap Patrick Doherty Tentamen TDDC17 Artificial Intelligence 20 August 2012 kl. 08-12 Points: The exam consists of exercises worth 32 points. To pass the
More informationUndirected Graphs. V = { 1, 2, 3, 4, 5, 6, 7, 8 } E = { 1-2, 1-3, 2-3, 2-4, 2-5, 3-5, 3-7, 3-8, 4-5, 5-6 } n = 8 m = 11
Undirected Graphs Undirected graph. G = (V, E) V = nodes. E = edges between pairs of nodes. Captures pairwise relationship between objects. Graph size parameters: n = V, m = E. V = {, 2, 3,,,, 7, 8 } E
More informationTypes of Networks. Internet Telephone Cell Highways Rail Electrical Power Water Sewer Gas
Flow Networks Network Flows 2 Types of Networks Internet Telephone Cell Highways Rail Electrical Power Water Sewer Gas 3 Maximum Flow Problem How can we maximize the flow in a network from a source or
More informationControl and synchronization in systems coupled via a complex network
Control and synchronization in systems coupled via a complex network Chai Wah Wu May 29, 2009 2009 IBM Corporation Synchronization in nonlinear dynamical systems Synchronization in groups of nonlinear
More informationPhylogenetic Networks, Trees, and Clusters
Phylogenetic Networks, Trees, and Clusters Luay Nakhleh 1 and Li-San Wang 2 1 Department of Computer Science Rice University Houston, TX 77005, USA nakhleh@cs.rice.edu 2 Department of Biology University
More informationWeek #1 The Exponential and Logarithm Functions Section 1.2
Week #1 The Exponential and Logarithm Functions Section 1.2 From Calculus, Single Variable by Hughes-Hallett, Gleason, McCallum et. al. Copyright 2005 by John Wiley & Sons, Inc. This material is used by
More information16.1 Min-Cut as an LP
600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: LPs as Metrics: Min Cut and Multiway Cut Date: 4//5 Scribe: Gabriel Kaptchuk 6. Min-Cut as an LP We recall the basic definition
More informationIntroduction to Algorithms
Introduction to Algorithms 6.046J/18.401J/SMA5503 Lecture 18 Prof. Erik Demaine Negative-weight cycles Recall: If a graph G = (V, E) contains a negativeweight cycle, then some shortest paths may not exist.
More information6.207/14.15: Networks Lecture 7: Search on Networks: Navigation and Web Search
6.207/14.15: Networks Lecture 7: Search on Networks: Navigation and Web Search Daron Acemoglu and Asu Ozdaglar MIT September 30, 2009 1 Networks: Lecture 7 Outline Navigation (or decentralized search)
More informationThe answer in each case is the error in evaluating the taylor series for ln(1 x) for x = which is 6.9.
Brad Nelson Math 26 Homework #2 /23/2. a MATLAB outputs: >> a=(+3.4e-6)-.e-6;a- ans = 4.449e-6 >> a=+(3.4e-6-.e-6);a- ans = 2.224e-6 And the exact answer for both operations is 2.3e-6. The reason why way
More informationScheduling and Optimization Course (MPRI)
MPRI Scheduling and optimization: lecture p. /6 Scheduling and Optimization Course (MPRI) Leo Liberti LIX, École Polytechnique, France MPRI Scheduling and optimization: lecture p. /6 Teachers Christoph
More informationApproximation Algorithms and Hardness of Integral Concurrent Flow
Approximation Algorithms and Hardness of Integral Concurrent Flow Parinya Chalermsook Julia Chuzhoy Alina Ene Shi Li May 16, 2012 Abstract We study an integral counterpart of the classical Maximum Concurrent
More informationP, NP, NP-Complete. Ruth Anderson
P, NP, NP-Complete Ruth Anderson A Few Problems: Euler Circuits Hamiltonian Circuits Intractability: P and NP NP-Complete What now? Today s Agenda 2 Try it! Which of these can you draw (trace all edges)
More information1 Introduction (January 21)
CS 97: Concrete Models of Computation Spring Introduction (January ). Deterministic Complexity Consider a monotonically nondecreasing function f : {,,..., n} {, }, where f() = and f(n) =. We call f a step
More informationExercise 4: Markov Processes, Cellular Automata and Fuzzy Logic
Exercise 4: Markov Processes, Cellular Automata and Fuzzy Logic Formal Methods II, Fall Semester 2013 Distributed: 8.11.2013 Due Date: 29.11.2013 Send your solutions to: tobias.klauser@uzh.ch or deliver
More informationNP-Complete Problems and Approximation Algorithms
NP-Complete Problems and Approximation Algorithms Efficiency of Algorithms Algorithms that have time efficiency of O(n k ), that is polynomial of the input size, are considered to be tractable or easy
More informationCSE 135: Introduction to Theory of Computation NP-completeness
CSE 135: Introduction to Theory of Computation NP-completeness Sungjin Im University of California, Merced 04-15-2014 Significance of the question if P? NP Perhaps you have heard of (some of) the following
More information5.1 Practice A. Name Date ( ) 23 15, , x = 20. ( ) 2
Name Date. Practice A In Exercises, find the indicated real nth root(s) of a.. n =, a =. n =, a = 9. n =, a = 8 In Exercises 9, evaluate the expression without using a calculator.. 7. 6 8. ( ) 7. 6 6.
More information1 Non-deterministic Turing Machine
1 Non-deterministic Turing Machine A nondeterministic Turing machine is a generalization of the standard TM for which every configuration may yield none, or one or more than one next configurations. In
More informationExact Algorithms for Dominating Induced Matching Based on Graph Partition
Exact Algorithms for Dominating Induced Matching Based on Graph Partition Mingyu Xiao School of Computer Science and Engineering University of Electronic Science and Technology of China Chengdu 611731,
More informationUmans Complexity Theory Lectures
Umans Complexity Theory Lectures Lecture 8: Introduction to Randomized Complexity: - Randomized complexity classes, - Error reduction, - in P/poly - Reingold s Undirected Graph Reachability in RL Randomized
More informationTopic: Primal-Dual Algorithms Date: We finished our discussion of randomized rounding and began talking about LP Duality.
CS787: Advanced Algorithms Scribe: Amanda Burton, Leah Kluegel Lecturer: Shuchi Chawla Topic: Primal-Dual Algorithms Date: 10-17-07 14.1 Last Time We finished our discussion of randomized rounding and
More informationProving Ultimate Limitations on Computers. Stephen Cook Presented at Classroom Adventures in Mathematics: Summer Institute August 17, 2011
Proving Ultimate Limitations on Computers Stephen Cook Presented at Classroom Adventures in Mathematics: Summer Institute August 17, 2011 1 Computational Complexity This is a branch of mathematics that
More informationPolynomial-Time Reductions
Reductions 1 Polynomial-Time Reductions Classify Problems According to Computational Requirements Q. Which problems will we be able to solve in practice? A working definition. [von Neumann 1953, Godel
More informationWho Has Heard of This Problem? Courtesy: Jeremy Kun
P vs. NP 02-201 Who Has Heard of This Problem? Courtesy: Jeremy Kun Runtime Analysis Last time, we saw that there is no solution to the Halting Problem. Halting Problem: Determine if a program will halt.
More information1 More finite deterministic automata
CS 125 Section #6 Finite automata October 18, 2016 1 More finite deterministic automata Exercise. Consider the following game with two players: Repeatedly flip a coin. On heads, player 1 gets a point.
More informationCS 573: Algorithmic Game Theory Lecture date: Feb 6, 2008
CS 573: Algorithmic Game Theory Lecture date: Feb 6, 2008 Instructor: Chandra Chekuri Scribe: Omid Fatemieh Contents 1 Network Formation/Design Games 1 1.1 Game Definition and Properties..............................
More informationAn example of LP problem: Political Elections
Linear Programming An example of LP problem: Political Elections Suppose that you are a politician trying to win an election. Your district has three different types of areas: urban, suburban, and rural.
More information1 Some loose ends from last time
Cornell University, Fall 2010 CS 6820: Algorithms Lecture notes: Kruskal s and Borůvka s MST algorithms September 20, 2010 1 Some loose ends from last time 1.1 A lemma concerning greedy algorithms and
More informationRecap from Last Time
P and NP Recap from Last Time The Limits of Decidability In computability theory, we ask the question What problems can be solved by a computer? In complexity theory, we ask the question What problems
More informationCS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source Shortest
More informationDynamic Matching Models
Dynamic Matching Models Ana Bušić Inria Paris - Rocquencourt CS Department of École normale supérieure joint work with Varun Gupta, Jean Mairesse and Sean Meyn 3rd Workshop on Cognition and Control January
More information6.047 / Computational Biology: Genomes, Networks, Evolution Fall 2008
MIT OpenCourseWare http://ocw.mit.edu 6.047 / 6.878 Computational Biology: Genomes, etworks, Evolution Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
More information