On Weakening Strategies for PB Solvers SAT Conference July 6th, - - PowerPoint PPT Presentation

on weakening strategies for pb solvers
SMART_READER_LITE
LIVE PREVIEW

On Weakening Strategies for PB Solvers SAT Conference July 6th, - - PowerPoint PPT Presentation

On Weakening Strategies for PB Solvers SAT Conference July 6th, 2020 Daniel Le Berre 1 , Pierre Marquis 1 , 2 , Romain Wallon 1 1 CRIL, Univ Artois & CNRS 2 Institut Universitaire de France Pseudo-Boolean (PB) Constraints PB solvers


slide-1
SLIDE 1

On Weakening Strategies for PB Solvers

Daniel Le Berre1, Pierre Marquis1,2, Romain Wallon1 SAT Conference – July 6th, 2020

1 CRIL, Univ Artois & CNRS 2 Institut Universitaire de France

slide-2
SLIDE 2

Pseudo-Boolean (PB) Constraints

PB solvers generalize SAT solvers to consider

  • normalized PB constraints ∑n

i=1 aili ≥ d

  • cardinality constraints ∑n

i=1 li ≥ d

  • clauses ∑n

i=1 li ≥ 1 ≡ ∨n i=1 li

in which

  • the coeffjcients ai are non-negative integers
  • li are literals, i.e., a variable v or its negation ¯

v = 1 − v

  • the degree d is a non-negative integer

1/14

slide-3
SLIDE 3

Generalized Resolution

The generalized resolution proof system [Hooker, 1988] is used in PB solvers as the counterpart of the resolution proof system: al + ∑n

i=1 aili ≥ d1

b¯ l + ∑n

i=1 bili ≥ d2 (cancellation)

∑n

i=1(bai + abi)li ≥ bd1 + ad2−ab

∑n

i=1 aili ≥ d

(saturation) ∑n

i=1 min(ai, d)li ≥ d

These two rules are used during confmict analysis to learn new constraints

2/14

slide-4
SLIDE 4

Generalized Resolution

The generalized resolution proof system [Hooker, 1988] is used in PB solvers as the counterpart of the resolution proof system: al + ∑n

i=1 aili ≥ d1

b¯ l + ∑n

i=1 bili ≥ d2 (cancellation)

∑n

i=1(bai + abi)li ≥ bd1 + ad2−ab

∑n

i=1 aili ≥ d

(saturation) ∑n

i=1 min(ai, d)li ≥ d

These two rules are used during confmict analysis to learn new constraints

2/14

slide-5
SLIDE 5

Generalized Resolution

The generalized resolution proof system [Hooker, 1988] is used in PB solvers as the counterpart of the resolution proof system: al + ∑n

i=1 aili ≥ d1

b¯ l + ∑n

i=1 bili ≥ d2 (cancellation)

∑n

i=1(bai + abi)li ≥ bd1 + ad2−ab

∑n

i=1 aili ≥ d

(saturation) ∑n

i=1 min(ai, d)li ≥ d

These two rules are used during confmict analysis to learn new constraints

2/14

slide-6
SLIDE 6

Generalized Resolution

The generalized resolution proof system [Hooker, 1988] is used in PB solvers as the counterpart of the resolution proof system: al + ∑n

i=1 aili ≥ d1

b¯ l + ∑n

i=1 bili ≥ d2 (cancellation)

∑n

i=1(bai + abi)li ≥ bd1 + ad2−ab

∑n

i=1 aili ≥ d

(saturation) ∑n

i=1 min(ai, d)li ≥ d

These two rules are used during confmict analysis to learn new constraints

2/14

slide-7
SLIDE 7

Generalized Resolution

The generalized resolution proof system [Hooker, 1988] is used in PB solvers as the counterpart of the resolution proof system: al + ∑n

i=1 aili ≥ d1

b¯ l + ∑n

i=1 bili ≥ d2 (cancellation)

∑n

i=1(bai + abi)li ≥ bd1 + ad2−ab

∑n

i=1 aili ≥ d

(saturation) ∑n

i=1 min(ai, d)li ≥ d

These two rules are used during confmict analysis to learn new constraints

2/14

slide-8
SLIDE 8

Generalized Resolution

The generalized resolution proof system [Hooker, 1988] is used in PB solvers as the counterpart of the resolution proof system: al + ∑n

i=1 aili ≥ d1

b¯ l + ∑n

i=1 bili ≥ d2 (cancellation)

∑n

i=1(bai + abi)li ≥ bd1 + ad2−ab

∑n

i=1 aili ≥ d

(saturation) ∑n

i=1 min(ai, d)li ≥ d

These two rules are used during confmict analysis to learn new constraints

2/14

slide-9
SLIDE 9

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6b 6c 4e f g h 7 5a 4b c d 6 15a 15c 8e 3d 2f 2g 2h 20 The constraint we obtain here is no longer confmicting!

3/14

slide-10
SLIDE 10

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6b 6c 4e f g h 7 5a 4b c d 6 15a 15c 8e 3d 2f 2g 2h 20 The constraint we obtain here is no longer confmicting!

3/14

slide-11
SLIDE 11

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6b 6c 4e f g h 7 5a 4b c d 6 15a 15c 8e 3d 2f 2g 2h 20 The constraint we obtain here is no longer confmicting!

3/14

slide-12
SLIDE 12

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6b 6c 4e f g h 7 5a 4b c d 6 15a 15c 8e 3d 2f 2g 2h 20 The constraint we obtain here is no longer confmicting!

3/14

slide-13
SLIDE 13

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for ¯ b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6b 6c 4e f g h 7 5a 4b c d 6 15a 15c 8e 3d 2f 2g 2h 20 The constraint we obtain here is no longer confmicting!

3/14

slide-14
SLIDE 14

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for ¯ b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6b 6c 4e f g h 7 5a 4b c d 6 15a 15c 8e 3d 2f 2g 2h 20 The constraint we obtain here is no longer confmicting!

3/14

slide-15
SLIDE 15

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for ¯ b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 15a + 15c + 8e + 3d + 2f + 2g + 2h ≥ 20 The constraint we obtain here is no longer confmicting!

3/14

slide-16
SLIDE 16

Analyzing Confmicts

Suppose that we have the following constraints: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 (reason for ¯ b) (confmict) This confmict is analyzed by applying the cancellation rule as follows: 6¯ b + 6c + 4e + f + g + h ≥ 7 5a + 4b + c + d ≥ 6 15a + 15c + 8e + 3d + 2f + 2g + 2h ≥ 20 The constraint we obtain here is no longer confmicting!

3/14

slide-17
SLIDE 17

Weakening

To preserve the confmict, the weakening rule must be used: al + ∑n

i=1 aili ≥ d

(weakening) ∑n

i=1 aili ≥ d−a

al + ∑n

i=1 aili ≥ d

k ∈ N 0 < k ≤ a (partial weakening) (a − k)l + ∑n

i=1 aili ≥ d−k

Weakening can be applied in many different ways!

4/14

slide-18
SLIDE 18

Weakening

To preserve the confmict, the weakening rule must be used: al + ∑n

i=1 aili ≥ d

(weakening) ∑n

i=1 aili ≥ d−a

al + ∑n

i=1 aili ≥ d

k ∈ N 0 < k ≤ a (partial weakening) (a − k)l + ∑n

i=1 aili ≥ d−k

Weakening can be applied in many different ways!

4/14

slide-19
SLIDE 19

Weakening

To preserve the confmict, the weakening rule must be used: al + ∑n

i=1 aili ≥ d

(weakening) ∑n

i=1 aili ≥ d−a

al + ∑n

i=1 aili ≥ d

k ∈ N 0 < k ≤ a (partial weakening) (a − k)l + ∑n

i=1 aili ≥ d−k

Weakening can be applied in many different ways!

4/14

slide-20
SLIDE 20

Weakening

To preserve the confmict, the weakening rule must be used: al + ∑n

i=1 aili ≥ d

(weakening) ∑n

i=1 aili ≥ d−a

al + ∑n

i=1 aili ≥ d

k ∈ N 0 < k ≤ a (partial weakening) (a − k)l + ∑n

i=1 aili ≥ d−k

Weakening can be applied in many different ways!

4/14

slide-21
SLIDE 21

Weakening

To preserve the confmict, the weakening rule must be used: al + ∑n

i=1 aili ≥ d

(weakening) ∑n

i=1 aili ≥ d−a

al + ∑n

i=1 aili ≥ d

k ∈ N 0 < k ≤ a (partial weakening) (a − k)l + ∑n

i=1 aili ≥ d−k

Weakening can be applied in many different ways!

4/14

slide-22
SLIDE 22

Weakening

To preserve the confmict, the weakening rule must be used: al + ∑n

i=1 aili ≥ d

(weakening) ∑n

i=1 aili ≥ d−a

al + ∑n

i=1 aili ≥ d

k ∈ N 0 < k ≤ a (partial weakening) (a − k)l + ∑n

i=1 aili ≥ d−k

Weakening can be applied in many different ways!

4/14

slide-23
SLIDE 23

Different Weakening Strategies

The original approach [Dixon, 2002; Chai & Kuehlmann, 2003] successively weakens away literals from the reason, until the saturation rule guarantees to derive a confmicting constraint As the operation must be repeated multiple times, its cost is not negligible Another solution is to take advantage of the following property: As soon as the coeffjcient of the literal to cancel is equal to 1 in at least one of the constraints, the derived constraint is guaranteed to be confmicting [Dixon, 2004]

5/14

slide-24
SLIDE 24

Different Weakening Strategies

The original approach [Dixon, 2002; Chai & Kuehlmann, 2003] successively weakens away literals from the reason, until the saturation rule guarantees to derive a confmicting constraint As the operation must be repeated multiple times, its cost is not negligible Another solution is to take advantage of the following property: As soon as the coeffjcient of the literal to cancel is equal to 1 in at least one of the constraints, the derived constraint is guaranteed to be confmicting [Dixon, 2004]

5/14

slide-25
SLIDE 25

Different Weakening Strategies

The original approach [Dixon, 2002; Chai & Kuehlmann, 2003] successively weakens away literals from the reason, until the saturation rule guarantees to derive a confmicting constraint As the operation must be repeated multiple times, its cost is not negligible Another solution is to take advantage of the following property: As soon as the coeffjcient of the literal to cancel is equal to 1 in at least one of the constraints, the derived constraint is guaranteed to be confmicting [Dixon, 2004]

5/14

slide-26
SLIDE 26

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3a 3b c d e 6 3b c 1 b c 1 2a b c f 2 2a b f 1 a b f 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-27
SLIDE 27

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a b c f 2 2a b f 1 a b f 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-28
SLIDE 28

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a b c f 2 2a b f 1 a b f 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-29
SLIDE 29

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a b c f 2 2a b f 1 a b f 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-30
SLIDE 30

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a b c f 2 2a b f 1 a b f 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-31
SLIDE 31

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a + b + c + f ≥ 2 2a + b + f ≥ 1 a + b + f ≥ 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-32
SLIDE 32

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a + b + c + f ≥ 2 2a + b + f ≥ 1 a + b + f ≥ 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-33
SLIDE 33

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a + b + c + f ≥ 2 2a + b + f ≥ 1 a + b + f ≥ 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-34
SLIDE 34

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a + b + c + f ≥ 2 2a + b + f ≥ 1 a + b + f ≥ 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-35
SLIDE 35

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a + b + c + f ≥ 2 2a + b + f ≥ 1 a + b + f ≥ 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-36
SLIDE 36

Weakening Ineffective Literals

Some literals may not play a role in the confmict or the propagation: it is thus possible to weaken them away while preserving invariants 3¯ a + 3¯ b + c + d + e ≥ 6 3¯ b + c ≥ 1 ¯ b + c ≥ 1 2a + b + c + f ≥ 2 2a + b + f ≥ 1 a + b + f ≥ 1 This strategy is used by solvers such as SATIRE or Sat4j-Resolution to lazily infer clauses to use resolution based reasoning We propose here to apply it on one side of the cancellation, to infer stronger constraints and preserve PB reasoning

6/14

slide-37
SLIDE 37

Weakening Ineffective Literals (Experiments)

7/14

slide-38
SLIDE 38

Weakening Ineffective Literals (Experiments)

7/14

slide-39
SLIDE 39

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a 7b 7c 2d 2e f 11 7b 7c 2d 2e 2 b c d e 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-40
SLIDE 40

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a + 7b + 7c + 2d + 2e + f ≥ 11 7b + 7c + 2d + 2e ≥ 2 b + c + d + e ≥ 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-41
SLIDE 41

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a + 7b + 7c + 2d + 2e + f ≥ 11 7b + 7c + 2d + 2e ≥ 2 b + c + d + e ≥ 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-42
SLIDE 42

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a + 7b + 7c + 2d + 2e + f ≥ 11 7b + 7c + 2d + 2e ≥ 2 b + c + d + e ≥ 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-43
SLIDE 43

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a + 7b + 7c + 2d + 2e + f ≥ 11 7b + 7c + 2d + 2e ≥ 2 b + c + d + e ≥ 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-44
SLIDE 44

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a + 7b + 7c + 2d + 2e + f ≥ 11 7b + 7c + 2d + 2e ≥ 2 b + c + d + e ≥ 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-45
SLIDE 45

Weakening and Division

In RoundingSat [Elffers & Nordström, 2018], the coeffjcient is rounded to one thanks to the division rule, applied after having weakened away some unfalsifjed literals 8a + 7b + 7c + 2d + 2e + f ≥ 11 7b + 7c + 2d + 2e ≥ 2 b + c + d + e ≥ 1 RoundingSat applies this operation on both sides of the cancellation Once again, we propose here to apply this operation on only one side of the cancellation

8/14

slide-46
SLIDE 46

Weakening and Division (Experiments)

9/14

slide-47
SLIDE 47

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a 7b 7c 2d 2e f 11 7a 7b 7c 2d 2e 9 a b c d e 2 Observe that the constraint obtained here is stronger than the clause b c d e 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-48
SLIDE 48

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a + 7b + 7c + 2d + 2e + f ≥ 11 7a + 7b + 7c + 2d + 2e ≥ 9 a + b + c + d + e ≥ 2 Observe that the constraint obtained here is stronger than the clause b c d e 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-49
SLIDE 49

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a + 7b + 7c + 2d + 2e + f ≥ 11 7a + 7b + 7c + 2d + 2e ≥ 9 a + b + c + d + e ≥ 2 Observe that the constraint obtained here is stronger than the clause b c d e 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-50
SLIDE 50

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a + 7b + 7c + 2d + 2e + f ≥ 11 7a + 7b + 7c + 2d + 2e ≥ 9 a + b + c + d + e ≥ 2 Observe that the constraint obtained here is stronger than the clause b c d e 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-51
SLIDE 51

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a + 7b + 7c + 2d + 2e + f ≥ 11 7a + 7b + 7c + 2d + 2e ≥ 9 a + b + c + d + e ≥ 2 Observe that the constraint obtained here is stronger than the clause b c d e 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-52
SLIDE 52

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a + 7b + 7c + 2d + 2e + f ≥ 11 7a + 7b + 7c + 2d + 2e ≥ 9 a + b + c + d + e ≥ 2 Observe that the constraint obtained here is stronger than the clause b + c + d + e ≥ 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-53
SLIDE 53

Partial Weakening and Division

Considering a similar idea to that of RoundingSat, we propose to use partial weakening instead of weakening 8a + 7b + 7c + 2d + 2e + f ≥ 11 7a + 7b + 7c + 2d + 2e ≥ 9 a + b + c + d + e ≥ 2 Observe that the constraint obtained here is stronger than the clause b + c + d + e ≥ 1 derived by RoundingSat This operation may be applied on either one or both sides of the cancellation

10/14

slide-54
SLIDE 54

Partial Weakening and Division (Experiments)

11/14

slide-55
SLIDE 55

Complete Experiments

12/14

slide-56
SLIDE 56

Complete Experiments

12/14

slide-57
SLIDE 57

Complete Experiments

12/14

slide-58
SLIDE 58

Virtual Best Solvers

Weakening Strategy Contribution Group Contribution Generalized Resolution 6 6 RS (both) 6 RS (confmict) 3 13 RS (reason) 1 Partial RS (both) 4 Partial RS (confmict) 5 16 Partial RS (reason) 3 Weaken Ineffective (both) 6 Weaken Ineffective (confmict) 18 83 Weaken Ineffective (reason) 7

13/14

slide-59
SLIDE 59

Conclusion and Future Works

Conclusion

  • Weakening is required by PB solvers to maintain CDCL invariants
  • There are many different ways of applying this rule
  • None of them is better than the others
  • The most promising approaches are those focusing on the

confmicting constraints and those applying partial weakening Future Works

  • Consider more specifjcally the impact of the weakening rule on

either the confmict or the reason side of the cancellation rule

  • Find better tradeoffs to combine the different weakening

strategies

14/14

slide-60
SLIDE 60

Conclusion and Future Works

Conclusion

  • Weakening is required by PB solvers to maintain CDCL invariants
  • There are many different ways of applying this rule
  • None of them is better than the others
  • The most promising approaches are those focusing on the

confmicting constraints and those applying partial weakening Future Works

  • Consider more specifjcally the impact of the weakening rule on

either the confmict or the reason side of the cancellation rule

  • Find better tradeoffs to combine the different weakening

strategies

14/14

slide-61
SLIDE 61

On Weakening Strategies for PB Solvers

Daniel Le Berre1, Pierre Marquis1,2, Romain Wallon1 SAT Conference – July 6th, 2020

1 CRIL, Univ Artois & CNRS 2 Institut Universitaire de France