Skip to content

Tie-break heuristic overflow #5

@S-Mazigh

Description

@S-Mazigh

Hello, first of all I'd like to congratulate you on your excellent work. I'm currently studying your implementation to integrate it into the Painless framework and I've noted some remarks that I'd like your opinion on. While testing with the instance "0336f81b60baac5b8f481dd3c32861a5-mod4block_2vars_10gates_u2_autoenc-sc2009" of the SAT2023 competition I noticed that the calculation of the tie-break heuristic value overflows to the negative numbers. It would make more sense to use an unsigned (maybe a ulong to less likely hit 0) as the return type, wouldn't it?

On another note, I'd like to know if the addition of the current variable is redundant given that it is surely present in the listUpdate set.

That's it, normally I've covered everything I wanted your opinion on.

Best regards.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions