I think it's slightly ambiguous whether ipasir_failed should always receive positive literals or whether it should receive literals that match the polarity of the assumptions.
For example, should both A and B pass in the following pseudocode or just one of them?
ipasir_init();
ipasir_add(1);
ipasir_add(0);
ipasir_assume(-1);
ipasir_solve();
assert(ipasir_failed(1) == 1); // A
assert(ipasir_failed(-1) == 1); // B
Please could we clarify in the documentation? Thanks
Hello,
I think it's slightly ambiguous whether ipasir_failed should always receive positive literals or whether it should receive literals that match the polarity of the assumptions.
For example, should both
A
andB
pass in the following pseudocode or just one of them?Please could we clarify in the documentation? Thanks