Intractability and the Guide to NP-Completeness

20
Intractability and the Guide to NP-Completeness Luciana Buriol Instituto de Inform´ atica, UFRGS Eduardo Uchoa Departamento de Engenharia de Produ¸c˜ ao, UFF Celina Figueiredo Engenharia de Sistemas e Computa¸ ao, UFRJ encontro de teoria da computa¸ ao congresso da sbc · porto alegre · 2016

Transcript of Intractability and the Guide to NP-Completeness

Page 1: Intractability and the Guide to NP-Completeness

Intractability andthe Guide to NP-Completeness

Luciana Buriol Instituto de Informatica, UFRGS

Eduardo Uchoa Departamento de Engenharia de Producao, UFF

Celina Figueiredo Engenharia de Sistemas e Computacao, UFRJ

encontro de teoria da computacaocongresso da sbc · porto alegre · 2016

Page 2: Intractability and the Guide to NP-Completeness

David S. Johnson1945–2016

Page 3: Intractability and the Guide to NP-Completeness

Bio – AT&T Labs

I Mathematician and computer scientist in algorithms and optimization

I MSc (1968) and PhD (1973) at MIT“Near-Optimal Bin Packing Algorithms”

I 1973–2013: AT&T Bell Labs / AT&T Labs Research:I 1988: Head of Mathematical Foundations of Computing DepartmentI 1996: Head of Algorithms and Optimization DepartmentI 2013: Distinguished Member of the Technical Staff

I 2014–2016: Visiting Professor at Columbia University

Page 4: Intractability and the Guide to NP-Completeness

Bio – AT&T Labs – Down the Hall

I M.R. Garey, R. L. Graham, D.S. Johnson, and D.E. KnuthComplexity results for bandwidth minimizationSIAM J. Appl. Math. 34 (1978), 477–495

I M.R. Garey, D.S. Johnson, and R.E. TarjanThe planar Hamiltonian circuit problem is NP-completeSIAM J. Computing 5 (1976), 704–714

Page 5: Intractability and the Guide to NP-Completeness

Knuth – Garey – Johnson

Page 6: Intractability and the Guide to NP-Completeness

Tarjan – Garey – Johnson

Page 7: Intractability and the Guide to NP-Completeness

Bio – Service: Book, Editor, Chair

I 1979: “Computers and Intractability: A Guide to the Theory ofNP-Completeness” (book with Michael Garey)

I 1982: An Ongoing Guide on NP-completenessJournal of Algorithms / ACM Transactions on Algorithms

I 1990: founder, Symposium on Discrete Algorithms (SODA),committee chair for 25 years

I 1987–1991: chair, ACM Special Interest Group on Algorithms andComputation Theory (SIGACT)

I 1983–1987: editor, Journal of the ACM

I 2004–2016: associate editor, ACM Transactions on Algorithms

Page 8: Intractability and the Guide to NP-Completeness

Bio – Prizes

I 1995 ACM Fellowfor “fundamental contributions to the theories of approximationalgorithms and computational complexity, and for outstanding serviceto ACM”

I 1997 SIGACT Distinguished Service Prizefor “selfless dedication and personal initiative in serving the ComputerScience Theory community”

I 2010 Knuth Prize, ACM SIGACTfor “his contributions to theoretical and experimental analysis ofalgorithms. His innovations helped lay the foundation for algorithmsused to address optimization problems, which involve finding the bestsolution from all feasible solutions. Johnson made many contributionsto the early development of NP-completeness theory, which helpsidentify those problems that are hard to solve efficiently.”

I 2016 Member of National Academy of Engineeringfor “contributions to the theory and practice of optimization andapproximation algorithms”

Page 9: Intractability and the Guide to NP-Completeness

The Guide – Computers and Intractability

“Despite that 23 years have passedsince its publication, I consider Gareyand Johnson the single mostimportant book on my officebookshelf. Every computer scientistshould have this book on theirshelves as well. NP-completeness isthe single most important concept tocome out of theoretical computerscience and no book covers it as wellas Garey and Johnson.”

Lance Fortnow, “Great Books: Computersand Intractability: A Guide to the Theory ofNP-Completeness”

Page 10: Intractability and the Guide to NP-Completeness

The Guide Preface

NP-complete: symbolizes the abyss of inherent intractability algorithmdesigners increasingly face as they seek to solve larger and complexproblems.

A wide variety of commonly encountered problems from mathematics,computer science, and operations research are NP-complete.

I Chapters 1–5: basic theory

I Chapters 6–7: approximation, hierarchy of complexity classes

I Appendix: half the book! Well-organized list of problems

Page 11: Intractability and the Guide to NP-Completeness

The Guide Chapter 1: Computers, Complexity, and Intractability

“Bandersnatches are the subject of adifficult algorithm design project foran apparently NP-complete problem.”

Page 12: Intractability and the Guide to NP-Completeness

The Guide Chapter 1: Computers, Complexity, and Intractability

Page 13: Intractability and the Guide to NP-Completeness

The Guide Chapter 1: Computers, Complexity, and Intractability

Page 14: Intractability and the Guide to NP-Completeness

The Guide Chapter 1: Computers, Complexity, and Intractability

Page 15: Intractability and the Guide to NP-Completeness

The Lost Cartoon

Page 16: Intractability and the Guide to NP-Completeness

The Guide 12 open problems in 1979

I Graph isomorphism

I Subgraph homeomorphism (for a fixed graph H)

I Graph genus

I Chordal graph completion

I Chromatic index

I Spanning tree parity problem

I Partial order dimension

I Precedence constrained 3-processor scheduling

I Linear programming

I Total unimodularity

I Composite number

I Minimum length triangulation

Page 17: Intractability and the Guide to NP-Completeness

Ongoing Guide the 12 problems updated in 2005

2 · David Johnson

Table I. The current status of the open problems from [G&J] and previous columns.

Problem Name Source Status Covered in

GRAPH ISOMORPHISM [G&J] Open –

SUBGRAPH HOMEOMORPHISM [G&J] P [Col 19, 1987](FOR A FIXED GRAPH H)

GRAPH GENUS [G&J] NPC [Col 21, 1988]

CHORDAL GRAPH COMPLETION [G&J] NPC [Col 1, 1981]

CHROMATIC INDEX [G&J] NPC [Col 1, 1981]

PARTIAL ORDER DIMENSION [G&J] NPC [Col 1, 1981]

PRECEDENCE CONSTRAINED [G&J] Open –3-PROCESSOR SCHEDULING

LINEAR PROGRAMMING [G&J] P [Col 1, 1981]

TOTAL UNIMODULARITY [G&J] P [Col 1, 1981]

SPANNING TREE PARITY PROBLEM [G&J] P [Col 1, 1981]

COMPOSITE NUMBER [G&J] P This Column

MINIMUM LENGTH TRIANGULATION [G&J] Open –

IMPERFECT GRAPH [Col 1, 1981] P This Column

GRAPH THICKNESS [Col 2, 1982] NPC [Col 5, 1982]

EVEN COVER [Col 3, 1982] NPC This Column(MINIMUM WEIGHT CODEWORD)

“UNRESTRICTED” TWO-LAYER [Col 5, 1982] Open –CHANNEL ROUTING

GRACEFUL GRAPH [Col 6, 1983] Open –

ANDREEV’S PROBLEM [Col 17, 1986] Open –

SHORTEST VECTOR IN A LATTICE [Col 18, 1986] “NPC” This Column

column appeared (and the 26 years since the first edition of [G&J]). As with thevery first column [Col 1, 1981], this edition of the column surveys developmentswith respect to the open problem list in [G&J], this time augmenting the coverageto include the open problems highlighted in previous columns. Table I summarizesthe current status of all these problems. Eight of the twelve open problems from[G&J] and one of the seven open problems from the columns had been resolved by1992, and their resolutions were covered in previous columns. Since then one of thefour open problems from [G&J] and two of the open problems from the columnshave been resolved, and one of the column problems has been partially resolved(in a sense to be explained later). Section 2 will cover the resolved and partiallyresolved problems, while Section 3 will discuss the problems that remain open. Thenext column will likely cover hardness-of-approximation results and the complexityconjectures on which they rely. Suggestions of topics and results to be covered byfuture columns are welcome.

While readers await the next column, they might wish to investigate some of themany other sources that now provide information about developments in the field.

ACM Transactions on Algorithms, Vol. V, No. N, Month 20YY.

Page 18: Intractability and the Guide to NP-Completeness

Ongoing Guide – Graph Restrictions and Their Effect

Page 19: Intractability and the Guide to NP-Completeness

Outlook – The Millennium Problem

Central problem in the Theory of Computation: P versus NP

Are there questions whose answer can be quickly checked, but whichrequire an impossibly long time to solve by any direct procedure?

september 2009

Page 20: Intractability and the Guide to NP-Completeness

Lessons Learned Knuth Prize Lecture 2010

I Real world instances were not as worst-case or asymptotic as ourtheory is.

I Champion algorithms from the theory world could be outclassed by adhoc algorithms with much worse (or unknown) worst-case behavior.

I Some algorithms and ideas from the theory world have beensuccessfully applied, often to purposes for which they were notoriginally designed.

I Algorithms from the Operations Research and Metaheuristiccommunities have perhaps had more real-world impact on coping withNP-hardness than those from TCS.