Ability to not include unused variables #12
Labels
locked
[bot] locked due to inactivity
stale::closed
[bot] closed after being marked as stale
stale
[bot] marked as stale due to inactivity
type::feature
request for a new feature or capability
By default, if you skip variables, pycosat will include them in solutions, like
This can be annoying, because if your literals end up larger than in order, you have to flatten them out or else you will get more solutions than you need. It would be nice to have an option to not include unused variables. Alternately, pycosat could have a helper function to flatten out something like
[[2, 5, 6], [-2, 4, 6]]
to[[1, 3, 4], [-1, 2, 4]]
.The text was updated successfully, but these errors were encountered: