3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

prepare for local version of Gomory cuts

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-10-29 19:45:14 -07:00
parent 160971df60
commit 938a89e197
3 changed files with 39 additions and 1 deletions

View file

@ -2416,6 +2416,10 @@ public:
return false;
theory_var uv = lp().local_to_external(u); // variables that are returned should have external representations
theory_var vv = lp().local_to_external(v); // so maybe better to have them already transformed to external form
if (uv == null_theory_var)
return false;
if (vv == null_theory_var)
return false;
enode* n1 = get_enode(uv);
enode* n2 = get_enode(vv);