-
Notifications
You must be signed in to change notification settings - Fork 7
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
BUG: removevredundancy!
removes wrong row
#52
Comments
Is that the root cause of #51? |
No I don't think so. I guess that behavior is a bug/feature of I guess it is the root cause of the error in #50:
What do you think? |
If A = [0 1 0; -1 0 0; 0 -1 0; 0 0 -1; 1 0 0]
b = [2, -1, -1, -1, 2]
linset = BitSet(5)
hr = hrep(A, b, linset)
p = polyhedron(hr, LRSLib.Library())
detectvlinearity!(p)
removevredundancy!(p)
p
p.ext.R
Lines 70 to 82 in 22915a1
|
Related to #51
In
LRSLib.jl/src/polyhedron.jl
Lines 183 to 196 in 22915a1
redund(extm)
returns 0-based indices (output from a C program!). That should be modified to be consistent with Julia's 1-based indexing.The text was updated successfully, but these errors were encountered: