Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug branch: Assertion violation at ../src/math/lp/gomory.cpp Line: 337 #3110

Closed
muchang opened this issue Mar 2, 2020 · 1 comment
Closed
Assignees

Comments

@muchang
Copy link

muchang commented Mar 2, 2020

Hi,
For this formula:

(declare-fun a () Int)
(declare-fun b () Int)
(declare-fun c () Int)
(assert
 (let ((d 0))
  (and
   (or
    (= (< c a)
     (distinct
      (distinct
       (xor (<= (/ 57 c c) 2) (distinct (distinct c b) (< (/ a c) 5)))
       (distinct c b))
      (xor (<= b a) (>= (- a) 4))))
    (>= (* c a) 51))
   (> a c))))
(check-sat)

Z3 debug branch throws out an assertion violation:

ASSERTION VIOLATION
File: ../src/math/lp/gomory.cpp
Line: 337
lia.current_solution_is_inf_on_cut()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

OS: Ubuntu 18.04
Commit: caa118c

@levnach
Copy link
Contributor

levnach commented Mar 4, 2020

fixed by 7b51b39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants