-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Capture the correspondence of vertices in VRep and inequalities in HRep #60
Comments
Hello, we have a code that does something similar here. |
Thanks for replying! If I understand the function |
Yes, after every halfspace we add, we generate all the points and then we remove all the redundant ones here. |
Thanks very much for your detailed explanation! Yeah I totally agree that adding this feature as a field cached in Let me leave this issue open for a while, to see if I can write a function doing what you suggested. Thanks again. I really appreciate your kind and useful suggestions. |
This will be addressed by #67 |
Hi, I am trying to implement Vertex Enumeration algorithm for finding Nash equilibrium in QuantEcon/GameTheory.jl#64. To make the code efficient, I need to get the correspondence between each vertex in VRepresentation and the indices of inequalities in HRepresentation that generate this vertex.
For example,
For vertex (0, 1) in the VRepresentation, it is the extreme point generated by the first and second inequalities in HRepresentation binding. Therefore the indices of binding inequalities along with vertex (0, 1) is [1, 2]. What I want to get is a list of such indice lists for all vertices. Is there any method available in
Polyhedra.jl
that can do this? Or do you think it is possible (and meaningful) to add this feature? I would appreciate it a lot if you would like to help me with this.The text was updated successfully, but these errors were encountered: