Degree-constrained orientations of embedded graphs Yann Disser - - PowerPoint PPT Presentation

degree constrained orientations of embedded graphs
SMART_READER_LITE
LIVE PREVIEW

Degree-constrained orientations of embedded graphs Yann Disser - - PowerPoint PPT Presentation

Degree-constrained orientations of embedded graphs Yann Disser Jannik Matuschke The Combinatorial Optimization Workshop Aussois, January 9, 2013 Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs Graph


slide-1
SLIDE 1

Degree-constrained orientations of embedded graphs

Yann Disser Jannik Matuschke The Combinatorial Optimization Workshop Aussois, January 9, 2013

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-2
SLIDE 2

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-3
SLIDE 3

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-4
SLIDE 4

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

◮ applications in graph drawing,

evacuation, data structures, theoretical insights ...

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-5
SLIDE 5

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

◮ applications in graph drawing,

evacuation, data structures, theoretical insights ...

◮ solvable in poly-time, even for

general upper and lower bounds

[Hakimi 1965, Frank & Gyárfás 1976]

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-6
SLIDE 6

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

◮ applications in graph drawing,

evacuation, data structures, theoretical insights ...

◮ solvable in poly-time, even for

general upper and lower bounds

[Hakimi 1965, Frank & Gyárfás 1976]

Question What if we have degree-constraints in primal and dual graph?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-7
SLIDE 7

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

◮ applications in graph drawing,

evacuation, data structures, theoretical insights ...

◮ solvable in poly-time, even for

general upper and lower bounds

[Hakimi 1965, Frank & Gyárfás 1976]

Question What if we have degree-constraints in primal and dual graph?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-8
SLIDE 8

Graph orientation

1 1 2 2

1 3 2 Problem Given graph G and α : V → N0, is there an orientation s.t. every vertex v has in-degree α(v)?

◮ applications in graph drawing,

evacuation, data structures, theoretical insights ...

◮ solvable in poly-time, even for

general upper and lower bounds

[Hakimi 1965, Frank & Gyárfás 1976]

Question What if we have degree-constraints in primal and dual graph?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-9
SLIDE 9

Outline

1 1 2 2

1 3 2 [4, 6]

1 Uniqueness for planar embeddings 2 Bound for general embeddings 3 Hardness for interval version

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-10
SLIDE 10

Problem definition

Primal-dual orientation problem Input: embedded graph G = (V, E), α : V → N0, α∗ : V ∗ → N0 Task: Is there orientation D, s.t. |δ−

D (v)| = α(v) for all v ∈ V and

|δ−

D (f)| = α∗(f) for all f ∈ V ∗?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-11
SLIDE 11

Problem definition

Primal-dual orientation problem Input: embedded graph G = (V, E), α : V → N0, α∗ : V ∗ → N0 Task: Is there orientation D, s.t. |δ−

D (v)| = α(v) for all v ∈ V and

|δ−

D (f)| = α∗(f) for all f ∈ V ∗?

Existence of primal and dual solution not sufficient

1 1

1 1

1 1

1 1

1 1

1 1

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-12
SLIDE 12

Outline

1 1 2 2

1 3 2

1 Uniqueness for planar embeddings

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-13
SLIDE 13

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-14
SLIDE 14

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+1

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-15
SLIDE 15

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+1

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-16
SLIDE 16

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+|E[S]|

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-17
SLIDE 17

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+|E[S]|

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-18
SLIDE 18

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+|E[S]|

Definiton An edge is called rigid if e ∈ δ(S) for some S ⊆ V with

  • v∈S α(v) = |E[S]|. R := {e ∈ E : e is rigid}.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-19
SLIDE 19

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+|E[S]|

Definiton An edge is called rigid if e ∈ δ(S) for some S ⊆ V with

  • v∈S α(v) = |E[S]|. R := {e ∈ E : e is rigid}.

Lemma If D feasible orientation, then e ∈ R iff e on directed cut w.r.t. D.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-20
SLIDE 20

Directed cuts and rigid edges

Observation Let S ⊆ V. If

v∈S α(v) = |E[S]|,

then all edges in δ(S) must be

  • riented away from S.

S

+|E[S]|

Definiton An edge is called rigid if e ∈ δ(S) for some S ⊆ V with

  • v∈S α(v) = |E[S]|. R := {e ∈ E : e is rigid}.

Lemma If D feasible orientation, then e ∈ R iff e on directed cut w.r.t. D.

◮ Same argumentation in dual graph gives set R∗.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-21
SLIDE 21

Uniqueness of solution in planar embeddings

Theorem If G is a plane graph and there is a globally feasible orientation D, then E = R ˙ ∪ R∗. Thus, D is the unique solution.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-22
SLIDE 22

Uniqueness of solution in planar embeddings

Theorem If G is a plane graph and there is a globally feasible orientation D, then E = R ˙ ∪ R∗. Thus, D is the unique solution. Proof.

◮ e either on directed cycle or directed cut of GD

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-23
SLIDE 23

Uniqueness of solution in planar embeddings

Theorem If G is a plane graph and there is a globally feasible orientation D, then E = R ˙ ∪ R∗. Thus, D is the unique solution. Proof.

◮ e either on directed cycle or directed cut of GD ◮ e on di-cut of GD ⇔ e ∈ R

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-24
SLIDE 24

Uniqueness of solution in planar embeddings

Theorem If G is a plane graph and there is a globally feasible orientation D, then E = R ˙ ∪ R∗. Thus, D is the unique solution. Proof.

◮ e either on directed cycle or directed cut of GD ◮ e on di-cut of GD ⇔ e ∈ R ◮ e on di-cycle of GD ⇔ e on di-cut of G∗ D ⇔ e ∈ R∗

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-25
SLIDE 25

Uniqueness of solution in planar embeddings

Theorem If G is a plane graph and there is a globally feasible orientation D, then E = R ˙ ∪ R∗. Thus, D is the unique solution. Proof.

◮ e either on directed cycle or directed cut of GD ◮ e on di-cut of GD ⇔ e ∈ R ◮ e on di-cycle of GD ⇔ e on di-cut of G∗ D ⇔ e ∈ R∗

Corollary We can find D in time O(|E|3/2) by computing a feasible

  • rientation in G and G∗ and combining their rigid parts.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-26
SLIDE 26

Outline

2 Bound for general embeddings

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-27
SLIDE 27

Linear algebra for general embeddings

Linear algebra formulation D: arbitrary orientation x(e) ∈ {0, 1}: reverse edge e?

  • e∈δ+

D (v)

x(e) −

  • e∈δ−

D (v)

x(e) + |δ−

D (v)|

= α(v) ∀v ∈ V

  • e∈δ+

D (f)

x(e) −

  • e∈δ−

D (f)

x(e) + |δ−

D (f)|

= α∗(f) ∀f ∈ V ∗

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-28
SLIDE 28

Linear algebra for general embeddings

Linear algebra formulation D: arbitrary orientation x(e) ∈ {0, 1}: reverse edge e?

  • e∈δ+

D (v)

x(e) −

  • e∈δ−

D (v)

x(e) = α(v) − |δ−

D (v)|

∀v ∈ V

  • e∈δ+

D (f)

x(e) −

  • e∈δ−

D (f)

x(e) = α∗(f) − |δ−

D (f)|

∀f ∈ V ∗

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-29
SLIDE 29

Linear algebra for general embeddings

Linear algebra formulation D: arbitrary orientation x(e) ∈ {0, 1}: reverse edge e?

  • e∈δ+

D (v)

x(e) −

  • e∈δ−

D (v)

x(e) = α(v) − |δ−

D (v)|

∀v ∈ V

  • e∈δ+

D (f)

x(e) −

  • e∈δ−

D (f)

x(e) = α∗(f) − |δ−

D (f)|

∀f ∈ V ∗ Observation

◮ rank of the system is |V| − 1 + |V ∗| − 1

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-30
SLIDE 30

Linear algebra for general embeddings

Linear algebra formulation D: arbitrary orientation x(e) ∈ {0, 1}: reverse edge e?

  • e∈δ+

D (v)

x(e) −

  • e∈δ−

D (v)

x(e) = α(v) − |δ−

D (v)|

∀v ∈ V

  • e∈δ+

D (f)

x(e) −

  • e∈δ−

D (f)

x(e) = α∗(f) − |δ−

D (f)|

∀f ∈ V ∗ Observation

◮ rank of the system is |V| − 1 + |V ∗| − 1 ◮ all solutions in space of dimension

|E| − |V| − |V ∗| − 2 = 2g (Euler’s formula)

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-31
SLIDE 31

Bound on the number of solutions

Theorem

◮ There are at most 22g feasible orientations. ◮ All orientations can be found in time O(22g|E|2 + |E|3).

Remark The bound on the number of orientations is tight.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-32
SLIDE 32

Outline

[4, 6]

3 Hardness for interval version

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-33
SLIDE 33

Orientations with upper and lower bounds

Bounded primal-dual orientation problem Input: embedded graph G = (V, E), α, β : V → N0, α∗, β∗ : V ∗ → N0 Task: Is there orientation D, s.t. α(v) ≤ |δ−

D (v)| ≤ β(v) for all v ∈ V and

α∗(f) ≤ |δ−

D (f)| ≤ β∗(f) for all f ∈ V ∗?

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-34
SLIDE 34

Orientations with upper and lower bounds

Bounded primal-dual orientation problem Input: embedded graph G = (V, E), α, β : V → N0, α∗, β∗ : V ∗ → N0 Task: Is there orientation D, s.t. α(v) ≤ |δ−

D (v)| ≤ β(v) for all v ∈ V and

α∗(f) ≤ |δ−

D (f)| ≤ β∗(f) for all f ∈ V ∗?

Theorem This problem is NP-hard, even for planar embeddings.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-35
SLIDE 35

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-36
SLIDE 36

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Variable gadget

2

1 T

2

F

2

1 T

2

F

2 2 2 T 2

1 F

2

T

2

1 F C1 C2 Cd−1 Cd

[0, 2 deg(xi)]

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-37
SLIDE 37

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Variable gadget

2

1 T

2

F

2

1 T

2

F

2 2 2 T 2

1 F

2

T

2

1 F C1 C2 Cd−1 Cd

[0, 2 deg(xi)]

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-38
SLIDE 38

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Variable gadget

2

1 T

2

F

2

1 T

2

F

2 2 2 T 2

1 F

2

T

2

1 F C1 C2 Cd−1 Cd

[0, 2 deg(xi)]

: true : false

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-39
SLIDE 39

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Variable gadget

2

1 T

2

F

2

1 T

2

F

2 2 2 T 2

1 F

2

T

2

1 F C1 C2 Cd−1 Cd

[0, 2 deg(xi)]

: true : false

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-40
SLIDE 40

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Variable gadget

2

1 T

2

F

2

1 T

2

F

2 2 2 T 2

1 F

2

T

2

1 F C1 C2 Cd−1 Cd

[0, 2 deg(xi)]

: true : false

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-41
SLIDE 41

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Clause gadget

2 1 1 2 1 1 2 1 1

F T F T F T x2 x3 x1

[4, 6]

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-42
SLIDE 42

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Clause gadget

2 1 1 2 1 1 2 1 1

F T F T F T x2 x3 x1 false false true

[4, 6]

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-43
SLIDE 43

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Edge gadget

2

F

2

T 1

1

F

1

T [0, 4]

variable clause

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-44
SLIDE 44

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Edge gadget

2

F

2

T 1

1

F

1

T [0, 4]

variable clause

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-45
SLIDE 45

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Edge gadget

2

F

2

T 1

1

F

1

T [0, 4]

variable clause

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-46
SLIDE 46

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Edge gadget (negated)

2

F

2

T 1

1

F

1

T

2 2

1 [0, 4] [0, 4]

variable clause

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-47
SLIDE 47

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Edge gadget (negated)

2

F

2

T 1

1

F

1

T

2 2

1 [0, 4] [0, 4]

variable clause

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-48
SLIDE 48

Reduction from PLANAR 3-SAT

PLANAR 3-SAT Instance of 3-SAT s.t. the induced bipartite graph is planar. Example C1 = x1 ∨ ¬x2 ∨ ¬x3 C2 = x2 ∨ x3 ∨ ¬x4

x1 x2 x3 x4 C1 C2

Edge gadget (negated)

2

F

2

T 1

1

F

1

T

2 2

1 [0, 4] [0, 4]

variable clause

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-49
SLIDE 49

Summary

The primal-dual orientation problem ...

◮ has at most 22g solutions if degrees are fixed numbers

(enumeration in O(22g|E|2 + |E|3)).

◮ is NP-hard if only upper and lower bounds are given, even

for planar embeddings.

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-50
SLIDE 50

Summary

The primal-dual orientation problem ...

◮ has at most 22g solutions if degrees are fixed numbers

(enumeration in O(22g|E|2 + |E|3)).

◮ is NP-hard if only upper and lower bounds are given, even

for planar embeddings. Open question

◮ Can we find a feasible orientation in time poly(g, |E|)? Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs

slide-51
SLIDE 51

Summary

The primal-dual orientation problem ...

◮ has at most 22g solutions if degrees are fixed numbers

(enumeration in O(22g|E|2 + |E|3)).

◮ is NP-hard if only upper and lower bounds are given, even

for planar embeddings. Open question

◮ Can we find a feasible orientation in time poly(g, |E|)?

Thank you!

Yann Disser, Jannik Matuschke Degree-constrained orientations of embedded graphs