Constraint Satisfaction and Graph Theory. Plan How much is lost by focusing on graphs How graphs help intuition How graph theory gets used How much is.

Slides:



Advertisements
Similar presentations
Lower Bounds for Additive Spanners, Emulators, and More David P. Woodruff MIT and Tsinghua University To appear in FOCS, 2006.
Advertisements

1 Approximability Results for Induced Matchings in Graphs David Manlove University of Glasgow Joint work with Billy Duckworth Michele Zito Macquarie University.
1 Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs Accepted for presentation at SWAT 2010.
Multicoloring Unit Disk Graphs on Triangular Lattice Points Yuichiro MIYAMOTO Sophia University Tomomi MATSUI University of Tokyo.
Joint work with Andre Lieutier Dassault Systemes Domain Theory and Differential Calculus Abbas Edalat Imperial College Oxford.
NP-Hard Nattee Niparnan.
Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
CS 473Lecture 131 CS473-Algorithms I Lecture 13-A Graphs.
Constraint Satisfaction Problems
1 Decomposing Hypergraphs with Hypertrees Raphael Yuster University of Haifa - Oranim.
Introduction to the min cost homomorphism problem for undirected and directed graphs Gregory Gutin Royal Holloway, U. London, UK and U. Haifa, Israel.
Minimum Vertex Cover in Rectangle Graphs
2005conjunctive-ii1 Query languages II: equivalence & containment (Motivation: rewriting queries using views)  conjunctive queries – CQ’s  Extensions.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Introduction to Kernel Lower Bounds Daniel Lokshtanov.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Bipartite Matching, Extremal Problems, Matrix Tree Theorem.
Bayesian Networks, Winter Yoav Haimovitch & Ariel Raviv 1.
Presented by Yuval Shimron Course
Edge-Coloring of Graphs On the left we see a 1- factorization of  5, the five-sided prism. Each factor is respresented by its own color. No edges of the.
Five Problems CSE 421 Richard Anderson Winter 2009, Lecture 3.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Perfect Graphs Lecture 23: Apr 17. Hard Optimization Problems Independent set Clique Colouring Clique cover Hard to approximate within a factor of coding.
Vertex Cover, Dominating set, Clique, Independent set
Graph Colouring Lecture 20: Nov 25.
EXPANDER GRAPHS Properties & Applications. Things to cover ! Definitions Properties Combinatorial, Spectral properties Constructions “Explicit” constructions.
CSP, Algebras, Varieties Andrei A. Bulatov Simon Fraser University.
Pure Nash Equilibria: Complete Characterization of Hard and Easy Graphical Games Albert Xin Jiang U. of British Columbia MohammadAli Safari Sharif U. of.
On The Achromatic Number Problem Guy Kortsarz Rutgers University, Camden.
CSP, Algebras, Varieties Andrei A. Bulatov Simon Fraser University.
An Investigation of the Multimorphisms of Tractable and Intractable Classes of Valued Constraints Mathematics of Constraint Satisfaction: Algebra, Logic.
Graph Algorithms Using Depth First Search Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
Oriented Coloring: Complexity and Approximation
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Data Structures & Algorithms Graphs
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Graph Partitions. Partition V(G) into k sets (k=3)  Vertex partitions.
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
Twenty Years of EPT Graphs: From Haifa to Rostock Martin Charles Golumbic Caesarea Rothschild Institute University of Haifa With thanks to my research.
Mathematical Preliminaries
Valued Constraints Islands of Tractability. Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages.
Locally constrained graph homomorphisms Jan Kratochvíl Jan Kratochvíl Charles University, Prague.
Week 1 – Introduction to Graph Theory I Dr. Anthony Bonato Ryerson University AM8002 Fall 2014.
Graph Colouring Lecture 20: Nov 25. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including.
CSP: Algorithms and Dichotomy Conjecture Andrei A. Bulatov Simon Fraser University.
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
Computing Branchwidth via Efficient Triangulations and Blocks Authors: F.V. Fomin, F. Mazoit, I. Todinca Presented by: Elif Kolotoglu, ISE, Texas A&M University.
Chapter Relations and Their Properties
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Introduction to Graph Theory
NPC.
1 Mathematical Preliminaries. 2 Sets Functions Relations Graphs Proof Techniques.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
An introduction to chordal graphs and clique trees
Algorithms and Networks
Implications of the ETH
Graph Algorithms Using Depth First Search
Testing Assignments of Boolean CSP’s
Discrete Mathematics and its Applications Lecture 1 – Graph Theory
Discrete Math II Howon Kim
Relations and Digraphs
Graphs and Algorithms (2MMD30)
CSE 421 Richard Anderson Autumn 2019, Lecture 3
Presentation transcript:

Constraint Satisfaction and Graph Theory

Plan How much is lost by focusing on graphs How graphs help intuition How graph theory gets used How much is lost by focusing on graphs How graphs help intuition How graph theory gets used

Graph Colouring One of the most common illustrations of constrain satisfaction problems All variables have the same domain, consisting of k colours One binary constraint requires adjacent pairs of variables to obtain different colours One of the most common illustrations of constrain satisfaction problems All variables have the same domain, consisting of k colours One binary constraint requires adjacent pairs of variables to obtain different colours

Exam Scheduling via Graph Colouring G = courses and their conflicts Colours = examination times A colouring of G = a schedule of exam periods in which conflicting courses are scheduled at different times G = courses and their conflicts Colours = examination times A colouring of G = a schedule of exam periods in which conflicting courses are scheduled at different times

CS100 Math101 Phys150Chem110 Monday 9am Monday 1pm Tuesday 9am

More realistic models are possible with the full power of constraint satisfaction… are possible with the full power of constraint satisfaction…

More realistic models are possible with the full power of constraint satisfaction… BUT graph theory is not just colouring are possible with the full power of constraint satisfaction… BUT graph theory is not just colouring

Graph Homomorphisms Suppose G and H are graphs. A homomorphism of G to H is a mapping f : V(G)  V(H) such that uv  G implies f(u)f(v)  H Adjacent vertices have adjacent images Suppose G and H are graphs. A homomorphism of G to H is a mapping f : V(G)  V(H) such that uv  G implies f(u)f(v)  H Adjacent vertices have adjacent images

Exam Scheduling G = courses and their conflicts H = periods and their compatibility A homomorphism of G to H = a schedule of exam periods so that conflicting courses are scheduled at compatible times G = courses and their conflicts H = periods and their compatibility A homomorphism of G to H = a schedule of exam periods so that conflicting courses are scheduled at compatible times Via Graph Homomorphisms

CS100 Phys150Chem110 Monday 9am Monday 1pm Tuesday 9am Biol101

General CSP’s Given a vocabulary (finite number of relation symbols, each of finite arity) and two structures G and H over the vocabulary, with ground sets V(G) and V(H), and interpretations of all the relation symbols, as relations over the set of the stated arities Given a vocabulary (finite number of relation symbols, each of finite arity) and two structures G and H over the vocabulary, with ground sets V(G) and V(H), and interpretations of all the relation symbols, as relations over the set of the stated arities

Homomorphism of G to H A mapping f : V(G)  V(H) such that (v 1,…,v r )  R(G) implies (f(v 1 ),…,f(v r ))  R(H), for all relation symbols R of the vocabulary A mapping f : V(G)  V(H) such that (v 1,…,v r )  R(G) implies (f(v 1 ),…,f(v r ))  R(H), for all relation symbols R of the vocabulary

Graph Theory in CSP Take the vocabulary to consist of one binary relation symbol E (possibly with restricted interpretations, to reflexive, symmetric, etc, relations) Take the vocabulary to consist of one binary relation symbol E (possibly with restricted interpretations, to reflexive, symmetric, etc, relations)

Conflicting courses at compatible times (R(G) and R(H) binary relations)  At most three chemistry exams in one day (R(G) and R(H) quaternary relations)  All physics exams on the first ten days (R(G) and R(H) unary relations) V(G) = courses V(H) = times

 G changes every semester  H tends to stay constant for a while The Constraint Satisfaction Problem for a fixed a structure H: CSP(H)  Given a structure G (same vocabulary as H)  Is there a homomorphism of G to H ?  G changes every semester  H tends to stay constant for a while The Constraint Satisfaction Problem for a fixed a structure H: CSP(H)  Given a structure G (same vocabulary as H)  Is there a homomorphism of G to H ?

Dichotomy Conjecture [FV] For each H, the problem CSP(H) is in P or is NP-complete For each H, the problem CSP(H) is in P or is NP-complete

When H is a graph (one binary relation symbol E) CSP(H) is called the H -colouring problem  graphs … E(G), E(H) symmetric  digraphs … unrestricted interpretations Also denoted COL(H) and HOM(H) When H is a graph (one binary relation symbol E) CSP(H) is called the H -colouring problem  graphs … E(G), E(H) symmetric  digraphs … unrestricted interpretations Also denoted COL(H) and HOM(H)

CSP(K n ) (one binary relation, `distinct’) CSP(K n ) is the n -colouring problem (one binary relation, `distinct’) CSP(K n ) is the n -colouring problem

DICHOTOMY The n -colouring problem is  in P for n = 1, 2  NP-complete for all other n The graph H -colouring problem is  in P for H bipartite or with a loop  NP-complete for all other H The n -colouring problem is  in P for n = 1, 2  NP-complete for all other n The graph H -colouring problem is  in P for H bipartite or with a loop  NP-complete for all other H

DICHOTOMY The H -colouring problem is [HN]  in P for H bipartite or with a loop  NP-complete for all other H The H -colouring problem is [HN]  in P for H bipartite or with a loop  NP-complete for all other H

H-colouring May assume G is connected May assume H is connected May assume H is a core (there is no homomorphism to a proper subgraph) May assume G is connected May assume H is connected May assume H is a core (there is no homomorphism to a proper subgraph)

Polynomial cases H has a loop (some vv  E(H)) All G admit a homomorphism to H  H is bipartite (V(H) = two independent sets) Thus we may assume H = K 2 (core) H has a loop (some vv  E(H)) All G admit a homomorphism to H  H is bipartite (V(H) = two independent sets) Thus we may assume H = K 2 (core)

Deciding if a 2-colouring exists Obvious algorithm

Deciding if a 2-colouring exists Algorithm succeeds 2-colouring existsNo odd cycles

Deciding if a 2-colouring exists Obvious algorithm

Deciding if a 2-colouring exists Algorithm succeeds 2-colouring existsNo odd cycles

Deciding if a 2-colouring exists Algorithm succeeds 2-colouring existsNo odd cycles

G has a 2-colouring (is bipartite ) if and only if it contains no induced

NP-complete cases Cliques K n with n  3 Pentagon C 5 Cliques K n with n  3 Pentagon C

C 5 - colouring is NP-complete Reduce from 5-colourability: G

C 5 - colouring is NP-complete Reduce from 5-colourability: G*

C 5 - colouring is NP-complete Reduce from 5-colourability: G is 5-colourable if and only if G* is C 5 -colourable Reduce from 5-colourability: G is 5-colourable if and only if G* is C 5 -colourable G*

C 5 - colouring is NP-complete Reduce from K 5 -colourability: G is K 5 -colourable if and only if G* is C 5 -colourable From K 5 to C 5 Reduce from K 5 -colourability: G is K 5 -colourable if and only if G* is C 5 -colourable From K 5 to C 5

C 5 - colouring is NP-complete Reduce from K 5 -colourability: G is K 5 -colourable if and only if G* is C 5 -colourable From K 5 to C 5 From denser to sparser… Reduce from K 5 -colourability: G is K 5 -colourable if and only if G* is C 5 -colourable From K 5 to C 5 From denser to sparser…

W 5 - colouring is NP-complete Fromto C 5 W 5 From smaller to larger… Fromto C 5 W 5 From smaller to larger…

maps to iff …

maps to iff …

Enough to prove for … … [HN] 1988 [B] 2005(Monotonicity)

Digraph H-colouring Dichotomy not known No classification in terms of digraph properties proposed Each CSP(H) is polynomially equivalent to some digraph H’-colouring problem [FV]  Monotonicity fails Dichotomy not known No classification in terms of digraph properties proposed Each CSP(H) is polynomially equivalent to some digraph H’-colouring problem [FV]  Monotonicity fails

Monotonicity fails NP-complete In P [GWW]

CSP(H) as H’-COL We may assume that H is a core We may replace CSP(H) by RET(H) (H is a substructure of G and we seek a homomorphism of G to H that keeps vertices of H fixed) We may assume that H is a core We may replace CSP(H) by RET(H) (H is a substructure of G and we seek a homomorphism of G to H that keeps vertices of H fixed)

RET(H) H

H G

Retraction impossible G

RET(H) H a b Retraction impossible, but homomorphism exists a a a a b bb G

RET(H) If H is a core then CSP(H) and RET(H) are polynomially equivalent If H is a core then CSP(H) and RET(H) are polynomially equivalent

Each CSP( H ) is polynomially equivalent to some digraph H ’-colouring problem Each RET(H) is polynomially equivalent to some bipartite graph retraction problem Each bipartite graph retraction problem is polynomially equivalent to some digraph H’-colouring problem Each CSP( H ) is polynomially equivalent to some digraph H ’-colouring problem Each RET(H) is polynomially equivalent to some bipartite graph retraction problem Each bipartite graph retraction problem is polynomially equivalent to some digraph H’-colouring problem

RET(H) as RET(H’) (H is an arbitrary structure, H’ is a bip graph) H’

RET(H) as RET(H’) (H is an arbitrary structure, H’ is a bip graph) H’

From bip RET(H) to digraph H’-colouring

CSP(H) is polynomially equivalent to CSP(H’) for some digraph H’ to RET(H’) for some digraph H’ to RET(H’) for some bipartite graph H’ to RET(H’) for some reflexive graph H’ to RET(H’) for some partial order H’ to CSP(H’) for some digraph H’ to RET(H’) for some digraph H’ to RET(H’) for some bipartite graph H’ to RET(H’) for some reflexive graph H’ to RET(H’) for some partial order H’

Monotonicity fails NP-complete In P [GWW]

NP-completeness Reduce ONE-IN-THREE-SAT T FF

Polynomial algorithm is in P iffis (and it is ) is in P iffis (and it is )

Deciding if a C 3 -colouring exists Obvious algorithm

Deciding if a C 3 -colouring exists Algorithm succeeds C 3 -colouring existsNo bad cycles

Deciding if a C 3 -colouring exists Obvious algorithm

Deciding if a C 3 -colouring exists Obvious algorithm

Deciding if a C 3 -colouring exists Algorithm succeeds C 3 -colouring existsNo bad cycles A cycle is good if it has net length 3k

Algorithm succeeds C 3 -colouring existsNo bad cycles Deciding if a C 3 -colouring exists

Algorithm succeeds C 3 -colouring existsNo bad cycles Deciding if a C 3 -colouring exists

G has a C k -colouring if and only if G contains no cycle of net length ≠0(mod k) if and only if G contains no cycle of net length ≠0(mod k) … k CkCk [BB]

Monotonicity fails NP-complete In P Not hereditarily hard (Polynomial extension) (irreflexive)

Another perspective on the undirected dichotomy C odd is hereditarily hard enough to show C 3 is hereditarily hard C odd is hereditarily hard enough to show C 3 is hereditarily hard

Two kinds of difficulty `Few’ directed cycles –monotonicity fails (oscilation) –unclear distinctions `Few’ directed cycles –monotonicity fails (oscilation) –unclear distinctions In P NP-complete [HNZ] [GWW]

NP-complete case

Two kinds of difficulty `Few’ directed cycles –monotonicity fails (oscilation) –unclear distinctions –BUT `Few’ directed cycles –monotonicity fails (oscilation) –unclear distinctions –BUT NP-c P - extension

Two kinds of difficulty `Few’ directed cycles NP-complete [BM] [GWW]

Two kinds of difficulty `Few’ directed cycles –BUT `Few’ directed cycles –BUT NP-complete P - extension

Two kinds of difficulty `Many’ directed cycles H0H0

Two kinds of difficulty `Many’ directed cycles Hereditarily hard (if H contains H 0 and H has no loops, then CSP(H) is NP-complete) H0H0 [BHM]

Classification Conjecture [BHM] If H* (H with sources and sinks recursively removed) admits a homomorphism to some C k (k>1) then H has a polynomial extension (`few cycles’) Otherwise, H is hereditarily hard (`many cycles’) If H* (H with sources and sinks recursively removed) admits a homomorphism to some C k (k>1) then H has a polynomial extension (`few cycles’) Otherwise, H is hereditarily hard (`many cycles’) 

Status of the conjecture True for several graph families  Open for True for several graph families  Open for

Status of the conjecture True for several graph families  Open for True for several graph families  Open for

Status of the conjecture True for several graph families  Open for  True for True for several graph families  Open for  True for

True for partitionable graphs If the bi-directed edges of H form a nonbipartite graph, then CSP(H) is NPc If the bi-directed edges of H form a nonbipartite graph, then CSP(H) is NPc

Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts True for partitionable graphs [BHM]

True for partitionable graphs Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts

True for partitionable graphs Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts

True for partitionable graphs Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts  ? Each v incident with a bi-directed edge Bi-directed edges between parts Uni-directed edges within parts  ?

What algorithms?

G has a C k -colouring if and only if G contains no cycle of net length ≠0(mod k) if and only if G contains no cycle of net length ≠0(mod k) … k CkCk

G has a C k -colouring if and only if there is no homomorphism to G from a cycle of net length ≠0 (mod k) if and only if there is no homomorphism to G from a cycle of net length ≠0 (mod k) … (obstacles are oriented cycles)

G has a P k -colouring if and only if there is no homomorphism to G from a path of net length > k [BB] if and only if there is no homomorphism to G from a path of net length > k [BB] (obstacles are oriented paths) … PkPk

G has a P-colouring if and only if there is no homomorphism to G from a path P’ which is bad (does not admit a homomorphism to P) if and only if there is no homomorphism to G from a path P’ which is bad (does not admit a homomorphism to P) (obstacles are oriented paths) [HZ] (cf also [GWW])

G has a T k -colouring if and only if there is no homomorphism to G from P k if and only if there is no homomorphism to G from P k (obstacles are oriented paths) … TkTk

What algorithms? H has tree duality  a family  H of oriented trees such that G admits an H-colouring iff there is no homomorphism from a T   H to G (obstacles are oriented trees) H has tree duality  a family  H of oriented trees such that G admits an H-colouring iff there is no homomorphism from a T   H to G (obstacles are oriented trees)

What algorithms? H has treewidth k duality  a family  H of digraphs of treewidth k such that G admits an H-colouring iff there is no homomorphism from a T   H to G (obstacles are digraphs of small treewidth) H has treewidth k duality  a family  H of digraphs of treewidth k such that G admits an H-colouring iff there is no homomorphism from a T   H to G (obstacles are digraphs of small treewidth)

Bounded treewidth duality  k such that obstacles are graphs of treewidth k If H has bounded treewidth duality, then CSP(H) is in P [HNZ] [FV] width, datalog  k such that obstacles are graphs of treewidth k If H has bounded treewidth duality, then CSP(H) is in P [HNZ] [FV] width, datalog

What algorithms? Tree duality (obstacles are oriented trees) Treewidth two duality (obstacles are graphs of treewidth 2) Bounded treewidth duality There exist H without bounded treewidth duality but with CSP(H) in P [A] Tree duality (obstacles are oriented trees) Treewidth two duality (obstacles are graphs of treewidth 2) Bounded treewidth duality There exist H without bounded treewidth duality but with CSP(H) in P [A]

G has a T k -colouring if and only if there is no homomorphism to G from P k if and only if there is no homomorphism to G from P k (obstacles are oriented paths) … TkTk

Finitary dualities If H has finitary duality, then H has tree duality [NT] This happens if and only if H-colourability is first-order definable [A] Also follows from [R] If H has finitary duality, then H has tree duality [NT] This happens if and only if H-colourability is first-order definable [A] Also follows from [R]

Add unary relations (still graph theory) Fix a graph H with k vertices. Vocabulary has one binary relation name E and a set of unary relation names U 1, U 2,…, U 2 k -1 Interpret H with U i (H) the subsets of V(H) ( conservative structure H) (still graph theory) Fix a graph H with k vertices. Vocabulary has one binary relation name E and a set of unary relation names U 1, U 2,…, U 2 k -1 Interpret H with U i (H) the subsets of V(H) ( conservative structure H)

List homomorphism problem LHOM(H) CSP(H*) Fixed graph H Given an input graph G, with lists L(v)  V(H), v  V(G) Is there a homomorphism f of G to H with all f(v)  L(v) ? LHOM(H) CSP(H*) Fixed graph H Given an input graph G, with lists L(v)  V(H), v  V(G) Is there a homomorphism f of G to H with all f(v)  L(v) ?

RET(H) LHOM(H) restricted to inputs G containing H with L(v)={v} for all vertices v of H LHOM(H) restricted to inputs G containing H with L(v)={v} for all vertices v of H u u v v w wxy x y u,v,w,x,y

List homomorphism problem Assume E(H) is reflexive  If H is an interval graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FH] Assume E(H) is reflexive  If H is an interval graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FH]

Interval graphs a e c d b dc e ba (reflexive)

Interval graphs a e c d b dc e ba have conservative majority polymorphisms

Interval graphs a e c d b dc e ba conservative majority polymorphisms m(a,b,c) = a, b, or c

Structural characterization H is an interval graph if and only if it does not have an induced cycle of length >3, or an asteroidal triple of vertices [LB]

List homomorphism problem Assume E(H) is reflexive  If H is an interval graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FH] Assume E(H) is reflexive  If H is an interval graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FH]

Conservative majority polymorphisms Reflexive interval graphs have them They imply polynomiality of LHOM(H) LHOM(H) is NP-complete for other reflexive graphs Reflexive interval graphs have them They imply polynomiality of LHOM(H) LHOM(H) is NP-complete for other reflexive graphs

Predicted theorem A reflexive graph H has a conservative majority function iff it is an interval graph [BFHHM] A reflexive graph H has a conservative majority function iff it is an interval graph [BFHHM]

Predicted theorem A reflexive graph H has a conservative majority function iff it is an interval graph [BFHHM] A reflexive graph H has a majority function if and only if it is a retract of a product of interval graphs [JMP] [HR] A reflexive graph H has a conservative majority function iff it is an interval graph [BFHHM] A reflexive graph H has a majority function if and only if it is a retract of a product of interval graphs [JMP] [HR]

Absolute retracts A reflexive graph H is a retract of every G which contains H as an isometric subgraph iff H has a majority polymorphism [JMP] [HR]

Absolute retracts A reflexive graph H is a retract of every G which contains H as an isometric subgraph iff H has a majority polymorphism [JMP] [HR] But RET(H) is polynomial in other cases A reflexive graph H is a retract of every G which contains H as an isometric subgraph iff H has a majority polymorphism [JMP] [HR] But RET(H) is polynomial in other cases

List homomorphism problem In general  If H is a bi-arc graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FHH] G has cons. majority iff it is a bi-arc graph [BFHHM] In general  If H is a bi-arc graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FHH] G has cons. majority iff it is a bi-arc graph [BFHHM]

List homomorphism problem In general  If H is a bi-arc graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FHH] G has cons. near un. iff it is a bi-arc graph [BFHHM] In general  If H is a bi-arc graph, then LHOM(H) is in P  Otherwise, LHOM(H) is NP-complete [FHH] G has cons. near un. iff it is a bi-arc graph [BFHHM]

Dichotomy for conservative H (not graph theory) CSP(H) is in P or is NP-complete [B] (not graph theory) CSP(H) is in P or is NP-complete [B]

Digraphs H Conjecture 1 [FH] –For reflexive digraphs, LHOM(H)  P when H has the X-underbar property and is NP-complete otherwise Conjecture 2 [FH] –For irreflexive digraphs, LHOM(H)  P when H has a majority function, and is NP-complete otherwise Conjecture 1 [FH] –For reflexive digraphs, LHOM(H)  P when H has the X-underbar property and is NP-complete otherwise Conjecture 2 [FH] –For irreflexive digraphs, LHOM(H)  P when H has a majority function, and is NP-complete otherwise

Restricted lists Suppose each list induces a connected subgraph of H –If H is chordal CLHOM(H)  P –Otherwise CLHOM(H) is NP-complete [FH] Suppose each list induces a connected subgraph of H –If H is chordal CLHOM(H)  P –Otherwise CLHOM(H) is NP-complete [FH]

Chordal graph Intersection graph of subtrees in a tree No induced cycle of length > 3 Perfect elimination ordering of vertices Have near unanimity polymorphisms [BFHHM] Intersection graph of subtrees in a tree No induced cycle of length > 3 Perfect elimination ordering of vertices Have near unanimity polymorphisms [BFHHM]

Minimum Cost Homomorphisms Let c v (w) = the cost of mapping v  V(G) to w  V(H)  Compute min f ∑ v c v (f(v)) MCHOM(H) (H is fixed, input is G and c) Let c v (w) = the cost of mapping v  V(G) to w  V(H)  Compute min f ∑ v c v (f(v)) MCHOM(H) (H is fixed, input is G and c)

Dichotomy If each component of H is a reflexive interval graph or an irreflexive interval bigraph, then MCHOM(H)  P [GHRY,CCJK] Otherwise, MCHOM(H) is NP-complete [GHRY] If each component of H is a reflexive interval graph or an irreflexive interval bigraph, then MCHOM(H)  P [GHRY,CCJK] Otherwise, MCHOM(H) is NP-complete [GHRY]

Relation to Soft Constraints Unary constraints (lists) are soft Binary constraint (edges) are crisp Unary constraints (lists) are soft Binary constraint (edges) are crisp

Proper interval graphs Representable by an inclusion-free family of intervals A reflexive graph G is a proper interval graph iff it has no induced Representable by an inclusion-free family of intervals A reflexive graph G is a proper interval graph iff it has no induced

Proper interval graphs Representable by an inclusion-free family of intervals A reflexive graph G is a proper interval graph iff it has a Min-Max polymorphism Representable by an inclusion-free family of intervals A reflexive graph G is a proper interval graph iff it has a Min-Max polymorphism

Reflexive graphs H HOM(H) (=CSP(H)) always easy RET(H) dichotomy open LHOM(H) easy just for interval graphs MCHOM(H) easy just for proper interval graphs HOM(H) (=CSP(H)) always easy RET(H) dichotomy open LHOM(H) easy just for interval graphs MCHOM(H) easy just for proper interval graphs

Review How much is lost by focusing on graphs How graphs help intuition How graph theory gets used How much is lost by focusing on graphs How graphs help intuition How graph theory gets used

Overviews  G. Hahn, G. MacGillivray, Graph homomorphisms: computational aspects and infinite graphs, 2006 P. Hell, J. Nesetril, Graph Homomorphisms, OUP, 2004 P.Hell, From graph colouring to constraint satisfaction: there and back again, 2006 P. Hell, Algorithmic aspects of graph homomorphisms, Surveys in Combinatorics 2003, LMS Lecture Note Series 307  G. Hahn, G. MacGillivray, Graph homomorphisms: computational aspects and infinite graphs, 2006 P. Hell, J. Nesetril, Graph Homomorphisms, OUP, 2004 P.Hell, From graph colouring to constraint satisfaction: there and back again, 2006 P. Hell, Algorithmic aspects of graph homomorphisms, Surveys in Combinatorics 2003, LMS Lecture Note Series 307

Sources A. Atserias, On digraph coloring problems and treewidth duality, LICS 2005 J. Bang-Jensen, P. Hell, On the effect of two cycles on the complexity of colouring, DAM 26 (1990)  J. Bang Jensen, G. MacGillivray, On the complexity of colouring by digraphs with at most one directed cycle, Ars Combin. 35A (1993) J. Bang Jensen, P. Hell, G. MacGillivray, Hereditarily hard H-colouring problems, DM 138 (1995) J. Bang Jensen, P. Hell, G. MacGillivray, On the complexity of colouring by superdigraphs of bipartite graphs, DM 109 (1992) A. Bulatov, Tractable conservative constraint satisfaction problems, ACM TCL, to appear A. Bulatov, H-coloring dichotomy revisited, manuscript 2005 A. Bulatov, A. Krokhin, P. Jeavons, Constraint satisfaction problems and finite algebras, ICALP 2000 A. Atserias, On digraph coloring problems and treewidth duality, LICS 2005 J. Bang-Jensen, P. Hell, On the effect of two cycles on the complexity of colouring, DAM 26 (1990)  J. Bang Jensen, G. MacGillivray, On the complexity of colouring by digraphs with at most one directed cycle, Ars Combin. 35A (1993) J. Bang Jensen, P. Hell, G. MacGillivray, Hereditarily hard H-colouring problems, DM 138 (1995) J. Bang Jensen, P. Hell, G. MacGillivray, On the complexity of colouring by superdigraphs of bipartite graphs, DM 109 (1992) A. Bulatov, Tractable conservative constraint satisfaction problems, ACM TCL, to appear A. Bulatov, H-coloring dichotomy revisited, manuscript 2005 A. Bulatov, A. Krokhin, P. Jeavons, Constraint satisfaction problems and finite algebras, ICALP 2000

G. Bloom, S. Burr, On unavoidable digraphs in orientations of graphs, JGT 11 (1987) R. Brewster, T. Feder, P. Hell, J. Huang, G. MacGillivray, NUF’s, 2004 D. Cohen, M. Cooper, P. Jeavons, A. Krokhin, A maximal tractable class of soft constraints, JAIR 22 (2004)G. Bloom, S. Burr, On unavoidable digraphs in orientations of graphs, JGT 11 (1987) R. Brewster, T. Feder, P. Hell, J. Huang, G. MacGillivray, NUF’s, 2004 D. Cohen, M. Cooper, P. Jeavons, A. Krokhin, A maximal tractable class of soft constraints, JAIR 22 (2004)T. Feder, P. Hell, J. Huang, Bi- arc graphs and the complexity of list homomorphisms, JGT 42 (2003) T. Feder, P. Hell, List homomorphisms to reflexive graphs, JCT B 72 (1998) T. Feder, P. Hell, J. Huang, List homomorphisms to reflexive digraphs, manuscript 2003 T. Feder, M. Vardi, The computational structure of monotone monadic SNP and constraint satisfaction, SICOMP 28 (1998) G. Gutin, A. Rafei, P. Hell, A. Yeo, Minimum cost homomorphisms, manuscript 2005 G. Bloom, S. Burr, On unavoidable digraphs in orientations of graphs, JGT 11 (1987) R. Brewster, T. Feder, P. Hell, J. Huang, G. MacGillivray, NUF’s, 2004 D. Cohen, M. Cooper, P. Jeavons, A. Krokhin, A maximal tractable class of soft constraints, JAIR 22 (2004)G. Bloom, S. Burr, On unavoidable digraphs in orientations of graphs, JGT 11 (1987) R. Brewster, T. Feder, P. Hell, J. Huang, G. MacGillivray, NUF’s, 2004 D. Cohen, M. Cooper, P. Jeavons, A. Krokhin, A maximal tractable class of soft constraints, JAIR 22 (2004)T. Feder, P. Hell, J. Huang, Bi- arc graphs and the complexity of list homomorphisms, JGT 42 (2003) T. Feder, P. Hell, List homomorphisms to reflexive graphs, JCT B 72 (1998) T. Feder, P. Hell, J. Huang, List homomorphisms to reflexive digraphs, manuscript 2003 T. Feder, M. Vardi, The computational structure of monotone monadic SNP and constraint satisfaction, SICOMP 28 (1998) G. Gutin, A. Rafei, P. Hell, A. Yeo, Minimum cost homomorphisms, manuscript 2005

W. Gutjahr, E. Welzl, G. Woeginger, Polynomial graph-colorings, DAM 35 (1992) P. Hell, J. Huang, Interval bigraphs and circular arc graphs, JGT 46 (2004) P. Hell, J. Nesetril, On the complexity of H-colouring, JCT B 48 (1990) P. Hell, J. Nesetril, X. Zhu, Duality and polynomial testing of tree homomorphisms, TAMS 348 (1996) P. Hell, J. Nesetril, X. Zhu, Complexity of tree homomorphisms, DAM 70 (1996) P. Hell, I. Rival, Retracts in graphs, Canad. J. Math. 39 (1987) P. Hell, X. Zhu, Homomorphisms to oriented paths, DM 132 (1994) E.M. Jawhari, D. Misane, M. Pouzet, Contemp. Math. 57 (1986) J. Nesetril, C. Tardif, Duality theorems for finite structures, JCT B 80 (2000) B. Rossman, Existential positive types and preservation under homomorphisms, LICS 2005 W. Gutjahr, E. Welzl, G. Woeginger, Polynomial graph-colorings, DAM 35 (1992) P. Hell, J. Huang, Interval bigraphs and circular arc graphs, JGT 46 (2004) P. Hell, J. Nesetril, On the complexity of H-colouring, JCT B 48 (1990) P. Hell, J. Nesetril, X. Zhu, Duality and polynomial testing of tree homomorphisms, TAMS 348 (1996) P. Hell, J. Nesetril, X. Zhu, Complexity of tree homomorphisms, DAM 70 (1996) P. Hell, I. Rival, Retracts in graphs, Canad. J. Math. 39 (1987) P. Hell, X. Zhu, Homomorphisms to oriented paths, DM 132 (1994) E.M. Jawhari, D. Misane, M. Pouzet, Contemp. Math. 57 (1986) J. Nesetril, C. Tardif, Duality theorems for finite structures, JCT B 80 (2000) B. Rossman, Existential positive types and preservation under homomorphisms, LICS 2005