-
Notifications
You must be signed in to change notification settings - Fork 22
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
Your program has some mistakes #1
Comments
Could you please share the input for which it fails? Thanks. |
I haven't finished reading your code, but I think it has some logic mistakes. That's my test case. |
|
But some files can be completed. I don't know if it's a program problem or if the test file I'm using is wrong. |
The most likely reason is that the solver takes a very long time to find a solution. The DPLL algorithm is not very efficient in its traversal of the search space (as compared to newer algorithms such as CDCL). Moreover, this is a very simple implementation without any of the common techniques that speedup the search. You could consider using state-of-the-art SAT solvers, such as from here. However, in case you find any bug in the code in this repository, please feel free to report it. Thanks. |
How can we optimize your code, still using DPLL. |
Unfortunately, I am unable to provide any additional support for this right now. For efficiency, it would be best to use state-of-the-art solvers. This code does not focus on that, even in terms of use of efficient data structures and good variable selection heuristics. |
I use your code to run a .cnf file, it can't be completed.
The text was updated successfully, but these errors were encountered: