-
Notifications
You must be signed in to change notification settings - Fork 4
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
keep up with the recent MathProgBase.jl API changes #23
Conversation
Looks good. I've updated abstract domains too and will push both to Jula METADATA |
Thanks! |
But the tests are failing |
@zenna, do you have a log? Do you mean the tests at Travis? |
I found that there's a test failure at Travis. I'll check this after dinner this evening. Please let me know if you have other failures. |
Well i'm just running them on my local machine. Pkg.test("DReal") or just run a file in the test directory. I`m looking at ex1.jl now. or ex1capi.jl (which is closer to the c). It returns sat when it should be sat. Calling check again returns unsat. I think we saw a problem like this before. |
also opensmt_reset seems to not have any effect. |
Which also was an unresolved issue #10 |
OK. I will fix things up this time. |
I believe that you meant "it returns UNSAT when it should be sat". I'm looking at test/ex1capi.jl file. Between the
Note that the above set of constraints is already UNSAT. At line 124, we add 4-th constraints
So, I think the given UNSAT answer is actually correct. What do you think? |
@zenna: BTW, you need a new version to get this UNSAT answer. I'll make another release and let DReal.jl point to that version. In the meantime, it'd be great if you could review code in |
and because of the same reasoning, I think https://github.com/dreal/DReal.jl/blame/master/test/ex1.jl#L64 should be |
Other than the two problems, Julia-0.4.5 reports an error at https://github.com/dreal/DReal.jl/blob/master/test/exintfloat.jl#L4-L15.
When I comment them (the docstring starting and ending with I'll check the |
Right. But in my current build (I haven't pulled yet) after equation 3 we were getting SAT, returning ([-100 -99],[-98 -97],[-100 100]) for x y z which is clearly wrong, then when called again it would give UNSAT. Is this something you just fixed? |
Yes, this is fixed by dreal/dreal3@ecc7472. I'll release a new shared library soon. |
|
Of course |
As for updating I'm not sure that doing Pkg.update() will automatically redownload and the new version. I'll see to that later |
I mean it will download the new julia lib but not dreal libraries afaik |
Done by 0a947ad.
At least, in Travis-CI, it checks out the latest version (i.e. dReal-3.16.6). I'll make sure that we have no test failures there. I think we need to publish the new version of DReal.jl to Julia to make |
Yes, but in Travis we're doing Pkg.add() which calls Pkg.build(), whereas Pkg.update() does not call Pkg.build(). It's Pkg.build() which does the downloading etc. This i imagine is a standard problem and I'm sure there's a standard solution so I just need to find out what that is |
Ignore that. I was wrong |
@zenna, I think I fixed the reset problem. Here are some notes:
There might be still remaining problems of |
Awesome. I don't see these deprecation warnings. Any more information? |
|
ok I fixed those issues |
There's also test/Soonho.jl which causes a crash on my machine. I think I made that a while ago to demonstrate to you. What's the latest on ForAllVar? |
@zenna, thanks!!
I'll check them soon! |
BTW, following many people (incl. you and @scungao ), I finally have a test file named after me... what an honor.. |
hahaha champagne ordered |
Build passed on Travis-ci! Thanks, @zenna! |
I published it in METADATA. forall1.jl is also showing the same problem as soonho.jl |
Great!
I'll check this one as well. |
@zenna, could you review this PR?