-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(solver)!: Solve for optional solvables in addition to the root s…
…olvable (#54) * fix(solver): Call `clear` if level = 0 in `DecisionTracker::undo_until` * fix(solver): Remove unneeded assert when processing package candidates The requirement of ensuring that no decisions are made for any candidate before the clauses for a package are added is unnecessary, since we now perform propagation every time after adding any new clauses. * fix(solver): Make `Solver::run_sat` solve for any solvable at any level * feat(solver): Solve for optional solvables in addition to the root * test(solver): Add tests for `Solver::solve_with_additional` * fix(solver): Remove unused `DecisionTracker::is_empty` * feat(solver)!: Rename `Problem`s to `Conflict`s * feat(solver)!: Add `Problem` struct to describe solver input
- Loading branch information
Showing
8 changed files
with
486 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.