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

Check if a polyhedron in other polyhedron #303

Closed
XLVII-47 opened this issue Apr 22, 2022 · 1 comment · May be fixed by #304
Closed

Check if a polyhedron in other polyhedron #303

XLVII-47 opened this issue Apr 22, 2022 · 1 comment · May be fixed by #304

Comments

@XLVII-47
Copy link

XLVII-47 commented Apr 22, 2022

A = [1 0 ; 0 1; -1 0; 0 -1 ; -1 -1]
a = [3,3,3,3,3]

p=Polyhedra.polyhedron(hrep(A,a))

##CHECK

p == intersect(p,p)

it must be true but gives false

how to check if a polyhedra is inside another polytope

@blegat
Copy link
Member

blegat commented Apr 23, 2022

You can do like issubseth in #304

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

Successfully merging a pull request may close this issue.

2 participants