mirror of
https://github.com/Z3Prover/z3
synced 2025-10-16 04:20:25 +00:00
added updated bounds propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6f8fb39bc9
commit
9fefa0040f
3 changed files with 59 additions and 2 deletions
|
@ -184,6 +184,19 @@ namespace polysat {
|
|||
*/
|
||||
lbool max_viable(pvar v, rational& out_hi);
|
||||
|
||||
|
||||
/**
|
||||
* Query for an upper bound literal for v together with justification.
|
||||
* @return true if a non-trivial upper bound is found, return justifying constraint.
|
||||
*/
|
||||
bool has_upper_bound(pvar v, rational& out_hi, signed_constraint& out_c);
|
||||
|
||||
/**
|
||||
* Query for an lower bound literal for v together with justification.
|
||||
* @return true if a non-trivial lower bound is found, return justifying constraint.
|
||||
*/
|
||||
bool has_lower_bound(pvar v, rational& out_hi, signed_constraint& out_c);
|
||||
|
||||
/**
|
||||
* Find a next viable value for variable.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue