Skip to content
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

Backtracking is coarser than necessary #74

Open
johntyree opened this issue Nov 26, 2015 · 0 comments
Open

Backtracking is coarser than necessary #74

johntyree opened this issue Nov 26, 2015 · 0 comments

Comments

@johntyree
Copy link
Contributor

Analysis of the AssignmentSet changelogs seems to indicate that backtracking in the sat-solver is far too aggressive. What typically happens is a whole suite of packages are suggested by the policy and assumed True until finally a conflict is found. Then everything is unwound back to the beginning and almost all of the same packages are re-suggested by the policy. This repeats many times over the course of the search.

To fix this, we need to be able to backtrack to the previous suggested package and not back to the root of the search tree. I think it's supposed to work this way already, so closing this will either require a bug fix or a good explanation for why it's happening.

@cournape cournape modified the milestone: 0.2 Dec 22, 2015
@cournape cournape modified the milestones: 0.2, 0.3 Apr 1, 2016
@cournape cournape modified the milestone: 0.3 May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants