summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-03-31 04:21:12 -0500
committerGitHub <noreply@github.com>2021-03-31 09:21:12 +0000
commitc28829ce6fc9861b8f0e902952c9983bba10820a (patch)
treefa65880901593d7e4673aad596cf790a51943891 /src/theory/arith
parent4e1c3c1c12103ef5d3f2cb3d873247bb66716287 (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.cpp2
-rw-r--r--src/theory/arith/soi_simplex.cpp3
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);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback