Hi, sorry for disappearining. We are using EvalMaxSat with Cadical for our experiments, and we are using it in incremental mode.
In some cases, in debug mode I get the following error:
EvalMaxSAT/lib/EvalMaxSAT/src/EvalMaxSAT.h:393: bool EvalMaxSAT<SAT_SOLVER>::solve() [with SAT_SOLVER = Solver_cadical]: Assertion _cardToAdd.size() == 0' failed
In release mode the solver keeps working, but of course reports wrong optimal cost/solution.
I will try to come up with a small example to reproduce the issue, since I get this problem with some complex formulas.
Anyway, the error happens after a couple of iterative additions of hard and soft clauses
Hi, sorry for disappearining. We are using EvalMaxSat with Cadical for our experiments, and we are using it in incremental mode.
In some cases, in debug mode I get the following error:
EvalMaxSAT/lib/EvalMaxSAT/src/EvalMaxSAT.h:393: bool EvalMaxSAT<SAT_SOLVER>::solve() [with SAT_SOLVER = Solver_cadical]: Assertion _cardToAdd.size() == 0' failedIn release mode the solver keeps working, but of course reports wrong optimal cost/solution.
I will try to come up with a small example to reproduce the issue, since I get this problem with some complex formulas.
Anyway, the error happens after a couple of iterative additions of hard and soft clauses