Overview
-
Upload
tara-mcleod -
Category
Documents
-
view
13 -
download
0
description
Transcript of Overview
![Page 1: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/1.jpg)
![Page 2: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/2.jpg)
Overview
• MAX-CSP– Input = List of Constraint– Constraint = Relation + List of Variable– Relation = int. // Relation number– Variable = int.
• Example Input: One relation (22) of rank 3– 22 1 2 3 – 22 1 2 4 – 22 1 3 4
22 = 1in3
![Page 3: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/3.jpg)
1in3
0
0.1
0.2
0.3
0.4
0.5
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
Coin bias (Probability of setting a variable to true)
Fra
ctio
n o
f co
nst
rain
ts t
hat
ar
e g
uar
ante
ed t
o b
e sa
tisf
ied
maximize 3x(1-x)2
![Page 4: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/4.jpg)
![Page 5: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/5.jpg)
Simple example
1in3 Problem(f): Given a constraint system (a bag of constraints)expressed in n variables which may assume only the values 0 or 1, find anassignment to the n variables which satisfiesat least the fraction f of the constraints.
Example: Constraints are of the form 1in3.22 1 2 3 22 1 2 4 22 1 3 4 22 2 3 4
![Page 6: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/6.jpg)
Simple example
1in3 Problem(f):
For f <= 4/9: problem has polynomial solutionFor f = 4/9 + : problem is NP-complete,
critical transition point
easy (fluid)
hard (solid)
![Page 7: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/7.jpg)
Example
x1 + x2 + x3 = 1x1 + x2 + + x4 = 1 can satisfy 6/7x1 + x3 + x4 = 1 x1 + x3 + x4 = 1x1 + x2 + + x5 = 1x1 + x3 + x5 = 1 x2 + x3 + x5 =1
![Page 8: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/8.jpg)
Forget about computation ...
• Focus on purely mathematical question first
• Algorithmic solution will follow
• Mathematical question: Given a constraint system S, which fraction of the constraints can always be satisfied by some (0,1) assignment? In which constraint systems is it impossible to satisfy many constraints? What is the worst-case?
![Page 9: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/9.jpg)
Transition Rules
• Unit-Propagation (UP):
M || F || SR || N → Mk || F || SR || N
• if k is undefined in M, and• unsat (M¬k,SR) > 0 or unsat(M¬k,F) ≥ unsat(N,F).
![Page 10: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/10.jpg)
Transition Rules
• Decide (D):
M || F || SR || N → Mkd || F || SR || N
• if k is undefined in M, and• v(k) occurs in some constraint of F.
![Page 11: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/11.jpg)
Transition Rules
• Update:
M || F || SR || N → M || F || SR || M
• if M is complete, and• unsat(M,F) < unsat(N,F).
![Page 12: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/12.jpg)
Transition Rules
• Restart:
M || F || SR || N → { } || F || SR || N
![Page 13: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/13.jpg)
Transition Rules
• Finale:
M || F || SR || N → M || F || SR || N
• if Φ SR or unsat(N,F) = 0.
![Page 14: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/14.jpg)
Transition Rules
• Semi-Superresolution (SSR):
NewSR = V (¬k), where k Md
M || F || SR || N → M || F || SR, NewSR || N
• if unsat(M,SR) > 0 or unsat(M,F) ≥ unsat(N,F).
![Page 15: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/15.jpg)
Transition Rules
![Page 16: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/16.jpg)
Transition Rules (cont.)
![Page 17: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/17.jpg)
Transition Manager
![Page 18: Overview](https://reader035.fdocuments.us/reader035/viewer/2022072015/56813099550346895d96788f/html5/thumbnails/18.jpg)
appmean is an approximation of the true mean