You signed in with another tab or window. Reload to refresh your session.You signed out in
8000
another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on May 11, 2021. It is now read-only.
Currently, ICP will return any literal representing a constraint that was propagated. Many of these constraints are not to blame for conflicts. It should be easy to maintain provenance so that we can return a smaller set of constraints.
What I'm imagining is maintaining a layered graph of variables and constraints. The initial layer is all the variables. We add a layer for each constraint that is propagated (results in interval shrinkage), and then a layer for each variable that is shrunk. When a constraint results in an empty interval (unsatifiability), we return any literal that is an ancestor in the provenance graph as an explanation.
This will likely include some innocent literals, but it would be an improvement.
We have an option -new_explanation which does naive things to minimize a set of explanations. I agree that there is a lot of room for improvement.
There is another branch on my repository, https://github.com/soonhokong/dreal/tree/new_nra with which I experimented to generate smaller explanations. I almost re-implemented ICP_Solver, and it doesn't have ODE_Solver yet. When I measure the performance, it works at least twice faster than the blessed version.
Activity
danbryce commentedon Aug 27, 2014
I think what I want is the minimal(-ish) unsatisfiable core of the CSP. See: http://ebooks.iospress.nl/Download/Pdf/2661 (Extracting MUCs from Constraint Networks)
scungao commentedon Aug 28, 2014
I believe we do have implemented at least part of this. It's called unsat cores in SMT as well.
I think right now if ICP only returns one constraint, that constraint should be unsat by itself, unless there's a bug?
@soonhokong please comment.
soonhokong commentedon Aug 28, 2014
We have an option
-new_explanationwhich does naive things to minimize a set of explanations. I agree that there is a lot of room for improvement.There is another branch on my repository, https://github.com/soonhokong/dreal/tree/new_nra with which I experimented to generate smaller explanations. I almost re-implemented ICP_Solver, and it doesn't have ODE_Solver yet. When I measure the performance, it works at least twice faster than the blessed version.
fix(dsolvers): move initialize_constraints into assert from push