-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
99 lines (91 loc) · 3.53 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "splr"
version = "0.17.3"
authors = ["Narazaki Shuji <[email protected]>"]
description = "A modern CDCL SAT solver in Rust"
edition = "2021"
license = "MPL-2.0"
readme = "README.md"
repository = "https://github.com/shnarazk/splr"
homepage = "https://github.com/shnarazk/splr"
keywords = ["SAT", "SAT-solver", "logic", "satisfiability"]
categories = ["science", "mathematics"]
default-run = "splr"
rust-version = "1.65"
[dependencies]
bitflags = "^2.4"
instant = { version = "0.1", features = ["wasm-bindgen"], optional = true }
[features]
default = [
### Essential
# "incremental_solver",
"unsafe_access",
### Heuristics
# "bi_clause_completion",
# "clause_rewarding",
"dynamic_restart_threshold",
"LRB_rewarding",
"reason_side_rewarding",
"rephase",
"reward_annealing",
# "stochastic_local_search",
# "suppress_reason_chain",
"two_mode_reduction",
"trail_saving",
### Logic formula processor
# "no_clause_elimination",
"clause_vivification",
### For DEBUG
# "boundary_check",
# "maintain_watch_cache",
### platform dependency
# "platform_wasm"
]
assign_rate = [] # for debug and study
best_phases_tracking = [] # save the best-so-far assignment, used by 'rephase'
bi_clause_completion = [] # this will increase memory pressure
boundary_check = [] # for debug
chrono_BT = [] # NOT WORK
no_clause_elimination = [] # pre(in)-processor setting
clause_rewarding = [] # clauses have activities w/ decay rate
clause_vivification = [] # pre(in)-processor setting
debug_propagation = [] # for debug
dynamic_restart_threshold = [] # control restart spans like Glucose
EMA_calibration = [] # each exponential moving average has a calbration value
EVSIDS = [] # Eponential Variable State Independent Decaying Sum
incremental_solver = [ # for all solution SAT sover
"no_clause_elimination",
]
just_used = [] # Var and clause have 'just_used' flags
LRB_rewarding = [] # Vearning Rate Based rewarding, a new var activity criteria
maintain_watch_cache = [] # for DEBUG
no_IO = [] # to embed Splr into non-std environments
platform_wasm = [
"instant" # use instant::Duration instead of std::time::Duration
]
reason_side_rewarding = [] # an idea used in Learning-rate based rewarding
rephase = [ # search around the best-so-far candidate repeatedly
"best_phases_tracking",
]
reward_annealing = [] # use bigger and smaller decay rates cycliclly
stochastic_local_search = [ # since 0.17
# "reward_annealing",
"rephase",
]
support_user_assumption = [] # NOT WORK (defined in Glucose)
suppress_reason_chain = [] # make direct links between a dicision var and its implications
trace_analysis = [] # for debug
trace_elimination = [] # for debug
trace_equivalency = [] # for debug
trail_saving = [] # reduce propagation cost by reusing propagation chain
two_mode_reduction = [] # exploration mode and exploitation mode since 0.17
unsafe_access = [] # access elements of vectors without boundary checking
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 3
panic = "abort"
strip = true
[[example]]
name = "all-solutions"
path = "misc/splr-all.rs"