8000 ICP explanations include innocent literals · Issue #56 · dreal/dreal2 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.
This repository was archived by the owner on May 11, 2021. It is now read-only.

ICP explanations include innocent literals #56

Open

Description

@danbryce

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.

Thoughts?

Activity

  1. danbryce commented on Aug 27, 2014

    @danbryce
    MemberAuthor

    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)

  2. scungao commented on Aug 28, 2014

    @scungao
    Member

    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.

  3. soonhokong commented on Aug 28, 2014

    @soonhokong
    Member

    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.

  4. self-assigned this
    on Dec 2, 2014
  5. added a commit that references this issue on Jul 9, 2015
    811348c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0