mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 02:00:22 +00:00
roll back changes in get_model
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
0dbe8982ce
commit
b6f07e2a23
4 changed files with 6 additions and 8 deletions
|
|
@ -1252,8 +1252,6 @@ void lar_solver::get_infeasibility_explanation_for_inf_sign(
|
|||
|
||||
void lar_solver::get_model(std::unordered_map<var_index, mpq> & variable_values) const {
|
||||
lp_assert(m_mpq_lar_core_solver.m_r_solver.calc_current_x_is_feasible_include_non_basis());
|
||||
if (m_status != lp_status::OPTIMAL)
|
||||
return;
|
||||
mpq delta = mpq(1, 2); // start from 0.5 to have less clashes
|
||||
unsigned i;
|
||||
unsigned n = m_mpq_lar_core_solver.m_r_x.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue