the hypergraph network simplex
play

The Hypergraph Network Simplex Algorithm & Railway Optimization - PowerPoint PPT Presentation

The Hypergraph Network Simplex Algorithm & Railway Optimization Ralf Borndrfer joint work with Isabel Beckenbach and Markus Reuther 4th ISM-ZIB-IMI MODAL Workshop on Mathematical Optimization and Data Analysis Tokyo, ISM, 27.03.2019


  1. The Hypergraph Network Simplex Algorithm & Railway Optimization Ralf BorndΓΆrfer joint work with Isabel Beckenbach and Markus Reuther 4th ISM-ZIB-IMI MODAL Workshop on Mathematical Optimization and Data Analysis Tokyo, ISM, 27.03.2019 Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 1

  2. Directed Hypergraphs Definition A directed hypergraph is a pair 𝐼 = (π‘Š, 𝒝) where π‘Š is a finite set of vertices and 𝒝 is a family of hyperarcs . A hyperarc a ∈ 𝒝 is a pair 𝑏 = (𝑒, β„Ž) of disjoint sets 𝑒, β„Ž βŠ† π‘Š sets of vertices, at least one of them non-empty; 𝑒 βŠ† π‘Š is called the tail of 𝑏 , β„Ž βŠ† π‘Š is the head . Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 2

  3. Graph-based Hypergraphs Definition Let 𝐸 = (π‘Š, 𝐡) be a simple directed draph. A directed hypergraph based on 𝐸 is a pair 𝐼 = (π‘Š, 𝒝) where 𝒝 βŠ† 2 𝐡 is a set of non-empty subsets 𝑏 βŠ† 𝐡 of vertex-disjoint arcs. A directed hypergraph based on some graph 𝐸 is called graph-based . Remark A graph-based directed hypergraph is a directed hypergraph: For 𝑏 ∈ 𝒝 let 𝑒 𝑏 ≔ {𝑀 ∈ π‘Š: βˆƒ 𝑀, π‘₯ ∈ 𝑏} and β„Ž 𝑏 ≔ π‘₯ ∈ π‘Š: βˆƒ 𝑀, π‘₯ ∈ 𝑏 . Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 3

  4. The Minimum Cost Hyperflow Problem Definition Let 𝐼 = (π‘Š, 𝒝) be a directed hypergraph based on a directed graph 𝐸 , 𝑑 ∈ ℝ 𝒝 a vector of costs , and 𝑐 ∈ ℝ π‘Š of demands s.t. 𝑐 π‘ˆ 1 = 0. The minimum cost hyperflow problem (MCH) is the linear program min ෍ 𝑑 𝑏 𝑦 𝑏 π‘βˆˆπ’ ෍ 𝑦 𝑏 βˆ’ ෍ 𝑦 𝑏 = 𝑐 𝑀 βˆ€π‘€ ∈ π‘Š π‘βˆˆπ’:π‘€βˆˆβ„Ž 𝑏 π‘βˆˆπ’:π‘€βˆˆπ‘’ 𝑏 𝑦 β‰₯ 0. A vector 𝑦 ∈ ℝ 𝒝 that is feasible for this LP is a hyperflow (in 𝐼 ) (actually a circulation). Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 4

  5. The Minimum Cost Hyperflow Problem In contrast to the graph case, there might not exist an integral β–Ί min cost hyperfow, even if all data is integral (see example later). Finding a minimum cost integral hyperflow is NP-hard, even if the β–Ί hyperarcs consist of at most two arcs. If the underlying digraph 𝐸 is connected and 𝐡 βŠ† 𝒝 , i.e., all arcs β–Ί of the underlying digraph are also hyperarcs, then ෍ 𝑦 𝑏 βˆ’ ෍ 𝑦 𝑏 = 𝑐 𝑀 βˆ€π‘€ ∈ π‘Š π‘βˆˆπ’:π‘€βˆˆβ„Ž 𝑏 π‘βˆˆπ’:π‘€βˆˆπ‘’ 𝑏 𝑦 β‰₯ 0. has a solution if and only if 𝑐 π‘ˆ 1 = 0 . Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 5

  6. A Hypernetwork Simplex Algorithm Earlier work R. Cambini, G. Gallo, and M. G. ScutellΓ : Flows on hypergraphs. Mathematical Programming 78.2, p. 195-217 (1997). However We heavily use that we work on graph-based hypergraphs. β–Ί The algorithm for our setting is simpler and closer to the original β–Ί network simplex. Reference I. Beckenbach: Matchings and Flows in Hypergraphs. PhD thesis, Freie UniversitΓ€t Berlin (2019). Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 6

  7. Characterizing the Bases Assumption The underlying digraph 𝐸 is connected and 𝐡 βŠ† 𝒝 . Let 𝑁 ∈ 0, Β±1 π‘ŠΓ—π’ be the incidence matrix of 𝐼 . The minimum β–Ί cost hyperflow problem can then be written as min 𝑑 π‘ˆ 𝑦, 𝑁𝑦 = 𝑐, 𝑦 β‰₯ 0. If 𝐢 = {𝑏 1 , … , 𝑏 𝑙 } , then let 𝑁 ⋅𝐢 ≔ (𝑁 ⋅𝑏 1 , … , 𝑁 ⋅𝑏 𝑙 ) . β–Ί β–Ί 𝑠𝑙 𝑁 = π‘Š βˆ’ 1 𝐢 is a basis if and only if 𝑠𝑙 𝑁 ⋅𝐢 = 𝐢 = π‘Š βˆ’ 1 . β–Ί If 𝐢 is a basis, then 𝐼 𝐢 ∩ 𝐡 = (π‘Š, 𝐢 ∩ 𝐡) is a forest that contains β–Ί = |𝐢 βˆ– 𝐡 + 1 components. π‘Š| βˆ’ 𝐢 ∩ 𝐡 = π‘Š βˆ’ 𝐢 βˆ’ 𝐢 βˆ– 𝐡 Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 7

  8. Characterizing the Bases Let 𝐢 βŠ† 𝒝 be s.t. 𝐢 = π‘Š βˆ’ 1, 𝐢 1 ≔ 𝐢 ∩ 𝐡 , 𝐢 2 ≔ 𝐢 βˆ– 𝐡. β–Ί 𝐼[𝐢 1 ] is a forest with 𝐢 2 + 1 components. β–Ί For every tree of 𝐼[𝐢 1 ], choose a root 𝑠 and denote its tree by π‘ˆ 𝑠 . β–Ί Let 𝑆 be the set of all such roots. β–Ί Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 8

  9. Characterizing the Bases If 𝐢 is a basis and 𝑠 2 ∈ 𝑆 two roots, the system β–Ί 1 , 𝑠 𝑁 ⋅𝐢 𝑔 = βˆ’π‘“ 𝑠 1 + 𝑓 𝑠 2 , 𝑦 β‰₯ 0 has a unique solution; we can send 1 unit of flow from 𝑠 1 to 𝑠 2 . Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 9

  10. Characterizing the Bases If 𝐢 is a basis and 𝑠 2 ∈ 𝑆 two roots, the system β–Ί 1 , 𝑠 𝑁 ⋅𝐢 𝑔 = βˆ’π‘“ 𝑠 1 + 𝑓 𝑠 2 , 𝑔 β‰₯ 0 has a unique solution; we can (in a unique way) send 1 unit of flow from 𝑠 1 to 𝑠 2 in 𝐼 𝐢 ∩ 𝐡 . The unique flow of 1 unit from an arbitrary fixed root 𝑠 βˆ— to some β–Ί other other root 𝑠 β‰  𝑠 βˆ— is called elementary . We can send 1 unit of flow from 𝑠 1 to 𝑠 2 via an arbitrary β–Ί 1 to 𝑠 βˆ— to 𝑠 intermediate root 𝑠 βˆ— , i.e., from 𝑠 2 . We can also (easily) send 1 unit of flow inside of a tree. β–Ί Any flow in 𝐼 𝐢 ∩ 𝐡 is a superposition of elementary flows and β–Ί flows on trees. Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 10

  11. The Elementary Hyperflow Matrix 𝑠 , 𝑠 ∈ 𝑆 , the rooted trees, 𝑠 βˆ— ∈ 𝑆 a fixed root. Let 𝐢 be a basis, π‘ˆ β–Ί For every 𝑠 ∈ 𝑆 βˆ– 𝑠 βˆ— there is a unique hyperflow 𝑔 𝑠 in π‘Š, 𝐢 that β–Ί transports 1 unit from 𝑠 βˆ— to 𝑠 . 𝑠 π‘ βˆˆπ‘†βˆ–{𝑠 βˆ— } ∈ ℝ πΆΓ—π‘†βˆ– 𝑠 βˆ— be the elementary hyperflow matrix Let 𝐺 ≔ 𝑔 β–Ί whose 𝑠 -th column contains this flow. 𝐺 is easily reconstructed from 𝐺|𝐢 2 = 𝐺 𝐢 2 β‹… by recomputing the β–Ί flows on the trees (but this takes time). Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 11

  12. The Elementary Hyperflow Matrix Example 𝑠 2 |𝐢 2 = 1/2 𝑠 βˆ— = 𝑠 1 , 𝑔 1/4 Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 12

  13. The Elementary Hyperflow Matrix Example 𝑠 3 𝐢 2 β‹… = 1/2 1/2 𝑠 βˆ— = 𝑠 1 , 𝐺 𝐢 2 β‹… = 𝑔 𝑠 2 , 𝑔 1/4 βˆ’1/4 Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 13

  14. The Elementary Hyperflow Matrix Example 𝐺 𝐢 2 β‹… = 1/2 1/2 𝐹 π‘†βˆ– 𝑠 1 β‹… = 1 2 𝑠 βˆ— = 𝑠 1 , βˆ’2 , 1/4 βˆ’1/4 1 βˆ’ π‘Š π‘ˆ 𝑠 2 ∩ β„Ž 𝑏 ෍ 𝑔 𝑠 2 𝑏 = 1 βˆ’ π‘Š π‘ˆ 𝑠 2 ∩ 𝑒 𝑏 π‘βˆˆπΆ βˆ’ π‘Š π‘ˆ 𝑠 3 ∩ β„Ž 𝑏 ෍ 𝑔 𝑠 2 𝑏 = 0 βˆ’ π‘Š π‘ˆ 𝑠 3 ∩ 𝑒 𝑏 π‘βˆˆπΆ Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 14

  15. Characterizing the Bases Define 𝐹 ∈ β„€ 𝑆×𝐢 2 as β–Ί 𝐹 𝑠𝑏 ≔ π‘Š π‘ˆ 𝑠 ∩ β„Ž 𝑏 βˆ’ π‘Š π‘ˆ 𝑠 ∩ 𝑒 𝑏 . Lemma βˆ’1 β–Ί 𝐹 π‘†βˆ– 𝑠 βˆ— β‹… = 𝐺 𝐢 2 β‹… 𝐢 basis ⟺ 𝐼 𝐢 1 forest of 𝐢 2 + 1 components β‹€ 𝑠𝑙 𝐺 𝐢 2 β‹… = 𝐢 2 β–Ί ⟺ 𝐼 𝐢 1 forest of 𝐢 2 + 1 components β‹€ 𝑠𝑙 𝐹 = 𝐢 2 . Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 15

  16. Characterizing the Bases Example βˆ’2 0 has rank 2 β‡’ 𝐢 is a basis 𝐹 = 1 2 1 βˆ’2 Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 16

  17. Characterizing the Bases Example βˆ’1 βˆ’1 has rank 1 β‡’ 𝐢 is not a basis 𝐹 = 2 2 βˆ’1 βˆ’1 Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 17

  18. Elementary Hyperflow and Intersection Count Matrix 𝑠 , 𝑠 ∈ 𝑆 , the rooted trees, 𝑠 βˆ— ∈ 𝑆 a fixed root. Let 𝐢 be a basis, π‘ˆ β–Ί For every 𝑠 ∈ 𝑆 βˆ– 𝑠 βˆ— there is a unique hyperflow 𝑔 𝑠 in π‘Š, 𝐢 that β–Ί transports 1 unit from 𝑠 βˆ— to 𝑠 . 𝑠 π‘ βˆˆπ‘†βˆ–{𝑠 βˆ— } ∈ ℝ πΆΓ—π‘†βˆ– 𝑠 βˆ— be the elementary hyperflow matrix Let 𝐺 ≔ 𝑔 β–Ί whose 𝑠 -th column contains this flow. 𝐺 is easily reconstructed from 𝐺|𝐢 2 = 𝐺 𝐢 2 β‹… by recomputing the β–Ί flows on the trees. Define an intersection count matrix 𝐹 ∈ β„€ 𝑆×𝐢 2 as β–Ί 𝐹 𝑠𝑏 ≔ π‘Š π‘ˆ 𝑠 ∩ β„Ž 𝑏 βˆ’ π‘Š π‘ˆ 𝑠 ∩ 𝑒 𝑏 . βˆ’1 β–Ί 𝐹 π‘†βˆ– 𝑠 βˆ— β‹… = 𝐺 𝐢 2 β‹… Hypernetwork Simplex Algorithm and Railways | 4th ISM-ZIB-IMI MODAL Workshop 18

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend