mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
pipeline with release mode (#4206)
* pipeline with release mode Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * na Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
be998c308c
commit
b81ab94db7
6 changed files with 152 additions and 82 deletions
|
@ -682,10 +682,10 @@ namespace sat {
|
|||
bool tt = cur_solution(v);
|
||||
coeff_vector const& falsep = m_vars[v].m_watch[!tt];
|
||||
for (pbcoeff const& pbc : falsep) {
|
||||
auto slack = constraint_slack(pbc.m_constraint_id);
|
||||
int64_t slack = constraint_slack(pbc.m_constraint_id);
|
||||
if (slack < 0)
|
||||
++best_bsb;
|
||||
else if (slack < static_cast<int>(pbc.m_coeff))
|
||||
else if (slack < static_cast<int64_t>(pbc.m_coeff))
|
||||
best_bsb += num_unsat;
|
||||
}
|
||||
++cit;
|
||||
|
@ -697,7 +697,7 @@ namespace sat {
|
|||
coeff_vector const& falsep = m_vars[v].m_watch[!cur_solution(v)];
|
||||
auto it = falsep.begin(), end = falsep.end();
|
||||
for (; it != end; ++it) {
|
||||
auto slack = constraint_slack(it->m_constraint_id);
|
||||
int64_t slack = constraint_slack(it->m_constraint_id);
|
||||
if (slack < 0) {
|
||||
if (bsb == best_bsb) {
|
||||
break;
|
||||
|
@ -706,7 +706,7 @@ namespace sat {
|
|||
++bsb;
|
||||
}
|
||||
}
|
||||
else if (slack < static_cast<int>(it->m_coeff)) {
|
||||
else if (slack < static_cast<int64_t>(it->m_coeff)) {
|
||||
bsb += num_unsat;
|
||||
if (bsb > best_bsb) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue