Increasing Symmetry Breaking by Preserving T arget Symmetries
Jimmy Lee and Jingying Li
THE CHINESE UNIVERSITY OF HONG KONG
1
Increasing Symmetry Breaking by Preserving T arget Symmetries - - PowerPoint PPT Presentation
1 Increasing Symmetry Breaking by Preserving T arget Symmetries Jimmy Lee and Jingying Li THE CHINESE UNIVERSITY OF HONG KONG 2 Overview A lot of CSPs are highly symmetric Breaking Symmetries in CSPs significantly reduce
THE CHINESE UNIVERSITY OF HONG KONG
1
2
… … … … … …
3
σ1, σ2, σ3, σ4, σ5, … … σn-4, σn-3, σn-2, σn-1, σn
(xi = ai)σ ≡ xiσ = ai
(xi = ai)σ ≡ xi = ai
σ
preserve the set of constraints σrx σry σd1 σd2 σr90 σr180 σr270
4
Ggeo:
5 x1 x2 x3 x4 x5
6
7
root
X1=1 X1=n X1=2
…
# Symmetries to eliminate Runtime
8
Constraint Propagation Overhead Search Time (Search Tree Size)
{Cσ1, Cσ2, Cσ3 , … , … , … , Cσn-1, Cσn }
Target Symmetries!
# Symmetries to eliminate Runtime
9
Constraint Propagation Overhead Search Time (Search Tree Size)
{Cσ1, Cσ2, Cσ3 , … , … , … , Cσn-1, Cσn }
Target Symmetries!
10
none none vertical reflection horizontal reflection main diagonal reflection minor diagonal reflection
1 1 3 5 2 3 2 4 5 4 5 3 5 1 2 4 2 4 1 3 2 4 1 3 5
11
12
Cσ1
1
2
Cσ1
k
… Cσ2
1
2
Cσ2
k
half half
13
Cσ1
1
2
Cσ1
k
… Cσ2
1
2
Cσ2
k
14
15
n ROWWISE Our Method #sol time #fails #sol time #fails 5 8 0.001 7 4 0.001 1 6 128 0.029 3000 64 0.004 652 7 171200 12.891 1413K 85600 1.954 163K 8 0.002 140 0.001 17 9 40.04 4327K 0.001 25 10 0.031 2025 0.002 175 11 12052 1204124K 0.005 339 all solutions
16
n ROWWISE Our Method #sol time #fails #sol time #fails 5 8 0.001 7 4 0.001 1 6 128 0.029 3000 64 0.004 652 7 171200 12.891 1413K 85600 1.954 163K 8 0.002 140 0.001 17 9 40.04 4327K 0.001 25 10 0.031 2025 0.002 175 11 12052 1204124K 0.005 339
half of the solution set size
all solutions
17
n ROWWISE Our Method #sol time #fails #sol time #fails 5 8 0.001 7 4 0.001 1 6 128 0.029 3000 64 0.004 652 7 171200 12.891 1413K 85600 1.954 163K 8 0.002 140 0.001 17 9 40.04 4327K 0.001 25 10 0.031 2025 0.002 175 11 12052 1204124K 0.005 339 all solutions
18
n ROWWISE Our Method #sol time #fails #sol time #fails 5 8 0.001 7 4 0.001 1 6 128 0.029 3000 64 0.004 652 7 171200 12.891 1413K 85600 1.954 163K 8 0.002 140 0.001 17 9 40.04 4327K 0.001 25 10 0.031 2025 0.002 175 11 12052 1204124K 0.005 339
19
: CGcol [Frisch et al. 2003] preserves Grow : CGval preserves {Grow, Gcol}, CGcol preserves Grow
20
21
dLex
Target Symmetries Tradition Our Method row, column dLex mLex row, column, value dLex-V mLex-V
mLex
22
mLex-V
Target Symmetries Tradition Our Method row, column dLex mLex row, column, value dLex-V mLex-V
dLex-V
23
dLex dLex-V
Target Symmetries Tradition Our Method row, column dLex mLex row, column, value dLex-V mLex-V
24
dLex dLex-V mLex mLex-V
Target Symmetries Tradition Our Method row, column dLex mLex row, column, value dLex-V mLex-V
25
dLex-V mLex
Target Symmetries Tradition Our Method row, column dLex mLex row, column, value dLex-V mLex-V
26
27
28
29