ConSol-Lab / Pumpkin

A lazy clause generation constraint solver written in Rust.
Apache License 2.0
18 stars 5 forks source link

Debug Failure when using sparse set variables #29

Closed ImkoMarijnissen closed 2 months ago

ImkoMarijnissen commented 3 months ago

To reproduce: Create an instance where first a sparse set integer variable is created and then a bool clause is created. If the asserts are set to extreme then the line pumpkin_assert_moderate!(self.is_propagation_complete()) in add_clause will panic since elements were added to the trail when creating the sparse set after which no clausal propagation took place.