Skip to content

Clearing only Heuristic values or only learned Conflict Clauses through the API. #128

Answered by m-fleury
Horef asked this question in Q&A
Discussion options

You must be logged in to vote

It is more complicated that that.

Let's look at this

1. Variables are assigned values.
2. Heuristic values associated with each variable are updated.
3. Once a conflict occurs, conflict clauses are learned.

Please call 3, learned clauses, not conflict clauses.

You are missing the inprocessing part where the clauses are changed (think of the clause AvBvC and Av-C becoming the clauses AvBand Av-C but variable elimination is much more important). The impact of this is studied in https://abs.informatik.uni-freiburg.de/papers/2019/FBS_2019.pdf.

Now, if after the solver terminates we add new clauses and run .solve() again, in my understanding:

1. Assigned variable values are maintained, but c…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Horef
Comment options

@m-fleury
Comment options

Answer selected by Horef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants