mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
add back minimize vars
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6df23fbce3
commit
be790b8892
8 changed files with 32 additions and 7 deletions
|
@ -196,6 +196,16 @@ namespace polysat {
|
|||
return is_always_false(is_positive, p, q);
|
||||
}
|
||||
|
||||
bool ule_constraint::is_currently_false(solver& s, assignment_t const& sub, bool is_positive) const {
|
||||
auto p = s.subst(sub, lhs());
|
||||
auto q = s.subst(sub, rhs());
|
||||
return is_always_false(is_positive, p, q);
|
||||
}
|
||||
|
||||
bool ule_constraint::is_currently_true(solver& s, assignment_t const& sub, bool is_positive) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ule_constraint::is_currently_true(solver& s, bool is_positive) const {
|
||||
auto p = s.subst(lhs());
|
||||
auto q = s.subst(rhs());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue