mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix #7053
This commit is contained in:
parent
c20b8cb978
commit
b40e3015ef
|
@ -52,7 +52,7 @@ namespace opt {
|
||||||
if (m_params.m_case_split_strategy == CS_ACTIVITY_DELAY_NEW) {
|
if (m_params.m_case_split_strategy == CS_ACTIVITY_DELAY_NEW) {
|
||||||
m_params.m_relevancy_lvl = 0;
|
m_params.m_relevancy_lvl = 0;
|
||||||
}
|
}
|
||||||
m_params.m_arith_auto_config_simplex = false;
|
m_params.m_arith_auto_config_simplex = true;
|
||||||
m_params.m_threads = 1; // need to interact with the solver that created model so can't have threads
|
m_params.m_threads = 1; // need to interact with the solver that created model so can't have threads
|
||||||
// m_params.m_auto_config = false;
|
// m_params.m_auto_config = false;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ namespace opt {
|
||||||
m_dump_benchmarks = p.dump_benchmarks();
|
m_dump_benchmarks = p.dump_benchmarks();
|
||||||
m_params.updt_params(_p);
|
m_params.updt_params(_p);
|
||||||
m_context.updt_params(_p);
|
m_context.updt_params(_p);
|
||||||
m_params.m_arith_auto_config_simplex = false;
|
m_params.m_arith_auto_config_simplex = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
solver* opt_solver::translate(ast_manager& m, params_ref const& p) {
|
solver* opt_solver::translate(ast_manager& m, params_ref const& p) {
|
||||||
|
|
|
@ -83,9 +83,11 @@ namespace smt {
|
||||||
|
|
||||||
template<typename Ext>
|
template<typename Ext>
|
||||||
void theory_arith<Ext>::display_row(std::ostream & out, row const & r, bool compact) const {
|
void theory_arith<Ext>::display_row(std::ostream & out, row const & r, bool compact) const {
|
||||||
|
if (static_cast<unsigned>(r.get_base_var()) >= m_columns.size())
|
||||||
|
return;
|
||||||
column const & c = m_columns[r.get_base_var()];
|
column const & c = m_columns[r.get_base_var()];
|
||||||
out << "(v" << r.get_base_var() << " r" << c[0].m_row_id << ") : ";
|
if (c.size() > 0)
|
||||||
|
out << "(v" << r.get_base_var() << " r" << c[0].m_row_id << ") : ";
|
||||||
bool first = true;
|
bool first = true;
|
||||||
for (auto const& e : r) {
|
for (auto const& e : r) {
|
||||||
if (!e.is_dead()) {
|
if (!e.is_dead()) {
|
||||||
|
|
Loading…
Reference in a new issue