mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 12:50:32 +00:00
include 5% reset probability
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
32c3a5af67
commit
ebbcfafd81
1 changed files with 7 additions and 7 deletions
|
@ -537,12 +537,12 @@ namespace sls {
|
||||||
bool arith_base<num_t>::repair(sat::literal lit) {
|
bool arith_base<num_t>::repair(sat::literal lit) {
|
||||||
|
|
||||||
//verbose_stream() << "repair " << lit << " " << (ctx.is_unit(lit)?"unit":"") << "\n";
|
//verbose_stream() << "repair " << lit << " " << (ctx.is_unit(lit)?"unit":"") << "\n";
|
||||||
|
if (ctx.rand(20) != 0) {
|
||||||
m_last_literal = lit;
|
m_last_literal = lit;
|
||||||
find_moves(lit);
|
find_moves(lit);
|
||||||
static unsigned num_fail = 0;
|
|
||||||
|
|
||||||
if (apply_update())
|
if (apply_update())
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
flet<bool> _tabu(m_use_tabu, false);
|
flet<bool> _tabu(m_use_tabu, false);
|
||||||
|
@ -1757,7 +1757,7 @@ namespace sls {
|
||||||
else
|
else
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
if (!ineq->m_is_linear) {
|
if (false && !ineq->m_is_linear) {
|
||||||
for (auto const& [coeff, x] : ineq->m_args) {
|
for (auto const& [coeff, x] : ineq->m_args) {
|
||||||
if (is_fixed(x))
|
if (is_fixed(x))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue