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

Error in test.jl #89

Closed
IlliaKovalenko94 opened this issue Jun 5, 2024 · 1 comment
Closed

Error in test.jl #89

IlliaKovalenko94 opened this issue Jun 5, 2024 · 1 comment

Comments

@IlliaKovalenko94
Copy link

Hello,

When I run test.jl in Jupyter, it return the following error:

MethodError: no method matching HRepresentation(::Matrix{Int64}, ::Vector{Int64})

Stacktrace:
[1] extremepoints(A::Matrix{Int64}, b::Vector{Int64})
@ Main .\In[9]:6
[2] top-level scope
@ In[9]:15

I need to find the extreme points of the convex hull of Ax<=b linear system where A is a [310x300] matrix. Is this problem solvable using cddlib? Any assistance with this would be highly appreciated

image

@blegat
Copy link
Member

blegat commented Jun 7, 2024

This is an old syntax from a previous release I think, try hrep(A, b) instead. See https://juliapolyhedra.github.io/Polyhedra.jl/stable/representation/#Representation

@blegat blegat closed this as completed Oct 8, 2024
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