diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-03-31 04:21:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 09:21:12 +0000 |
commit | c28829ce6fc9861b8f0e902952c9983bba10820a (patch) | |
tree | fa65880901593d7e4673aad596cf790a51943891 /src/theory/arith | |
parent | 4e1c3c1c12103ef5d3f2cb3d873247bb66716287 (diff) |
Add missing inference ids (#6242)
Towards having complete stats on inference ids for each lemma, fact, and conflict.
Diffstat (limited to 'src/theory/arith')
-rw-r--r-- | src/theory/arith/simplex.cpp | 2 | ||||
-rw-r--r-- | src/theory/arith/soi_simplex.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/arith/simplex.cpp b/src/theory/arith/simplex.cpp index d93e42215..49267034c 100644 --- a/src/theory/arith/simplex.cpp +++ b/src/theory/arith/simplex.cpp @@ -94,7 +94,7 @@ void SimplexDecisionProcedure::reportConflict(ArithVar basic){ ConstraintCP conflicted = generateConflictForBasic(basic); Assert(conflicted != NullConstraint); - d_conflictChannel.raiseConflict(conflicted, InferenceId::UNKNOWN); + d_conflictChannel.raiseConflict(conflicted, InferenceId::ARITH_CONF_SIMPLEX); d_conflictVariables.add(basic); } diff --git a/src/theory/arith/soi_simplex.cpp b/src/theory/arith/soi_simplex.cpp index 2ea3fd546..eef0ede43 100644 --- a/src/theory/arith/soi_simplex.cpp +++ b/src/theory/arith/soi_simplex.cpp @@ -846,7 +846,8 @@ bool SumOfInfeasibilitiesSPD::generateSOIConflict(const ArithVarVec& subset){ d_conflictBuilder->addConstraint(c, coeff); } ConstraintCP conflicted = d_conflictBuilder->commitConflict(); - d_conflictChannel.raiseConflict(conflicted, InferenceId::UNKNOWN); + d_conflictChannel.raiseConflict(conflicted, + InferenceId::ARITH_CONF_SOI_SIMPLEX); } tearDownInfeasiblityFunction(d_statistics.d_soiConflictMinimization, d_soiVar); |