# Facet enumeration

**URL:** <https://discourse.julialang.org/t/facet-enumeration/36270>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 20, 2020, 4:52pm UTC](https://discourse.julialang.org/t/facet-enumeration/36270 "2020-03-20T16:52:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 20, 2020, 4:52pm UTC](https://discourse.julialang.org/t/facet-enumeration/36270/1 "2020-03-20T16:52:09Z")

</div>

I am looking for a package that implements _facet enumeration_, ie given the vertices of an \mathbb{R}^n convex polytope (3 \le n \le 5), return the list of facets with a vertex index for each.

The polytope can be assumed to be simple if that helps. Native Julia algorithms would be preferred (I am running this in a docker image but I can deal with dependencies if necessary).

Eg from

```julia
v = [[0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, 1]] # hi I am a simplex

```

I would like to get

```julia
[[1, 2, 3, 4], [1, 2, 3, 4], [1, 2, 3, 4], [1, 2, 3, 4]]

```

in some form.
