mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 02:40:24 +00:00
remove reference to tactic.h
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7adb402a3f
commit
cd331b8a56
3 changed files with 10 additions and 10 deletions
|
@ -68,7 +68,8 @@ bvsls_opt_engine::optimization_result bvsls_opt_engine::optimize(
|
|||
|
||||
if (is_sat != l_true) {
|
||||
do {
|
||||
checkpoint();
|
||||
if (!m_manager.inc())
|
||||
return res;
|
||||
|
||||
IF_VERBOSE(1, verbose_stream() << "Satisfying... restarts left:" << (m_max_restarts - m_stats.m_restarts) << std::endl;);
|
||||
is_sat = search();
|
||||
|
@ -136,7 +137,8 @@ expr_ref bvsls_opt_engine::maximize()
|
|||
|
||||
while (m_mpz_manager.lt(score, max_score) && check_restart(m_stats.m_moves))
|
||||
{
|
||||
checkpoint();
|
||||
if (!m_manager.inc())
|
||||
goto bailout;
|
||||
m_stats.m_moves++;
|
||||
m_mpz_manager.set(old_score, score);
|
||||
new_const = (unsigned)-1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue