Skip to content

feat(pumpkin-solver): Implement consistency checker infrastructure#449

Draft
maartenflippo wants to merge 10 commits into
mainfrom
feat/consistency-checkers
Draft

feat(pumpkin-solver): Implement consistency checker infrastructure#449
maartenflippo wants to merge 10 commits into
mainfrom
feat/consistency-checkers

Conversation

@maartenflippo
Copy link
Copy Markdown
Contributor

@maartenflippo maartenflippo commented May 20, 2026

A proper implementation of consistency checkers (see #383), with lessons learned from #374.

TODO

  • Strong consistency
    • Bounds consistency
    • Domain consistency
  • Weak consistency
    • Bounds consistency
    • Domain consistency
  • Implement checkers for the following propagators (in order of importance, to validate the new API design):
    • Multiplication
    • Nogood
    • Reified
    • Linear less equal
    • Binary equal
    • Maximum
    • Absolute value
    • Cumulative
    • Disjunctive
    • Hypercube linear

Comment thread pumpkin-crates/core/src/checkers/store.rs Outdated
Comment thread pumpkin-crates/core/src/checkers/store.rs
Comment thread pumpkin-crates/core/src/checkers/strong_consistency.rs
Comment thread pumpkin-crates/core/src/checkers/support.rs
Comment thread pumpkin-crates/core/src/checkers/support.rs
Comment thread pumpkin-crates/core/src/propagation/constructor.rs
Comment thread pumpkin-crates/core/src/propagation/constructor.rs
Comment thread pumpkin-crates/core/src/propagation/constructor.rs Outdated
Comment on lines +80 to +83
dbg!((&self.a, &self.b, &self.c));
dbg!((a_min, a_max));
dbg!((b_min, b_max));
dbg!((c_min, c_max));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove debugs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move code out of mod.rs file

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

Successfully merging this pull request may close these issues.

1 participant