-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not understand the output of sharpSAT #12
Comments
The cache miss rate does not relate to the correctness of your solution. It instead tells you how often it was able to use the cache to avoid computations. The closer the cache miss rate is to 0% the better it was able to exploit the caching. If your cache miss rate is 100%, the cache was unable to reduce the number of components to solve. |
Thanks for your response! :) |
sharpSAT is an exact model counter so it will always give you the exact number of solutions (ignoring unknown potential bugs or hard problems that make it run forever/out of memory).
I personally haven't looked too much into that, perhaps someone else can answer you better. I am aware of for example this paper https://arxiv.org/pdf/2007.10400.pdf where they analyse the impact of No variables, clause length, No clauses / No variables,... on the hardness of problems. You might be able to find related work. In general, the run time is influenced by the CNF structure, and by the heuristics in the model counter (e.g. the variable selection heuristic). |
Thanks again ! :) |
Another question: TIMEOUT ! |
If you look at the usage information, you can use
to set a timebound much higher than 100 000. Alternatively, you can change the default value here and recompile. |
Thanks a lot ! |
This two methods above are not working, and it seems that the maximum running time of sharpSAT is still 100000s. Solving test.cnf Preprocessing .. DONE ts 2097152 2097151 time elapsed: 60.9784s time elapsed: 121.978s |
Try You might also need to consider this #10 (comment) |
Thanks a lot! |
Hello! Your work helps me a lot!
I'm new to the #SAT problem, and I don't understand the output of sharpSAT.
In my case, why the "cache miss rate" is not 100% and what's the impact of that?
It's necessary for me to know whether the output number is the exact number of solutions.
The output of sharpSAT:
"""
variables (total / active / free) 218/218/0
clauses (removed) 804 (24)
decisions 312225169
conflicts 9
conflict clauses (all/bin/unit) 119/1/0
failed literals found by implicit BCP 109
implicit BCP miss rate 100%
bytes cache size 254763328
bytes cache (overall) 88446113808
bytes cache (infra / comps) 29508704/225254624
bytes pure comp data (curr) 172331424
bytes pure comp data (overall) 68434193712
bytes cache with sysoverh (curr) 276516640
bytes cache with sysoverh (overall) 107816675392
cache (stores / hits) 1452254/1333240957
cache miss rate 18.9749%
avg. variable count (stores / hits) 52.9823/20.1939
solutions
1511157274518286468382720
END
time: 8630.13s
"""
I'm looking forward to your reply.
The text was updated successfully, but these errors were encountered: