3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-04 19:16:46 +00:00

fix crash

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-11-17 09:57:17 -08:00
parent 12df8f593e
commit 2eca05e59a
3 changed files with 120 additions and 3 deletions

View file

@ -169,6 +169,15 @@ namespace nla {
bool resolve_variable(lpvar x, lp::constraint_index ci, lp::constraint_index other_ci, rational const& p_value,
factorization const& f, unsigned_vector const& m1, dd::pdd _f_p);
lbool model_repair();
bool model_repair(lp::lpvar v);
struct bound_info {
rational value;
lp::constraint_index bound;
svector<lp::constraint_index> bounds;
};
std::pair<bound_info, bound_info> find_bounds(lpvar v);
bool constraint_is_true(lp::constraint_index ci) const;
bool is_new_constraint(lp::constraint_index ci) const;