mirror of
https://github.com/Z3Prover/z3
synced 2026-01-22 01:54:44 +00:00
reuse dio branch
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
8d81a2dcaf
commit
f85a5135c0
6 changed files with 124 additions and 29 deletions
|
|
@ -17,6 +17,7 @@ Revision History:
|
|||
|
||||
|
||||
--*/
|
||||
#include "math/lp/lp_params_helper.hpp"
|
||||
#include <memory>
|
||||
#include "util/vector.h"
|
||||
#include "smt/params/smt_params_helper.hpp"
|
||||
|
|
@ -25,6 +26,7 @@ template bool lp::vectors_are_equal<lp::mpq>(vector<lp::mpq > const&, vector<lp:
|
|||
|
||||
void lp::lp_settings::updt_params(params_ref const& _p) {
|
||||
smt_params_helper p(_p);
|
||||
lp_params_helper lp_p(_p);
|
||||
m_enable_hnf = p.arith_enable_hnf();
|
||||
m_propagate_eqs = p.arith_propagate_eqs();
|
||||
print_statistics = p.arith_print_stats();
|
||||
|
|
@ -32,9 +34,8 @@ void lp::lp_settings::updt_params(params_ref const& _p) {
|
|||
report_frequency = p.arith_rep_freq();
|
||||
m_simplex_strategy = static_cast<lp::simplex_strategy_enum>(p.arith_simplex_strategy());
|
||||
m_nlsat_delay = p.arith_nl_delay();
|
||||
m_dio_eqs = p.arith_lp_dio_eqs();
|
||||
m_dio_enable_gomory_cuts = p.arith_lp_dio_cuts_enable_gomory();
|
||||
m_dio_enable_hnf_cuts = p.arith_lp_dio_cuts_enable_hnf();
|
||||
m_dio_branching_period = p.arith_lp_dio_branching_period();
|
||||
m_dump_bound_lemmas = p.arith_dump_bound_lemmas();
|
||||
m_dio_eqs = lp_p.dio_eqs();
|
||||
m_dio_enable_gomory_cuts = lp_p.dio_cuts_enable_gomory();
|
||||
m_dio_enable_hnf_cuts = lp_p.dio_cuts_enable_hnf();
|
||||
m_dio_branching_period = lp_p.dio_branching_period();m_dump_bound_lemmas = p.arith_dump_bound_lemmas();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue