A Proof-Producing CSP Solver 1

Size: px
Start display at page:

Download "A Proof-Producing CSP Solver 1"

Transcription

1 A Proof-Producing CSP Solver 1 Michael Veksler Ofer Strichman Technion - Israel Institute of Technology CSP SAT June 18, Originally presented at AAAI 10

2 Introduction CSP proofs It is easy to validate a solution,... but difficult to validate UNSAT. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

3 Introduction CSP proofs It is easy to validate a solution,... but difficult to validate UNSAT. We introduce a CSP solver which produces a machine-checkable deductive proof. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

4 Introduction CSP proofs It is easy to validate a solution,... but difficult to validate UNSAT. We introduce a CSP solver which produces a machine-checkable deductive proof. This also gives us a better unsatisfiable core, Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

5 Introduction CSP proofs It is easy to validate a solution,... but difficult to validate UNSAT. We introduce a CSP solver which produces a machine-checkable deductive proof. This also gives us a better unsatisfiable core,... and facilitates developments as in the SAT world. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

6 CSP proofs Why bother? SAT solvers produce such proofs. Several killer-applications: (cont d...) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

7 CSP proofs Why bother? SAT solvers produce such proofs. Several killer-applications: Validate UNSAT results. (cont d...) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

8 CSP proofs Why bother? SAT solvers produce such proofs. Several killer-applications: Validate UNSAT results. Uses of the proof itself: Interpolation-based model checking [M03]. (cont d...) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

9 CSP proofs Why bother?... Several killer-applications (... cont d): Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

10 CSP proofs Why bother?... Several killer-applications (... cont d): Selective uses of the UNSAT core: Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

11 CSP proofs Why bother?... Several killer-applications (... cont d): Selective uses of the UNSAT core: Abstraction-refinement in model-checking [AM03], Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

12 CSP proofs Why bother?... Several killer-applications (... cont d): Selective uses of the UNSAT core: Abstraction-refinement in model-checking [AM03], Identify environment assumptions that are used in the proof [KKB09], Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

13 CSP proofs Why bother?... Several killer-applications (... cont d): Selective uses of the UNSAT core: Abstraction-refinement in model-checking [AM03], Identify environment assumptions that are used in the proof [KKB09], Faster solving of bitvector formulas [BKOSSB07]. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

14 CSP proofs Why bother?... Several killer-applications (... cont d): Selective uses of the UNSAT core: Abstraction-refinement in model-checking [AM03], Identify environment assumptions that are used in the proof [KKB09], Faster solving of bitvector formulas [BKOSSB07]. Can we foresee usage for proofs in CSP? Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

15 Introduction to proofs A deductive proof DAG c 1 c 2 c 3 i 1 i 2 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

16 Introduction to proofs A deductive proof DAG The roots: c CSP. c 1 c 2 c 3 i 1 i 2 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

17 Introduction to proofs A deductive proof DAG The roots: c CSP. The sink represents. c 1 c 2 c 3 i 1 i 2 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

18 Introduction to proofs A deductive proof DAG The roots: c CSP. The sink represents. The nodes in between are derived. c 1 c 2 c 3 i 1 i 2 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

19 Introduction to proofs A deductive proof DAG The roots: c CSP. The sink represents. The nodes in between are derived. c 1 c 2 c 3 i 1 i 2 parent 1 parent n [ rule name ] consequent Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

20 Resolution based proofs SAT solvers generate proofs: From initial clauses to (). Inference is via the binary-resolution rule. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

21 Resolution based proofs SAT solvers generate proofs: From initial clauses to (). Inference is via the binary-resolution rule. Unlike SAT solvers, CSPs: have non-boolean domains, and non-clausal constraints. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

22 Resolution based proofs SAT solvers generate proofs: From initial clauses to (). Inference is via the binary-resolution rule. Unlike SAT solvers, CSPs: have non-boolean domains, and non-clausal constraints. Can this gap be bridged? Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

23 Resolution based proofs Signed CNF [BHM00] - definition Let s be a set of values. A positive signed literal: a s, e.g., a {1, 2, 3}. Alternative notations: a [1..3], a = 4. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

24 Resolution based proofs Signed CNF [BHM00] - definition Let s be a set of values. A positive signed literal: a s, e.g., a {1, 2, 3}. Alternative notations: a [1..3], a = 4. A negative signed literal: a s, e.g., a {4}. Alternative notations: a {4}, a 4. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

25 Resolution based proofs Signed CNF [BHM00] - definition Let s be a set of values. A positive signed literal: a s, e.g., a {1, 2, 3}. Alternative notations: a [1..3], a = 4. A negative signed literal: a s, e.g., a {4}. Alternative notations: a {4}, a 4. A signed clause is a disjunction of signed literals. e.g., (a [1..3] b {4}) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

26 Resolution based proofs Signed CNF - resolution A binary-resolution rule for signed-cnf: (Literals 1 x A) (x B Literals 2 ) (sres(x)) (Literals 1 x A B Literals 2 ) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

27 Resolution based proofs Signed CNF - resolution A binary-resolution rule for signed-cnf: (Literals 1 x A) (x B Literals 2 ) (sres(x)) (Literals 1 x A B Literals 2 ) This can be used with constraints given as signed-clauses. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

28 Resolution based proofs Signed CNF - resolution A binary-resolution rule for signed-cnf: (Literals 1 x A) (x B Literals 2 ) (sres(x)) (Literals 1 x A B Literals 2 ) This can be used with constraints given as signed-clauses. But what about other constraints? e.g.,,alldifferent(v 1,...,v k ) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

29 CSP unsatisfiability proofs The challenge Q: Why not convert constraints to signed clauses? Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

30 CSP unsatisfiability proofs The challenge Q: Why not convert constraints to signed clauses? A: A clause representation is inefficient. e.g., x y requires: (x 1 y 1) (x 2 y 2) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT ) June 18, / 36

31 CSP unsatisfiability proofs The solution Solution: introduce clauses lazily. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

32 CSP unsatisfiability proofs The solution Solution: introduce clauses lazily. Consider a general constraint c, such that: In the context of l 1 l 2 l n, propagation of c implies l: (l 1 l n c) l Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

33 Explanation clauses The requirements (l 1 l n c) l Find an explanation clause e such that: e is not too strong: c e e is strong enough: (l 1 l n e) l Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

34 The structure of a PCS proof = e 1 e 2 e 3 sres x sres sres y sres sres sres () e 1,e 2,e 3 explanation clauses. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

35 Explanation rules For every constraint there is an explanation clause: constraint ( rule name ) explanation clause Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

36 Explanation rule example 1 Constraint: x y x y (x m y m) (Ne(m)) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

37 Explanation rule example 1 Propagation: context: l 1 : (x = 1), l 2 : (y [1..100]). constraint: c : x y. implies: l : (y [2..100]). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

38 Explanation rule example 1 Propagation: context: l 1 : (x = 1), l 2 : (y [1..100]). constraint: c : x y. implies: l : (y [2..100]). Explanation: e : (x 1 y 1) // = Ne(1) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

39 Explanation rule example 1 Propagation: context: l 1 : (x = 1), l 2 : (y [1..100]). constraint: c : x y. implies: l : (y [2..100]). Explanation: e : (x 1 y 1) // = Ne(1)... indeed: c Ne(1) e (l 1 l 2 e) l Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

40 Explanation rule example 2 Constraint: x y x y (x (,m] y [m + 1, )) (LE(m)) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

41 Explanation rule example 2 Propagation: context: l 1 : (x [1..3]), l 2 : (y [0..2]) constraint: c : x y. implies: l : x [1..2] Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

42 Explanation rule example 2 Propagation: context: l 1 : (x [1..3]), l 2 : (y [0..2]) constraint: c : x y. implies: l : x [1..2] Explanation: e : (x (,2] y [3, )). // = LE(2) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

43 Explanation rule example 2 Propagation: context: l 1 : (x [1..3]), l 2 : (y [0..2]) constraint: c : x y. implies: l : x [1..2] Explanation: e : (x (,2] y [3, )). // = LE(2)...indeed: c LE(2) e (l 1 l 2 e) l Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

44 Rule instantiation Q: How does PCS instantiate the rules? Consider the last example (LE(m)). We took m = max(domain(y)). Should we consider other values? Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

45 Rule instantiation Q: How does PCS instantiate the rules? Consider the last example (LE(m)). We took m = max(domain(y)). Should we consider other values? Yes! (to be shown later) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

46 Each constraint has its rule Constraint Name Inference rule a b x y a = b a b + c Ne(m) LE(m) Eq(D) LE + (m,n) a = b + c EQ a + (l b,u b,l c,u c ) AllDiff(v 1,...,v k ) AD(D,V) D +1 = V a b (a m b m) x y (x (,m] y [m + 1, )) a = b (a D b D) a b + c (a (,m + n] b [m + 1, ) c [n + 1, )) a = b + c (a [l b + l c,u b + u c ] b [l b,u b ] c [l c,u c ]) AllDiff(v 1,...,v k ) ( v V v D)... Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

47 The structure of a PCS proof = Eq(4) LE(3) Ne(1) e 1 e 2 e 3 sres x sres sres y sres sres sres () e 1,e 2,e 3 explanation clauses. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

48 But constraints are not axioms... So far we assumed that the constraints are axioms (unconditioned). Constraints can be conditioned, e.g., (b x y). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

49 But constraints are not axioms... So far we assumed that the constraints are axioms (unconditioned). Constraints can be conditioned, e.g., (b x y). Each of the above rules can be extended trivially to handle disjunction, e.g., b x y b (x (,m] y [m + 1, )) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

50 PCS: architecture partial assignment Decide full assignment BackTrack SAT bl 0 no conflict CP conflict Analyze- Conflict UNSAT bl < 0 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

51 From search to proof PCS is inspired by modern CDCL 2 SAT solvers. The learning mechanism is used for constructing a resolution proof. 2 Conflict-driven Clause-Learning Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

52 From search to proof PCS is inspired by modern CDCL 2 SAT solvers. The learning mechanism is used for constructing a resolution proof. Constraints propagation can be depicted in an implication graph... which is called a conflict graph in case of a conflict. 2 Conflict-driven Clause-Learning Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

53 From search to proof PCS is inspired by modern CDCL 2 SAT solvers. The learning mechanism is used for constructing a resolution proof. Constraints propagation can be depicted in an implication graph... which is called a conflict graph in case of a conflict. Analyze-Conflict learns a new clause from the conflict graph. 2 Conflict-driven Clause-Learning Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

54 From search to proof PCS is inspired by modern CDCL 2 SAT solvers. The learning mechanism is used for constructing a resolution proof. Constraints propagation can be depicted in an implication graph... which is called a conflict graph in case of a conflict. Analyze-Conflict learns a new clause from the conflict graph. If unsat: Starting from the empty clause, find the proof cone. Reconstruct a full proof. 2 Conflict-driven Clause-Learning Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

55 Implication graph (=>) Example Shows the context of implications. a D(a) = {1, 2} b c D(b) = {1, 2} D(c) = {1, 2} Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

56 Implication graph (=>) Example Shows the context of implications. a a = 1@1 b c D(b) = {1, 2} D(c) = {1, 2} b {1,2}@0 a=1@1 c {1,2}@0 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

57 Implication graph (=>) Example Shows the context of implications. a a = 1@1 b c D(b) = { 1, 2} D(c) = {1, 2} b {1,2}@0 a b a=1@1 a b b=2@1 c {1,2}@0 Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

58 Implication graph (=>) Example Shows the context of implications. b D(b) = {, 2} a a = 1@1 c D(c) = { 1,2} a b b {1,2}@0 a b b=2@1 a=1@1 a c c =2@1 c {1,2}@0 a c Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

59 Implication graph (=>) Example Shows the context of implications. b D(b) = {, 2} a a = 1@1 c D(c) = {, 2} a b b {1,2}@0 b c a b b=2@1 a=1@1 conflict a c c =2@1 c {1,2}@0 b c a c Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

60 Implication graph (=>) Shows the context of implications. Example a b b {1,2}@0 b c a b b=2@1 a=1@1 conflict a c c =2@1 c {1,2}@0 b c a c implied context constraint Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

61 Implication graph (=>) Shows the context of implications. Example a b b {1,2}@0 b c a b b=2@1 a=1@1 conflict a c c =2@1 c {1,2}@0 b c a c implied context constraint Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

62 Implication graph (=>) Shows the context of implications. Example a b b {1,2}@0 b c a b b=2@1 a=1@1 conflict a c c =2@1 c {1,2}@0 b c a c implied context constraint Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

63 ANALYZE-CONFLICT (<=) b {1,2}@0 a=1@1 c {1,2}@0 a b a b a c a c b=2@1 c =2@1 b c b c conflict e = (b 2 c 2) cl = Invariant: cl contradicts the literals of front. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

64 ANALYZE-CONFLICT (<=) b {1,2}@0 a=1@1 c {1,2}@0 a b a b a c a c front b=2@1 c =2@1 b c b c conflict cl = (b 2 c 2) Invariant: cl contradicts the literals of front. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

65 ANALYZE-CONFLICT (<=) b {1,2}@0 a=1@1 c {1,2}@0 a b a b a c a c front b=2@1 c =2@1 b c b c conflict e = (a 1 c 1) cl = (b 2 c 2) cl Resolve(cl,e,c) Invariant: cl contradicts the literals of front. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

66 ANALYZE-CONFLICT (<=) b {1,2}@0 a=1@1 c {1,2}@0 a b a b a c a c front b=2@1 c =2@1 b c b c conflict cl = (a 1 b 2 c {1,2}) Invariant: cl contradicts the literals of front. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

67 ANALYZE-CONFLICT (<=) b {1,2}@0 a=1@1 c {1,2}@0 a b a b a c a c front b=2@1 c =2@1 b c b c conflict e = (a 1 b 1) cl = (a 1 b 2 c {1,2}) cl Resolve(cl,e,b) Invariant: cl contradicts the literals of front. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

68 ANALYZE-CONFLICT (<=) front b {1,2}@0 a=1@1 c {1,2}@0 a b a b a c a c b=2@1 c =2@1 b c b c conflict cl = (a 1 b {1,2} c {1,2}) Invariant: cl contradicts the literals of front. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

69 ANALYZE-CONFLICT (<=) The resulting proof (b 2 c 2) R(c) NE(2) (a 1 c 1) R(c) (a 1 b 2 c {1,2}) NE(1) NE(1) b c a c a b R(b) (a 1 b 1) R(b) (a 1 b {1,2} c {1,2}) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

70 ANALYZE-CONFLICT (<=) The resulting proof NE(2) b c NE(1) (b 2 c 2) R(c) (a 1 c 1) R(c) (a 1 b 2 c {1,2}) NE(1) NE(1) a c a b NE(2) NE(2) (a 2 c 2) (b 1 c 1) R(c) R(c) (a 2 b 1 c {1,2}) R(b) (a 1 b 1) R(b) (a 1 b {1,2} c {1,2}) (a 2 b 2) R(b) R(b) (a 2 b {1,2} c {1,2}) R(a) R(a) (a {1,2} b {1,2} c {1,2}) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

71 ANALYZE-CONFLICT (<= The resulting proof (2) (a {1, 2} b {1, 2} c {1, 2}) (a {1, 2}) R(a) (b {1, 2} c {1, 2}) R(a) (b {1, 2}) R(b) (c {1, 2}) R(b) (c {1, 2}) R(c) () R(c) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

72 Optimization 1: augmented explanation Propagation: context: l 1 : (x [1..5]), l 2 : (y [2..3]) constraint: c : x y. implies: l : x [1..3] Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

73 Optimization 1: augmented explanation Propagation: context: l 1 : (x [1..5]), l 2 : (y [2..3]) constraint: c : x y. implies: l : x [1..3] Explanation: e : (x (,3] y [4, )). // = LE(3) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

74 Optimization 1: augmented explanation Propagation: context: l 1 : (x [1..5]), l 2 : (y [2..3]) constraint: c : x y. implies: l : x [1..3] Explanation: e : (x (,3] y [4, )). // = LE(3) But we now continue to resolve e with cl. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

75 Optimization 1: augmented explanation Propagation: context: l 1 : (x [1..5]), l 2 : (y [2..3]) constraint: c : x y. implies: l : x [1..3] Explanation: e : (x (,3] y [4, )). // = LE(3) But we now continue to resolve e with cl. Let cl = (x [6..8] z [1..2]). Resolve(e,cl,x) = (y [4, ) z [1..2]). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

76 Optimization 1: augmented explanation Let cl = (x [6..8] z [1..2]). Resolve(e,cl,x) = (y [4, ) z [1..2]). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

77 Optimization 1: augmented explanation Let cl = (x [6..8] z [1..2]). Resolve(e,cl,x) = (y [4, ) z [1..2]). Now consider LE(5): e : (x (,5] y [6, )). // = LE(5) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

78 Optimization 1: augmented explanation Let cl = (x [6..8] z [1..2]). Resolve(e,cl,x) = (y [4, ) z [1..2]). Now consider LE(5): e : (x (,5] y [6, )). // = LE(5) Resolve with cl: Resolve(e,cl,x) = (y [6, ] z [1,2]) Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

79 Optimization 1: augmented explanation Let cl = (x [6..8] z [1..2]). Resolve(e,cl,x) = (y [4, ) z [1..2]). Now consider LE(5): e : (x (,5] y [6, )). // = LE(5) Resolve with cl: Resolve(e,cl,x) = (y [6, ] z [1,2]) e is not an explanation, but it is good enough. We call it an augmented explanation. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

80 Optimization 1: formalization Assume that l 1 l n c l. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

81 Optimization 1: formalization Assume that l 1 l n c l. Let l cl be a literal such that var(l ) = var(l). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

82 Optimization 1: formalization Assume that l 1 l n c l. Let l cl be a literal such that var(l ) = var(l). e is an augmented explanation if c e (l 1 l n e ) l Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

83 Optimization 1: formalization Assume that l 1 l n c l. Let l cl be a literal such that var(l ) = var(l). e is an augmented explanation if c e (l 1 l n e ) l We choose e that results in the strongest resolvent. In particular: Resolve(e,cl,var(l)) Resolve(e,cl,var(l)). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

84 Optimization 2: Only consider relevant nodes Observation: vars(explanation) vars(predecessors). Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

85 Optimization 2: Only consider relevant nodes Observation: vars(explanation) vars(predecessors). Example: AllDiff (x,y,z). x = 1 y [2, 3]... y [1, 3] z = 2 z [1, 2] Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

86 Optimization 2: Only consider relevant nodes Observation: vars(explanation) vars(predecessors). Example: AllDiff (x,y,z). x = 1 y [2, 3]... y [1, 3] z = 2 z [1, 2] z becomes irrelevant. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

87 Optimization 3: Only consider distinct nodes Consider a conflict graph that includes a chain: x [1..4]@2 x [1..3]@3 x [1..2]@4... Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

88 Optimization 3: Only consider distinct nodes Consider a conflict graph that includes a chain: x [1..4]@2 x [1..3]@3 x [1..2]@4... Only right-most node matters. Others will not change the resolvent. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

89 Performance PCS participated in CSC 09 For n-ary constraints, out of 14: category rank rank rank SAT UNSAT total extension 9/14 6/14 9/14 intention 4/14 1/14 4/14 2-ary constraints PCS got poor results. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

90 New results (2011) PCS is now on-par with Mistral. Out of 2847 supported CSC 09 test cases (t/o is 200 secs) Mistral PCS shared shared shared case time * success time success success all (x2.0) 2104 (-83) 1963 with tables (x2.9) 1112 (-104) 1069 w/o tables (x0.79) 992 (+21) 894 with (x0.57) 628 (+52) 547 Shared time - average time on cases solved by both. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

91 Future work Non-clausal conflict analysis, Interpolation algorithms ( ), Word-level model checking? Performance, performance, performance. Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

92 Summary PCS is a COOL CSP solver, which Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

93 Summary PCS is a COOL CSP solver, which... performs similar to Mistral, but Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

94 Summary PCS is a COOL CSP solver, which... performs similar to Mistral, but... produces machine-checkable proofs. PCS: mveksler/pcs/index.html Michael Veksler Ofer Strichman (Technion - Israel A Proof-Producing Institute of Technology[3 CSP Solverpt] CSP SAT June ) 18, / 36

SAT and SMT-based Interactive Configuration for Container Vessel Stowage Planning

SAT and SMT-based Interactive Configuration for Container Vessel Stowage Planning SAT and SMT-based Interactive Configuration for Container Vessel Stowage Planning Master s Thesis Christian Kroer Martin Kjær Svendsen Supervisors: Rune Møller Jensen Joseph Roland Kiniry IT University

More information

G53CLP Constraint Logic Programming

G53CLP Constraint Logic Programming G53CLP Constraint Logic Programming Dr Rong Qu Basic Search Strategies CP Techniques Constraint propagation* Basic search strategies Look back, look ahead Search orders B & B *So far what we ve seen is

More information

CS472 Foundations of Artificial Intelligence. Final Exam December 19, :30pm

CS472 Foundations of Artificial Intelligence. Final Exam December 19, :30pm CS472 Foundations of Artificial Intelligence Final Exam December 19, 2003 12-2:30pm Name: (Q exam takers should write their Number instead!!!) Instructions: You have 2.5 hours to complete this exam. The

More information

Utilizing Don t Care States in SAT-based Bounded Sequential Problems

Utilizing Don t Care States in SAT-based Bounded Sequential Problems Utilizing Don t Care States in SAT-based Bounded Sequential Problems Sean Safarpour Dept. Elec. & Comp. Eng. University of Toronto Toronto, Canada ssafarpo@eecg.toronto.edu Andreas Veneris Dept. Elec.

More information

Depth-bounded Discrepancy Search

Depth-bounded Discrepancy Search Depth-bounded Discrepancy Search Toby Walsh* APES Group, Department of Computer Science University of Strathclyde, Glasgow Gl 1XL. Scotland tw@cs.strath.ac.uk Abstract Many search trees are impractically

More information

Application of Bayesian Networks to Shopping Assistance

Application of Bayesian Networks to Shopping Assistance Application of Bayesian Networks to Shopping Assistance Yang Xiang, Chenwen Ye, and Deborah Ann Stacey University of Guelph, CANADA Abstract. We develop an on-line shopping assistant that can help a e-shopper

More information

Robust Task Execution: Procedural and Model-based. Outline. Desiderata: Robust Task-level Execution

Robust Task Execution: Procedural and Model-based. Outline. Desiderata: Robust Task-level Execution Robust Task Execution: Procedural and Model-based Mission Goals and Environment Constraints Temporal Planner Temporal Network Solver Projective Task Expansion Initial Conditions Temporal Plan Dynamic Scheduling

More information

CENG 466 Artificial Intelligence. Lecture 4 Solving Problems by Searching (II)

CENG 466 Artificial Intelligence. Lecture 4 Solving Problems by Searching (II) CENG 466 Artificial Intelligence Lecture 4 Solving Problems by Searching (II) Topics Search Categories Breadth First Search Uniform Cost Search Depth First Search Depth Limited Search Iterative Deepening

More information

Aryeh Rappaport Avinoam Meir. Schedule automation

Aryeh Rappaport Avinoam Meir. Schedule automation Aryeh Rappaport Avinoam Meir Schedule automation Introduction In this project we tried to automate scheduling. Which is to help a student to pick the time he takes the courses so they want collide with

More information

SEARCH TREE. Generating the children of a node

SEARCH TREE. Generating the children of a node SEARCH TREE Node: State in state tree Root node: Top of state tree Children: Nodes that can be reached from a given node in 1 step (1 operator) Expanding: Generating the children of a node Open: Closed:

More information

Better Search Improved Uninformed Search CIS 32

Better Search Improved Uninformed Search CIS 32 Better Search Improved Uninformed Search CIS 32 Functionally PROJECT 1: Lunar Lander Game - Demo + Concept - Open-Ended: No One Solution - Menu of Point Options - Get Started NOW!!! - Demo After Spring

More information

6.034 Artificial Intelligence

6.034 Artificial Intelligence Massachusetts Institute of Technology 6.034 Artificial Intelligence Examination Solutions # 1 Problem 1 Enforcing the Rules on Wall Street (30 points) Part A (12 points) Worksheet Initial Database Joe

More information

FEATURES. Features. UCI Machine Learning Repository. Admin 9/23/13

FEATURES. Features. UCI Machine Learning Repository. Admin 9/23/13 Admin Assignment 2 This class will make you a better programmer! How did it go? How much time did you spend? FEATURES David Kauchak CS 451 Fall 2013 Assignment 3 out Implement perceptron variants See how

More information

Lecture 10. Support Vector Machines (cont.)

Lecture 10. Support Vector Machines (cont.) Lecture 10. Support Vector Machines (cont.) COMP90051 Statistical Machine Learning Semester 2, 2017 Lecturer: Andrey Kan Copyright: University of Melbourne This lecture Soft margin SVM Intuition and problem

More information

Knot Theory Week 2: Tricolorability

Knot Theory Week 2: Tricolorability Knot Theory Week 2: Tricolorability Xiaoyu Qiao, E. L. January 20, 2015 A central problem in knot theory is concerned with telling different knots apart. We introduce the notion of what it means for two

More information

SEARCH SEARCH TREE. Node: State in state tree. Root node: Top of state tree

SEARCH SEARCH TREE. Node: State in state tree. Root node: Top of state tree Page 1 Page 1 Page 2 SEARCH TREE SEARCH Node: State in state tree Root node: Top of state tree Children: Nodes that can be reached from a given node in 1 step (1 operator) Expanding: Generating the children

More information

Transformer fault diagnosis using Dissolved Gas Analysis technology and Bayesian networks

Transformer fault diagnosis using Dissolved Gas Analysis technology and Bayesian networks Proceedings of the 4th International Conference on Systems and Control, Sousse, Tunisia, April 28-30, 2015 TuCA.2 Transformer fault diagnosis using Dissolved Gas Analysis technology and Bayesian networks

More information

Abstract Currently there is a growing interest in the evolutionary algorithm paradigm, as it promises a robust and general search technique. Still, in

Abstract Currently there is a growing interest in the evolutionary algorithm paradigm, as it promises a robust and general search technique. Still, in Evaluating and Improving Steady State Evolutionary Algorithms on Constraint Satisfaction Problems Koen van der Hauw 9 August 1996 Abstract Currently there is a growing interest in the evolutionary algorithm

More information

CSE 3401: Intro to AI & LP Uninformed Search II

CSE 3401: Intro to AI & LP Uninformed Search II CSE 3401: Intro to AI & LP Uninformed Search II Required Readings: R & N Chapter 3, Sec. 1-4. 1 {Arad}, {Zerind, Timisoara, Sibiu}, {Zerind, Timisoara, Arad, Oradea, Fagaras, RimnicuVilcea }, {Zerind,

More information

The Safety Case. The safety case

The Safety Case. The safety case The Safety Case Structure of safety cases Safety argument notation Budapest University of Technology and Economics Department of Measurement and Information Systems The safety case Definition (core): The

More information

Theo and Octopus at CASC-J3 Monty Newborn

Theo and Octopus at CASC-J3 Monty Newborn Theo and Octopus at CASC-J3 Monty Newborn newborn@cs.mcgill.ca 1. Introduction This paper reports on and analyzes the performances of Theo and Octopus in the 2006 CADE Automated Theorem Proving System

More information

CS 221 PROJECT FINAL

CS 221 PROJECT FINAL CS 221 PROJECT FINAL STUART SY AND YUSHI HOMMA 1. INTRODUCTION OF TASK ESPN fantasy baseball is a common pastime for many Americans, which, coincidentally, defines a problem whose solution could potentially

More information

Queue analysis for the toll station of the Öresund fixed link. Pontus Matstoms *

Queue analysis for the toll station of the Öresund fixed link. Pontus Matstoms * Queue analysis for the toll station of the Öresund fixed link Pontus Matstoms * Abstract A new simulation model for queue and capacity analysis of a toll station is presented. The model and its software

More information

The Safety Case. Structure of Safety Cases Safety Argument Notation

The Safety Case. Structure of Safety Cases Safety Argument Notation The Safety Case Structure of Safety Cases Safety Argument Notation Budapest University of Technology and Economics Department of Measurement and Information Systems The safety case Definition (core): The

More information

Math Spring Operational Geometry PBA Item #18 Classmates in the Pool VH003506

Math Spring Operational Geometry PBA Item #18 Classmates in the Pool VH003506 Math Spring Operational 2015 Geometry PBA Item #18 Classmates in the Pool VH003506 Prompt Rubric Task is worth a total of 6 points VH003506 Rubric Score Description 6 Student response includes the following

More information

Uninformed search strategies

Uninformed search strategies AIMA sections 3.4,3.5 search use only the information available in the problem denition Breadth-rst search Uniform-cost search Depth-rst search Depth-limited search Iterative deepening search Breadth-rst

More information

D-Case Modeling Guide for Target System

D-Case Modeling Guide for Target System D-Case Modeling Guide for Target System 1/32 Table of Contents 1 Scope...4 2 Overview of D-Case and SysML Modeling Guide...4 2.1 Background and Purpose...4 2.2 Target System of Modeling Guide...5 2.3 Constitution

More information

Analysis of the Article Entitled: Improved Cube Handling in Races: Insights with Isight

Analysis of the Article Entitled: Improved Cube Handling in Races: Insights with Isight Analysis of the Article Entitled: Improved Cube Handling in Races: Insights with Isight Michelin Chabot (michelinchabot@gmail.com) February 2015 Abstract The article entitled Improved Cube Handling in

More information

Uninformed search methods II.

Uninformed search methods II. CS 1571 Introduction to AI Lecture 5 Uninformed search methods II. Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Uninformed methods Uninformed search methods use only information available in

More information

The notion of independence in the theory of evidence: An algebraic study

The notion of independence in the theory of evidence: An algebraic study The notion of independence in the theory of evidence: An algebraic study Fabio Cuzzolin a a Perception group INRIA Rhône-Alpes 655, avenue de l Europe 38334 SAINT ISMIER CEDEX, France Abstract In this

More information

Advanced Search Hill climbing

Advanced Search Hill climbing Advanced Search Hill climbing Yingyu Liang yliang@cs.wisc.edu Computer Sciences Department University of Wisconsin, Madison [Based on slides from Jerry Zhu, Andrew Moore http://www.cs.cmu.edu/~awm/tutorials

More information

UNDERSTANDING A DIVE COMPUTER. by S. Angelini, Ph.D. Mares S.p.A.

UNDERSTANDING A DIVE COMPUTER. by S. Angelini, Ph.D. Mares S.p.A. UNDERSTANDING A DIVE COMPUTER by S. Angelini, Ph.D. Mares S.p.A. Dive Computer UNDERSTANDING A DIVE COMPUTER The decompression algorithm in a dive computer is an attempt to replicate the effects of a dive

More information

Math Released Item Grade 4 M03436

Math Released Item Grade 4 M03436 Math Released Item 2017 Grade 4 M03436 Anchor Set A1 A8 With Annotations Prompt M03436 Rubric Score Description 3 Student response includes the following 3 elements. Modeling component = 1 point o The

More information

A SEMI-PRESSURE-DRIVEN APPROACH TO RELIABILITY ASSESSMENT OF WATER DISTRIBUTION NETWORKS

A SEMI-PRESSURE-DRIVEN APPROACH TO RELIABILITY ASSESSMENT OF WATER DISTRIBUTION NETWORKS A SEMI-PRESSURE-DRIVEN APPROACH TO RELIABILITY ASSESSMENT OF WATER DISTRIBUTION NETWORKS S. S. OZGER PhD Student, Dept. of Civil and Envir. Engrg., Arizona State Univ., 85287, Tempe, AZ, US Phone: +1-480-965-3589

More information

At each type of conflict location, the risk is affected by certain parameters:

At each type of conflict location, the risk is affected by certain parameters: TN001 April 2016 The separated cycleway options tool (SCOT) was developed to partially address some of the gaps identified in Stage 1 of the Cycling Network Guidance project relating to separated cycleways.

More information

Introduction to Alloy

Introduction to Alloy Introduction to Alloy L. Dillon CSE 814 Overview of Alloy 1 Acknowledgements Excerpted (mostly) and adapted from:! One day tutorial at http://alloy.mit.edu/fm06/! SBMF/ICGT 2006 keynote at http:// people.csail.mit.edu/dnj/talks/brazil06/brazil06.pdf!

More information

Artificial Intelligence for the EChO Mission Scheduler

Artificial Intelligence for the EChO Mission Scheduler Artificial Intelligence for the EChO Mission Scheduler Álvaro García Piquer Ignasi Ribas Josep Colomé Institute of Space Sciences (CSIC/IEEC), Barcelona, Spain SCIOPS 2013 September 10 13, 2013 Introduction

More information

Problem Solving as Search - I

Problem Solving as Search - I Problem Solving as Search - I Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Slides prepared from Artificial Intelligence A Modern approach by Russell & Norvig Problem-Solving

More information

OPTIMAL FLOWSHOP SCHEDULING WITH DUE DATES AND PENALTY COSTS

OPTIMAL FLOWSHOP SCHEDULING WITH DUE DATES AND PENALTY COSTS J. Operation Research Soc. of Japan VoJ. 1, No., June 1971. 1971 The Operations Research Society of Japan OPTMAL FLOWSHOP SCHEDULNG WTH DUE DATES AND PENALTY COSTS JATNDER N.D. GUPTA Assistant Professor,

More information

Atmospheric Rossby Waves Fall 2012: Analysis of Northern and Southern 500hPa Height Fields and Zonal Wind Speed

Atmospheric Rossby Waves Fall 2012: Analysis of Northern and Southern 500hPa Height Fields and Zonal Wind Speed Atmospheric Rossby Waves Fall 12: Analysis of Northern and Southern hpa Height Fields and Zonal Wind Speed Samuel Schreier, Sarah Stewart, Ashley Christensen, and Tristan Morath Department of Atmospheric

More information

Online Companion to Using Simulation to Help Manage the Pace of Play in Golf

Online Companion to Using Simulation to Help Manage the Pace of Play in Golf Online Companion to Using Simulation to Help Manage the Pace of Play in Golf MoonSoo Choi Industrial Engineering and Operations Research, Columbia University, New York, NY, USA {moonsoo.choi@columbia.edu}

More information

WESEP 594 Research Seminar

WESEP 594 Research Seminar WESEP 594 Research Seminar Aaron J Rosenberg Department of Aerospace Engineering Iowa State University Major: WESEP Co-major: Aerospace Engineering Motivation Increase Wind Energy Capture Betz limit: 59.3%

More information

Generating None-Plans in Order to Find Plans 1

Generating None-Plans in Order to Find Plans 1 Generating None-Plans in Order to Find Plans 1 Wojciech Penczek a joint work with Michał Knapik and Artur Niewiadomski Institute of Computer Sciences, PAS, Warsaw, and Siedlce University, Poland MINI PW,

More information

Tennis Victoria Club Guide Coach Relationship

Tennis Victoria Club Guide Coach Relationship Tennis Victoria Club Guide Coach Relationship Background Tennis is in a unique position as the sport has a large workforce of qualified & skilled development officers at its disposal the professional tennis

More information

#19 MONITORING AND PREDICTING PEDESTRIAN BEHAVIOR USING TRAFFIC CAMERAS

#19 MONITORING AND PREDICTING PEDESTRIAN BEHAVIOR USING TRAFFIC CAMERAS #19 MONITORING AND PREDICTING PEDESTRIAN BEHAVIOR USING TRAFFIC CAMERAS Final Research Report Luis E. Navarro-Serment, Ph.D. The Robotics Institute Carnegie Mellon University November 25, 2018. Disclaimer

More information

consist of friends, is open to all ages, and considers fair play of paramount importance. The matches are played without referees, since, according to

consist of friends, is open to all ages, and considers fair play of paramount importance. The matches are played without referees, since, according to Indoor football scheduling Dries Goossens Frits Spieksma Abstract This paper deals with a real-life scheduling problem from an amateur indoor football league. The league consists of a number of divisions,

More information

A Study of Olympic Winning Times

A Study of Olympic Winning Times Connecting Algebra 1 to Advanced Placement* Mathematics A Resource and Strategy Guide Updated: 05/15/ A Study of Olympic Winning Times Objective: Students will graph data, determine a line that models

More information

Lecture 04 ( ) Hazard Analysis. Systeme hoher Qualität und Sicherheit Universität Bremen WS 2015/2016

Lecture 04 ( ) Hazard Analysis. Systeme hoher Qualität und Sicherheit Universität Bremen WS 2015/2016 Systeme hoher Qualität und Sicherheit Universität Bremen WS 2015/2016 Lecture 04 (02.11.2015) Hazard Analysis Christoph Lüth Jan Peleska Dieter Hutter Where are we? 01: Concepts of Quality 02: Legal Requirements:

More information

A new Decomposition Algorithm for Multistage Stochastic Programs with Endogenous Uncertainties

A new Decomposition Algorithm for Multistage Stochastic Programs with Endogenous Uncertainties A new Decomposition Algorithm for Multistage Stochastic Programs with Endogenous Uncertainties Vijay Gupta Ignacio E. Grossmann Department of Chemical Engineering Carnegie Mellon University, Pittsburgh

More information

TERMINATION FOR HYBRID TABLEAUS

TERMINATION FOR HYBRID TABLEAUS TERMINATION FOR HYBRID TABLEAUS THOMAS BOLANDER AND PATRICK BLACKBURN Abstract. This article extends and improves work on tableau-based decision methods for hybrid logic by Bolander and Braüner [5]. Their

More information

Reasoning for Ontology Engineering and Usage

Reasoning for Ontology Engineering and Usage Reasoning for Ontology Engineering and Usage 1. Introduction, standard reasoning (Ralf Möller) 2. Bottom-up approach for ontology design (Anni-Yasmin Turhan) 3. Understanding and repairing inferences (Matthew

More information

Introduction. AI and Searching. Simple Example. Simple Example. Now a Bit Harder. From Hammersmith to King s Cross

Introduction. AI and Searching. Simple Example. Simple Example. Now a Bit Harder. From Hammersmith to King s Cross Introduction AI and Searching We have seen how models of the environment allow an intelligent agent to dry run scenarios in its head without the need to act Logic allows premises to be tested Machine learning

More information

C. Mokkapati 1 A PRACTICAL RISK AND SAFETY ASSESSMENT METHODOLOGY FOR SAFETY- CRITICAL SYSTEMS

C. Mokkapati 1 A PRACTICAL RISK AND SAFETY ASSESSMENT METHODOLOGY FOR SAFETY- CRITICAL SYSTEMS C. Mokkapati 1 A PRACTICAL RISK AND SAFETY ASSESSMENT METHODOLOGY FOR SAFETY- CRITICAL SYSTEMS Chinnarao Mokkapati Ansaldo Signal Union Switch & Signal Inc. 1000 Technology Drive Pittsburgh, PA 15219 Abstract

More information

1.1 The size of the search space Modeling the problem Change over time Constraints... 21

1.1 The size of the search space Modeling the problem Change over time Constraints... 21 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 I What Are the Ages of My Three Sons? : : : : : : : : : : : : : : : : : 9 1 Why Are Some Problems Dicult to Solve? : : :

More information

Solving Problems by Searching chap3 1. Problem-Solving Agents

Solving Problems by Searching chap3 1. Problem-Solving Agents Chapter3 Solving Problems by Searching 20070315 chap3 1 Problem-Solving Agents Reflex agents cannot work well in those environments - state/action mapping too large - take too long to learn Problem-solving

More information

Investigating the Problems of Ship Propulsion on a Supercomputer

Investigating the Problems of Ship Propulsion on a Supercomputer Ship Elbrus powered by What I See is What I Understand. Так мы его задумали Investigating the Problems of Ship Propulsion on a Supercomputer A.A. Aksenov, S.V. Zhluktov, D.P. Silaev, S.A. Kharchenko, E.A.

More information

Uninformed search methods II.

Uninformed search methods II. CS 2710 Foundations of AI Lecture 4 Uninformed search methods II. Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Announcements Homework assignment 1 is out Due on Tuesday, September 12, 2017 before

More information

Flock Theory, Applied (To Scrum)

Flock Theory, Applied (To Scrum) Flock Theory, Applied (To Scrum) James Brett James.brett@ScrumMaster.com.au www.scrummaster.com.au February 2009 Contents CONTENTS... 2 INTRODUCTION... 3 WHAT IS FLOCK THEORY?... 4 DISTANCE OPTIMIZATION...

More information

Lossless Comparison of Nested Software Decompositions

Lossless Comparison of Nested Software Decompositions Lossless Comparison of Nested Software Decompositions Mark Shtern and Vassilios Tzerpos York University Toronto, Ontario, Canada {mark,bil}@cse.yorku.ca Abstract Reverse engineering legacy software systems

More information

Uninformed search methods

Uninformed search methods Lecture 3 Uninformed search methods Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Announcements Homework 1 Access through the course web page http://www.cs.pitt.edu/~milos/courses/cs2710/ Two

More information

Quantitative Aptitude Time and Work Problems for the Electrical Engineer

Quantitative Aptitude Time and Work Problems for the Electrical Engineer Quantitative Aptitude Time and Work Problems for the Electrical Engineer This is based on my dissatisfaction with the messed up way time and work problems are handled in quantitative aptitude examination

More information

Ten Problems About Twenty- Five Horses

Ten Problems About Twenty- Five Horses Ten Problems About Twenty- Five Horses Stephen Morris, Newbury, Berkshire, England stephenmor@gmail.com Richard Stong, Center for Communications Research, La Jolla, California, stong@ccrwest.org Stan Wagon,

More information

Modern volleyball aspects

Modern volleyball aspects Modern volleyball aspects Table of contents Aims 3 Introduction 4 Part 1 Men s volleyball of top level. Main indicators 5 Part 2 Women s volleyball of top level. Main indicators 29 Part 3 Men s and Women

More information

Waves & Interference

Waves & Interference Waves & Interference I. Definitions and Types II. Parameters and Equations III. Sound IV. Graphs of Waves V. Interference - superposition - standing waves The student will be able to: HW: 1 Define, apply,

More information

CSE 3402: Intro to Artificial Intelligence Uninformed Search II

CSE 3402: Intro to Artificial Intelligence Uninformed Search II CSE 3402: Intro to Artificial Intelligence Uninformed Search II Required Readings: Chapter 3, Sec. 1-4. 1 {Arad}, {Zerind, Timisoara, Sibiu}, {Zerind, Timisoara, Arad, Oradea, Fagaras, RimnicuVilcea },

More information

PSM I PROFESSIONAL SCRUM MASTER

PSM I PROFESSIONAL SCRUM MASTER PSM I PROFESSIONAL SCRUM MASTER 1 Upon What kind of process control is SCRUM based? a) IDEAL b) SCRUM enterprise c) Empirical d) Agile 2 If burndown charts are used to visualize progress, what do they

More information

T H E R M O P T I M CALCULATION OF MOIST GAS FROM EXTERNAL CLASSES VERSION JAVA 1.5 R. GICQUEL MARCH 2007

T H E R M O P T I M CALCULATION OF MOIST GAS FROM EXTERNAL CLASSES VERSION JAVA 1.5 R. GICQUEL MARCH 2007 1 T H E R M O P T I M CALCULATION OF MOIST GAS FROM EXTERNAL CLASSES VERSION JAVA 1.5 R. GICQUEL MARCH 2007 2 CONTENTS CALCULATIONS OF MOIST GAS IN THERMOPTIM... 3 INTRODUCTION... 3 METHODS AVAILABLE IN

More information

Math Released Item Grade 4 PBA Item #17 Number of Baskets VF565302

Math Released Item Grade 4 PBA Item #17 Number of Baskets VF565302 Math Released Item 2015 Grade 4 PBA Item #17 Number of Baskets VF565302 Prompt Rubric Task is worth a total of 6 points. VF565302 Rubric Part A Score Description 2 Student response includes the following

More information

Analysis and Research of Mooring System. Jiahui Fan*

Analysis and Research of Mooring System. Jiahui Fan* nd International Conference on Computer Engineering, Information Science & Application Technology (ICCIA 07) Analysis and Research of Mooring System Jiahui Fan* School of environment, North China Electric

More information

Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department

Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department Princess Nora University Faculty of Computer & Information Systems 1 ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department (CHAPTER-3-PART2) PROBLEM SOLVING AND SEARCH (Course coordinator) Searching

More information

Uninformed search methods

Uninformed search methods Lecture 3 Uninformed search methods Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Announcements Homework assignment 1 is out Due on Tuesday, September 12, 2017 before the lecture Report and programming

More information

Game Theory (MBA 217) Final Paper. Chow Heavy Industries Ty Chow Kenny Miller Simiso Nzima Scott Winder

Game Theory (MBA 217) Final Paper. Chow Heavy Industries Ty Chow Kenny Miller Simiso Nzima Scott Winder Game Theory (MBA 217) Final Paper Chow Heavy Industries Ty Chow Kenny Miller Simiso Nzima Scott Winder Introduction The end of a basketball game is when legends are made or hearts are broken. It is what

More information

CITIUS ALTIUS FORTIUS: Lessons learned from the Theorem Prover WALDMEISTER

CITIUS ALTIUS FORTIUS: Lessons learned from the Theorem Prover WALDMEISTER CITIUS ALTIUS FORTIUS: Lessons learned from the Theorem Prover WALDMEISTER Thomas Hillenbrand Max-Planck-Institut für Informatik Saarbrücken Th. Hillenbrand CITIUS ALTIUS FORTIUS p.1 Unit Equational Logic

More information

Introduction to Pattern Recognition

Introduction to Pattern Recognition Introduction to Pattern Recognition Jason Corso SUNY at Buffalo 12 January 2009 J. Corso (SUNY at Buffalo) Introduction to Pattern Recognition 12 January 2009 1 / 28 Pattern Recognition By Example Example:

More information

Formula One Race Strategy

Formula One Race Strategy Formula One Race Strategy McLaren Racing Limited Sports Technology McLaren is a registered trademark of McLaren Racing Limited INTRODUCTION Figure 1: A Vodafone McLaren Mercedes driven by Lewis Hamilton

More information

David DiPierro, John Amberson. Steering Committee Meeting #4 Overview

David DiPierro, John Amberson. Steering Committee Meeting #4 Overview IBI GROUP 18401 Von Karman Avenue Suite 110 Irvine CA 92612 USA tel 949 833 5588 fax 949 833 5511 ibigroup.com Memorandum To/Attention Steering Committee Members Date February 17, 2016 From IBI Group Project

More information

4.) There are no forces of attraction or repulsion between gas particles. This means that

4.) There are no forces of attraction or repulsion between gas particles. This means that KINETIC MOLECULAR (K-M) THEORY OF MATTER NOTES - based on the idea that particles of matter are always in motion - assumptions of the K-M Theory 1.) Gases consist of large numbers of tiny particles that

More information

Planning. CS 510: Intro to AI October 19 th 2017

Planning. CS 510: Intro to AI October 19 th 2017 Planning CS 510: Intro to AI October 19 th 2017 By: Janith Weerasinghe (bnw37@drexel.edu) Content based on slides from: Rachel Greenstadt & Chris Geib My Background Using planning and plan recognition

More information

Fishery Improvement Projects

Fishery Improvement Projects Fishery Improvement Projects What is a Fishery Improvement Project (FIP)? A FIP is an alliance of stakeholders retailers, processors, producers, and/or catchers that comes together to resolve problems

More information

Dealing with Dependent Failures in Distributed Systems

Dealing with Dependent Failures in Distributed Systems Dealing with Dependent Failures in Distributed Systems Ranjita Bhagwan, Henri Casanova, Alejandro Hevia, Flavio Junqueira, Yanhua Mao, Keith Marzullo, Geoff Voelker, Xianan Zhang University California

More information

CSC242: Intro to AI. Lecture 21

CSC242: Intro to AI. Lecture 21 CSC242: Intro to AI Lecture 21 Quiz Stop Time: 2:15 Learning (from Examples) Learning Learning gives computers the ability to learn without being explicitly programmed (Samuel, 1959)... agents that can

More information

Blocking Presupposition by Causal and Identity Inferences. Henk Zeevat SFB991,Heinrich Heine University Düsseldorf & ILLC, Amsterdam University

Blocking Presupposition by Causal and Identity Inferences. Henk Zeevat SFB991,Heinrich Heine University Düsseldorf & ILLC, Amsterdam University Blocking Presupposition by Causal and Identity Inferences Henk Zeevat SFB991,Heinrich Heine University Düsseldorf & ILLC, Amsterdam University 1 Abstract If presupposition blocking is not due to inconsistency,

More information

Problem Solving Agents

Problem Solving Agents Problem Solving Agents A problem solving agent is one which decides what actions and states to consider in completing a goal Examples: Finding the shortest path from one city to another 8-puzzle Problem

More information

Uninformed Search (Ch )

Uninformed Search (Ch ) 1 Uninformed Search (Ch. 3-3.4) 3 Terminology review State: a representation of a possible configuration of our problem Action: -how our agent interacts with the problem -can be different depending on

More information

Compensator Design for Speed Control of DC Motor by Root Locus Approach using MATLAB

Compensator Design for Speed Control of DC Motor by Root Locus Approach using MATLAB Compensator Design for Speed Control of DC Motor by Root Locus Approach using MATLAB Akshay C. Mahakalkar, Gaurav R. Powale 2, Yogita R. Ashtekar 3, Dinesh L. Mute 4, 2 B.E. 4 th Year Student of Electrical

More information

Hazard analysis. István Majzik Budapest University of Technology and Economics Dept. of Measurement and Information Systems

Hazard analysis. István Majzik Budapest University of Technology and Economics Dept. of Measurement and Information Systems Hazard analysis István Majzik Budapest University of Technology and Economics Dept. of Measurement and Information Systems Hazard analysis Goal: Analysis of the fault effects and the evolution of hazards

More information

CSC384: Introduction to Artificial Intelligence. Search

CSC384: Introduction to Artificial Intelligence. Search CSC384: Introduction to Artificial Intelligence Search Chapter 3 of R&N 3 rd edition is very useful reading. Chapter 4 of R&N 3 rd edition is worth reading for enrichment. We ll touch upon some of the

More information

OPERATIONAL AMV PRODUCTS DERIVED WITH METEOSAT-6 RAPID SCAN DATA. Arthur de Smet. EUMETSAT, Am Kavalleriesand 31, D Darmstadt, Germany ABSTRACT

OPERATIONAL AMV PRODUCTS DERIVED WITH METEOSAT-6 RAPID SCAN DATA. Arthur de Smet. EUMETSAT, Am Kavalleriesand 31, D Darmstadt, Germany ABSTRACT OPERATIONAL AMV PRODUCTS DERIVED WITH METEOSAT-6 RAPID SCAN DATA Arthur de Smet EUMETSAT, Am Kavalleriesand 31, D-64295 Darmstadt, Germany ABSTRACT EUMETSAT started its Rapid Scanning Service on September

More information

Lesson 22: Average Rate of Change

Lesson 22: Average Rate of Change Student Outcomes Students know how to compute the average rate of change in the height of water level when water is poured into a conical container at a constant rate. MP.1 Lesson Notes This lesson focuses

More information

Multiagent Classical Planning

Multiagent Classical Planning Multiagent Classical Planning Matthew David Crosby E H U N I V E R S I T Y T O H F R G E D I N B U Doctor of Philosophy Centre for Intelligent Systems and their Applications School of Informatics University

More information

Products and Services HR3D, AUV3D

Products and Services HR3D, AUV3D Products and Services HR3D, AUV3D Multi-streamer Short Offset High Resolution 3D Seismic Acquisition Peter Sack Tor Haugland Sound Oceanics, LLC Houston, Texas USA 15 March 2012 Background Petromar V West

More information

Excel Solver Case: Beach Town Lifeguard Scheduling

Excel Solver Case: Beach Town Lifeguard Scheduling 130 Gebauer/Matthews: MIS 213 Hands-on Tutorials and Cases, Spring 2015 Excel Solver Case: Beach Town Lifeguard Scheduling Purpose: Optimization under constraints. A. GETTING STARTED All Excel projects

More information

Wind Farm Blockage: Searching for Suitable Validation Data

Wind Farm Blockage: Searching for Suitable Validation Data ENERGY Wind Farm Blockage: Searching for Suitable Validation Data James Bleeg, Mark Purcell, Renzo Ruisi, and Elizabeth Traiger 09 April 2018 1 DNV GL 2014 09 April 2018 SAFER, SMARTER, GREENER Wind turbine

More information

ECONOMIC COMPETITION AND THE PRODUCTION OF WINNING IN PROFESSIONAL SPORTS KEVIN P. MONGEON. A dissertation submitted in partial fulfillment of

ECONOMIC COMPETITION AND THE PRODUCTION OF WINNING IN PROFESSIONAL SPORTS KEVIN P. MONGEON. A dissertation submitted in partial fulfillment of ECONOMIC COMPETITION AND THE PRODUCTION OF WINNING IN PROFESSIONAL SPORTS By KEVIN P. MONGEON A dissertation submitted in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY

More information

Windcube FCR measurements

Windcube FCR measurements Windcube FCR measurements Principles, performance and recommendations for use of the Flow Complexity Recognition (FCR) algorithm for the Windcube ground-based Lidar Summary: As with any remote sensor,

More information

Algebra I: A Fresh Approach. By Christy Walters

Algebra I: A Fresh Approach. By Christy Walters Algebra I: A Fresh Approach By Christy Walters 2005 A+ Education Services All rights reserved. No part of this publication may be reproduced, distributed, stored in a retrieval system, or transmitted,

More information

midas Gen V.741 Enhancements Analysis & Design Part

midas Gen V.741 Enhancements Analysis & Design Part V.741 Enhancements Part Concrete / Steel pushover analysis & safety verification as per Eurocode 8-3: 2004 Masonry pushover analysis & global assessment as per OPCM3431 Lateral-Torsional Buckling Analysis

More information

From Bombe stops to Enigma keys

From Bombe stops to Enigma keys From Bombe stops to Enigma keys A remarkably succinct description of the Bombe written many years ago, reads as follows:- The apparatus for breaking Enigma keys, by testing a crib and its implications

More information

Numerical simulation of the ALBA s synchrotron cooling system response to pump start-up and shut-down Page 1

Numerical simulation of the ALBA s synchrotron cooling system response to pump start-up and shut-down Page 1 Numerical simulation of the ALBA s synchrotron cooling system response to pump start-up and shut-down Page 1 Abstract This project consists of the development and validation of a numerical model to simulate

More information

Calculation of Trail Usage from Counter Data

Calculation of Trail Usage from Counter Data 1. Introduction 1 Calculation of Trail Usage from Counter Data 1/17/17 Stephen Martin, Ph.D. Automatic counters are used on trails to measure how many people are using the trail. A fundamental question

More information