mirror of
https://github.com/Z3Prover/z3
synced 2026-03-01 11:16:54 +00:00
fix #7677: treat FC_CONTINUE from check_nla as FEASIBLE in maximize
When check_nla returns FC_CONTINUE it means NLA found constraint violations and added lemmas. The current LP value is a valid lower bound, so the status should be FEASIBLE, not UNBOUNDED. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ffe29b1433
commit
6ec40153cc
1 changed files with 1 additions and 1 deletions
|
|
@ -4013,10 +4013,10 @@ public:
|
|||
if (m_nla && (st == lp::lp_status::OPTIMAL || st == lp::lp_status::UNBOUNDED)) {
|
||||
switch (check_nla(level)) {
|
||||
case FC_DONE:
|
||||
case FC_CONTINUE:
|
||||
st = lp::lp_status::FEASIBLE;
|
||||
break;
|
||||
case FC_GIVEUP:
|
||||
case FC_CONTINUE:
|
||||
st = lp::lp_status::UNBOUNDED;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue