mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix #6107
This commit is contained in:
parent
1fcf7cf0b7
commit
61f5489223
3 changed files with 61 additions and 61 deletions
|
@ -682,14 +682,11 @@ namespace opt {
|
|||
|
||||
void context::init_solver() {
|
||||
setup_arith_solver();
|
||||
m_sat_solver = nullptr;
|
||||
m_opt_solver = alloc(opt_solver, m, m_params, *m_fm);
|
||||
m_opt_solver->set_logic(m_logic);
|
||||
m_solver = m_opt_solver.get();
|
||||
m_opt_solver->ensure_pb();
|
||||
|
||||
//if (opt_params(m_params).priority() == symbol("pareto") ||
|
||||
// (opt_params(m_params).priority() == symbol("lex") && m_objectives.size() > 1)) {
|
||||
//}
|
||||
m_opt_solver->ensure_pb();
|
||||
}
|
||||
|
||||
void context::setup_arith_solver() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue