mirror of
https://github.com/Z3Prover/z3
synced 2025-07-29 23:43:15 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ccc170a06e
commit
3ee5c0e7d9
11 changed files with 120 additions and 107 deletions
|
@ -3329,13 +3329,12 @@ public:
|
|||
st = lp::lp_status::UNBOUNDED;
|
||||
}
|
||||
else {
|
||||
vi = m_theory_var2var_index[v];
|
||||
st = m_solver->maximize_term(vi, term_max);
|
||||
st = m_solver->maximize_term(v, term_max);
|
||||
}
|
||||
TRACE("arith", display(tout << st << " v" << v << " vi: " << vi << "\n"););
|
||||
switch (st) {
|
||||
case lp::lp_status::OPTIMAL: {
|
||||
init_variable_values();
|
||||
TRACE("arith", display(tout << st << " v" << v << " vi: " << vi << "\n"););
|
||||
inf_rational val = get_value(v);
|
||||
// inf_rational val(term_max.x, term_max.y);
|
||||
blocker = mk_gt(v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue