mirror of
https://github.com/Z3Prover/z3
synced 2026-08-08 06:52:26 +00:00
Handle missing crossed-bound witness conservatively
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
6b07277cf0
commit
d545494abf
1 changed files with 5 additions and 0 deletions
|
|
@ -2868,6 +2868,11 @@ namespace lp {
|
|||
m_imp->m_crossed_bounds_column = j;
|
||||
const auto& ul = m_imp->m_columns[j];
|
||||
u_dependency* bdep = lower_bound? ul.lower_bound_witness() : ul.upper_bound_witness();
|
||||
if (!bdep) {
|
||||
m_imp->m_crossed_bounds_column = null_lpvar;
|
||||
set_status(lp_status::UNKNOWN);
|
||||
return;
|
||||
}
|
||||
m_imp->m_crossed_bounds_deps = dep_manager().mk_join(bdep, dep);
|
||||
SASSERT(m_imp->m_crossed_bounds_deps != nullptr);
|
||||
set_status(lp_status::INFEASIBLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue