3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-16 19:34:52 -07:00 committed by Lev Nachmanson
parent 46c6a5492e
commit eb0f318686

View file

@ -3551,6 +3551,9 @@ public:
TRACE("arith", tout << "cannot get bound for v" << v << "\n";);
st = lp::lp_status::UNBOUNDED;
}
else if (!m.limit().inc()) {
st = lp::lp_status::UNBOUNDED;
}
else {
vi = get_lpvar(v);
st = lp().maximize_term(vi, term_max);