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

Assertion violation at Simplex.h:130 #109

Closed
rainoftime opened this issue May 25, 2020 · 3 comments
Closed

Assertion violation at Simplex.h:130 #109

rainoftime opened this issue May 25, 2020 · 3 comments

Comments

@rainoftime
Copy link

rainoftime commented May 25, 2020

Hi, for the following formula,

(set-logic QF_LIA)
(declare-fun v5 () Bool)
(declare-fun i3 () Int)
(declare-fun i4 () Int)
(assert (distinct (- (/ 55 93) i3) 96))
(assert (or (distinct (- (/ 55 93) i3) i4) v5))
(check-sat)

opensmt commit 134e367

opensmt: /home/opensmt/src/tsolvers/lasolver/Simplex.h:130: void Simplex::boundActivated(LVRef): Assertion `!tableau.isQuasiBasic(v) || boundsActivated[getVarId(v)] == 0' failed.
Aborted

@rainoftime
Copy link
Author

(set-logic QF_LIA)
(declare-fun _substvar_122_ () Bool)
(declare-fun _substvar_129_ () Bool)
(declare-fun i2 () Int)
(declare-fun i3 () Int)
(assert (or _substvar_122_ (<= (- (* 734 i3)) 683)))
(assert (> 675 (- 734 i2)))
(assert (or (distinct 0.0 (+ (* 734 i3) i2)) _substvar_129_))
(check-sat)

@blishko
Copy link
Member

blishko commented May 25, 2020

Hi Jack!

Thanks for submitting these!
We are having an issue with our LIA solver which we plan to investigate this week.
It should address these new as well as some of the older issues you submitted.

@blishko
Copy link
Member

blishko commented May 28, 2020

Fixed by commit 46814dd in #111

@blishko blishko closed this as completed May 28, 2020
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