-
Notifications
You must be signed in to change notification settings - Fork 114
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
Convex polytopes defined by equality constraints return wrong results #257
Comments
@LongPham7 thanks for opening this issue and your example. We use to support low dimensional polytopes but this is dropped in #194 (see the files with names "get_full_dimensional_polytope") because the method was very unstable. See also #213 However, that method might work in your example. We are currently working on a new method that can scale in high dimensions with stability. This is already implemented in the python package https://github.com/GeomScale/dingo that uses volesti as a backend for sampling. Thus, I am marking this issue as a feature request. |
Similar issue (feature request) #246 |
In my application domain, convex polytopes are defined by not only inequalities but also equality constraints (e.g.
x = y
). When I runsample_points
on such convex polytopes, I get unsatisfactory or even wrong results.For example, consider the following R code where I sample from a convex polytope defined by
0 <= x <= 5
andx = y
.The code returns
NaN
for bothx
andy
. This is unsatisfactory because I expect to obtain at least some valid point from the convex polytope.Furthermore, if I replace the last line of the above code with
sample_points(P, n=1, random_walk = list("walk" = "BiW", walk_length=10, starting_point=c(1,1), nburns=0, L=0.5))
, I get a wrong sample where x and y are unequal.I use volesti v1.1.2. Does anyone know how to work around this issue? Thanks!
The text was updated successfully, but these errors were encountered: