A Betweenness Approach for Solving the Linear Arrangement Problem - - PowerPoint PPT Presentation

a betweenness approach for solving the linear arrangement
SMART_READER_LITE
LIVE PREVIEW

A Betweenness Approach for Solving the Linear Arrangement Problem - - PowerPoint PPT Presentation

Linear Arrangement Problem A Betweenness Approach for Solving the Linear Arrangement Problem Marcus Oswald University of Heidelberg, Germany Joint work with Alberto Caprara, Emiliano Traversi, Michael Jung and Gerhard Reinelt Aussois,


slide-1
SLIDE 1

Linear Arrangement Problem

A Betweenness Approach for Solving the Linear Arrangement Problem

Marcus Oswald University of Heidelberg, Germany Joint work with Alberto Caprara, Emiliano Traversi, Michael Jung and Gerhard Reinelt Aussois, January 16th, 2009

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-2
SLIDE 2

Linear Arrangement Problem

Outline

1

Linear Arrangement Problem

2

Lower Bounds

3

Betweenness Approach

4

Branch-and-Cut Algorithms

5

Computational Results

6

Outlook

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-3
SLIDE 3

Linear Arrangement Problem

Definition

Given an undirected graph G(V, E)

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-4
SLIDE 4

Linear Arrangement Problem

Definition

Given an undirected graph G(V, E) Goal: Find a labeling π : V → {1, . . . , n} that minimizes

  • (i,j)∈E

|π(i) − π(j)|.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-5
SLIDE 5

Linear Arrangement Problem

Definition

Given an undirected graph G(V, E) Goal: Find a labeling π : V → {1, . . . , n} that minimizes

  • (i,j)∈E

|π(i) − π(j)|. Example

1 3 2 5 4 1 2 5 3 4

We call the minimum lap(G). Here lap(G) = 10.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-6
SLIDE 6

Linear Arrangement Problem

Combinatorial Lower Bounds I

Degree Lower Bound, Petit (2003) LBD = 1 2

  • i∈V

⌊(deg(i) + 1)2/4⌋

1 3 2 5 4

LBD = 1

2(4 + 4 + 2 + 2 + 2) = 7

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-7
SLIDE 7

Linear Arrangement Problem

Combinatorial Lower Bounds II

Edge Lower Bound, Petit (2003) At most (n − 1) edges with distance 1, (n − 2) with distance 2, etc.

1 3 2 5 4

LBE = 4 × 1 + 2 × 2 = 8

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-8
SLIDE 8

Linear Arrangement Problem

Eigenvalue Lower Bound

Eigenvalue Lower Bound, Juvan, Mohar (1992) The n × n Laplacian matrix L(G) of G is defined as: L(G)i,j :=    deg(i) i = j −1 (i, j) ∈ E

  • therwise.

LBJM = ⌈(λ2(n2 − 1)/6⌉ L(G) =       3 −1 −1 −1 −1 2 −1 −1 2 −1 −1 2 −1 −1 −1 −1 3       λ2 = 2 ⇒ LBJM = ⌈(2(52 − 1)/6⌉ = 8

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-9
SLIDE 9

Linear Arrangement Problem

Comparison of the Bounds

Name n m UB LBJM LBE LBD gd95c 62 144 506 37 250 292 gd96b 111 193 1416 42 276 702 gd96c 65 125 519 37 186 191 gd96d 180 228 2391 418 277 595

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-10
SLIDE 10

Linear Arrangement Problem

Linear Programming Bound

Amaral, Caprara, Letchford, Salazar (2007) Introduce distance variables dij and solve: min

  • (i,j)∈E

dij s.t.

  • (i,j)∈E(G′)

dij ≥ lap(G′), G′ subgraph of G dij ≥ 1, (i, j) ∈ E, where lap(G′) is known, for example for G′ stars, cliques, etc. Note: Separation can be done in the complete graph after computing shortest paths on the dij-values.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-11
SLIDE 11

Linear Arrangement Problem

Betweenness Approach

Indicators For each triple i, k, j, (i, j) ∈ E, k ∈ V \ {i, j} and each order π χπ

ikj indicates whether k lies between i and j in π:

χπ

ikj :=

     1 π−1(i) < π−1(k) < π−1(j)

  • r

π−1(i) > π−1(k) > π−1(j)

  • therwise.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-12
SLIDE 12

Linear Arrangement Problem

Betweenness Approach

Indicators For each triple i, k, j, (i, j) ∈ E, k ∈ V \ {i, j} and each order π χπ

ikj indicates whether k lies between i and j in π:

χπ

ikj :=

     1 π−1(i) < π−1(k) < π−1(j)

  • r

π−1(i) > π−1(k) > π−1(j)

  • therwise.

Example

1 3 2 5 4 1 2 5 3 4

Here: χπ

132 = 0 and χπ 235 = 1

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-13
SLIDE 13

Linear Arrangement Problem

Reformulation of the Problem

Computing the distances |π−1(i) − π−1(j)| = 1 +

  • k

χπ

ikj

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-14
SLIDE 14

Linear Arrangement Problem

Reformulation of the Problem

Computing the distances |π−1(i) − π−1(j)| = 1 +

  • k

χπ

ikj

Linear Arrangement Problem min

π∈S(n)

  • (i,j)∈E

(1 +

  • k

χπ

ikj) = m + min π∈S(n)

  • (i,j)∈E
  • k∈V

χπ

ikj.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-15
SLIDE 15

Linear Arrangement Problem

Branch-and-Cut based on Consecutive Ones

Problem Given a 0/1 vector x. Is there a labeling π with x = χπ?

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-16
SLIDE 16

Linear Arrangement Problem

Branch-and-Cut based on Consecutive Ones

Problem Given a 0/1 vector x. Is there a labeling π with x = χπ? Writing x as matrix We define a matrix M(x) ∈ {0, 1}2m×n like follows: M(x)r,k :=            1 k = i and r = r(i, j) or k = j and r = r(i, j) + m k = j and r = r(i, j) or k = i and r = r(i, j) + m xikj

  • therwise,

where r(i, j) denotes the edge with endnodes i and j.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-17
SLIDE 17

Linear Arrangement Problem

Branch-and-Cut based on Consecutive Ones

Problem Given a 0/1 vector x. Is there a labeling π with x = χπ? Writing x as matrix We define a matrix M(x) ∈ {0, 1}2m×n like follows: M(x)r,k :=            1 k = i and r = r(i, j) or k = j and r = r(i, j) + m k = j and r = r(i, j) or k = i and r = r(i, j) + m xikj

  • therwise,

where r(i, j) denotes the edge with endnodes i and j. Observation x is a feasible betweenness vector if and only if M(x) has the consecutive ones property for rows.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-18
SLIDE 18

Linear Arrangement Problem

Transformation into a Consecutive Ones Problem

Characterization of Tucker (1972) A 0/1 matrix M has the consecutive ones property for rows iff none of five types of forbidden matrices occur in M as submatrix.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-19
SLIDE 19

Linear Arrangement Problem

Transformation into a Consecutive Ones Problem

Characterization of Tucker (1972) A 0/1 matrix M has the consecutive ones property for rows iff none of five types of forbidden matrices occur in M as submatrix. Integer Programming Formulation There is a set of valid inequalities that can be separated in polynomial time and cut off all forbidden matrices.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-20
SLIDE 20

Linear Arrangement Problem

Transformation into a Consecutive Ones Problem

Characterization of Tucker (1972) A 0/1 matrix M has the consecutive ones property for rows iff none of five types of forbidden matrices occur in M as submatrix. Integer Programming Formulation There is a set of valid inequalities that can be separated in polynomial time and cut off all forbidden matrices. By solving the Weighted Consecutive Ones Problem with weights wr,k :=    n k = i and r = r(i, j) or k = j and r = r(i, j) −1

  • therwise,

we can solve the Linear Arrangement Problem.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-21
SLIDE 21

Linear Arrangement Problem

Branch-and-Cut based on Betweenness-Variables

Betweenness Polytope P G

BTW = conv{χπ | π ∈ S(n)}

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-22
SLIDE 22

Linear Arrangement Problem

Branch-and-Cut based on Betweenness-Variables

Betweenness Polytope P G

BTW = conv{χπ | π ∈ S(n)}

Linear Arrangement Problem m + min

x∈P G

BT W

  • k∈V
  • (i,j)∈E

xikj

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-23
SLIDE 23

Linear Arrangement Problem

Branch-and-Cut based on Betweenness-Variables

Betweenness Polytope P G

BTW = conv{χπ | π ∈ S(n)}

Linear Arrangement Problem m + min

x∈P G

BT W

  • k∈V
  • (i,j)∈E

xikj Observations Like in the dij-formulation: Let G′ ⊂ G. Each valid inequality for P G′

BTW is valid for P G BTW .

For special graphs (stars, cliques, cycles, ...) we know inequalities derived from the dij-formulation.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-24
SLIDE 24

Linear Arrangement Problem

Splitting distances

Computing the distances |π−1(i) − π−1(j)| = 1 +

  • k

χπ

ikj

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-25
SLIDE 25

Linear Arrangement Problem

Splitting distances

Computing the distances |π−1(i) − π−1(j)| = 1 +

  • k

χπ

ikj

In terms of variables dij = 1 +

  • k

xikj

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-26
SLIDE 26

Linear Arrangement Problem

Splitting distances

Computing the distances |π−1(i) − π−1(j)| = 1 +

  • k

χπ

ikj

In terms of variables dij = 1 +

  • k

xikj 3-Star d12 + d13 + d14 ≥ 4 ↓ x132 + x142 + x123 + x143 + x124 + x134 ≥ 1

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-27
SLIDE 27

Linear Arrangement Problem

More Valid Inequalities

Observation Not every valid inequality for P G

BTW can be derived from the

dij-formulation.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-28
SLIDE 28

Linear Arrangement Problem

More Valid Inequalities

Observation Not every valid inequality for P G

BTW can be derived from the

dij-formulation. Triangle Equation For ij, ik and jk ∈ E the triangle equation holds: xijk + xikj + xjik = 1

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-29
SLIDE 29

Linear Arrangement Problem

More Valid Inequalities

Observation Not every valid inequality for P G

BTW can be derived from the

dij-formulation. Triangle Equation For ij, ik and jk ∈ E the triangle equation holds: xijk + xikj + xjik = 1 Note The triangle equations could be easily separated but they only exist if the corresponding triangle is part of G.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-30
SLIDE 30

Linear Arrangement Problem

Relation to the Cut-Polytope I

Observation The vector χπ

ikj for fixed k is incidence vector of a cut in G \ {k}: 1 3 5 4 2

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-31
SLIDE 31

Linear Arrangement Problem

Relation to the Cut-Polytope I

Observation The vector χπ

ikj for fixed k is incidence vector of a cut in G \ {k}: 1 3 5 4 2

Consequence The projection of P G

BTW onto the variables xikj for a fixed node k

is isomorphic to the cut polytope P G′

CUT with G′ = G \ {k}.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-32
SLIDE 32

Linear Arrangement Problem

Relation to the Cut-Polytope II

J¨ unger, Reinelt, Rinaldi (1998) Consider an LP-solution over the semimetric polytope of a connected graph G(V, E). For each missing edge e = uv / ∈ E lower and upper bounds of the (artificial) LP value ¯ xe are given by ξl = max {¯ x(F)−¯ x(P\F)−|F|+1 | P (u, v)-path, F ⊆ P, |F| odd} ξu = min {−¯ x(F)+¯ x(P\F)+|F| | P (u, v)-path, F ⊆ P, |F| even}

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-33
SLIDE 33

Linear Arrangement Problem

Relation to the Cut-Polytope II

J¨ unger, Reinelt, Rinaldi (1998) Consider an LP-solution over the semimetric polytope of a connected graph G(V, E). For each missing edge e = uv / ∈ E lower and upper bounds of the (artificial) LP value ¯ xe are given by ξl = max {¯ x(F)−¯ x(P\F)−|F|+1 | P (u, v)-path, F ⊆ P, |F| odd} ξu = min {−¯ x(F)+¯ x(P\F)+|F| | P (u, v)-path, F ⊆ P, |F| even} Consequence All separation procedures for the betweenness polytope can be extended to the complete graph by shortest path computations.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-34
SLIDE 34

Linear Arrangement Problem

Complete Description of P G

BTW for G = K4

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-35
SLIDE 35

Linear Arrangement Problem

Complete Description of P G

BTW for G = K4

Triangle equations and odd-cycle inequalities are sufficient to describe the betweenness polytope of K4.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-36
SLIDE 36

Linear Arrangement Problem

Complete Description of P G

BTW for G = K4

Triangle equations and odd-cycle inequalities are sufficient to describe the betweenness polytope of K4. 3-Star Inequality xikj + xilj + xijk + xilk + xijl + xikl ≥ 1 can be written as the sum of the triangle equation xjlk + xkjl + xjkl = 1 and 3 odd-cycle inequalities xilk + xilj − xjlk ≥ 0 xijk + xijl − xkjl ≥ 0 xikl + xikj − xjkl ≥ 0

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-37
SLIDE 37

Linear Arrangement Problem

Branch-and-Cut

Feasibility Test Instead of an IP-formulation we use the PQ-Tree-Algorithm (Booth, Lueker, 1976) as feasibility test. If an integer solution is not feasible we derive a weak but violated inequality.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-38
SLIDE 38

Linear Arrangement Problem

Branch-and-Cut

Feasibility Test Instead of an IP-formulation we use the PQ-Tree-Algorithm (Booth, Lueker, 1976) as feasibility test. If an integer solution is not feasible we derive a weak but violated inequality. Separation Procedures Separate odd-cycle inequalities for all G \ {i}

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-39
SLIDE 39

Linear Arrangement Problem

Branch-and-Cut

Feasibility Test Instead of an IP-formulation we use the PQ-Tree-Algorithm (Booth, Lueker, 1976) as feasibility test. If an integer solution is not feasible we derive a weak but violated inequality. Separation Procedures Separate odd-cycle inequalities for all G \ {i} Compute upper bounds for all ¯ xikj as described before.

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-40
SLIDE 40

Linear Arrangement Problem

Branch-and-Cut

Feasibility Test Instead of an IP-formulation we use the PQ-Tree-Algorithm (Booth, Lueker, 1976) as feasibility test. If an integer solution is not feasible we derive a weak but violated inequality. Separation Procedures Separate odd-cycle inequalities for all G \ {i} Compute upper bounds for all ¯ xikj as described before. Enumerate all triangle inequalities

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-41
SLIDE 41

Linear Arrangement Problem

Branch-and-Cut

Feasibility Test Instead of an IP-formulation we use the PQ-Tree-Algorithm (Booth, Lueker, 1976) as feasibility test. If an integer solution is not feasible we derive a weak but violated inequality. Separation Procedures Separate odd-cycle inequalities for all G \ {i} Compute upper bounds for all ¯ xikj as described before. Enumerate all triangle inequalities Enumerate all 5-star inequalities

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-42
SLIDE 42

Linear Arrangement Problem

Branch-and-Cut

Feasibility Test Instead of an IP-formulation we use the PQ-Tree-Algorithm (Booth, Lueker, 1976) as feasibility test. If an integer solution is not feasible we derive a weak but violated inequality. Separation Procedures Separate odd-cycle inequalities for all G \ {i} Compute upper bounds for all ¯ xikj as described before. Enumerate all triangle inequalities Enumerate all 5-star inequalities Separate bigger stars heuristically

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-43
SLIDE 43

Linear Arrangement Problem

Comparison of Root Bounds

Name n m UB LBLP,dij LBWCOP LBBTW gd95c 62 144 506 442 489 506∗ gd96b 111 193 1416 1275 899 1396 gd96c 65 125 519 405 381 519∗ gd96d 180 228 2391 2021 1077 2357

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-44
SLIDE 44

Linear Arrangement Problem

Outlook

Betweenness approach provides very promising bounds

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-45
SLIDE 45

Linear Arrangement Problem

Outlook

Betweenness approach provides very promising bounds Deeper investigations of P G

BTW → separation routines

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-46
SLIDE 46

Linear Arrangement Problem

Outlook

Betweenness approach provides very promising bounds Deeper investigations of P G

BTW → separation routines

Using general cut generation like target-cuts or mod-k-cuts

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-47
SLIDE 47

Linear Arrangement Problem

Outlook

Betweenness approach provides very promising bounds Deeper investigations of P G

BTW → separation routines

Using general cut generation like target-cuts or mod-k-cuts Using the knowledge on separating procedures for max-cut (for example shrinking)

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-48
SLIDE 48

Linear Arrangement Problem

Outlook

Betweenness approach provides very promising bounds Deeper investigations of P G

BTW → separation routines

Using general cut generation like target-cuts or mod-k-cuts Using the knowledge on separating procedures for max-cut (for example shrinking) Better branching rules

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP

slide-49
SLIDE 49

Linear Arrangement Problem

Outlook

Betweenness approach provides very promising bounds Deeper investigations of P G

BTW → separation routines

Using general cut generation like target-cuts or mod-k-cuts Using the knowledge on separating procedures for max-cut (for example shrinking) Better branching rules Behaviour of our code on planar graphs

Marcus Oswald Heidelberg A Betweenness Approach for Solving the LAP