-
I'm having difficulty finding the volume of an H-rep
```julia
using Polyhedra, QHull
cube = HalfSpace([0,0,1],1)∩HalfSpace([0,0,-1],0)∩HalfSpace([0,1,0],1)∩HalfSpace([0,-1,0],0)∩HalfSpace([1,0,0]…
-
On sage 8.9 with python3, we get:
```
sage: polytopes.regular_polygon(16)
Traceback (most recent call last):
...
RecursionError: maximum recursion depth exceeded while calling a Python object
```
…
jplab updated
2 months ago
-
#20885 added a Normaliz/PyNormaliz interface, providing a fast backend for polyhedra, and in particular implementations of the `integral_points` and `integral_hull` methods.
On this meta ticket, we…
-
```julia
julia> H = HalfSpace([-1.0, -1.0], -3.0);
julia> P = VPolygon([[1.0, 1.0], [3.0, 1.0], [2.0, 3.0]]);
```
This works:
```julia
julia> plot(Intersection(H, P))
julia> plot!(H)
```
This…
-
How to reproduce:
```
0 chan = LRSLib.generatorproducer(hrep);
julia> collect(chan)
2-element Array{Any,1}:
Rational{BigInt}[1//1, 3//4, 3//4]
Rational{BigInt}[1//1, 0//1, 0//1]
```
It …
-
Given a (not necessarily minimal) H-representation, for example as a list, and a polyhedron, construct a `CombinatorialPolyhedron` that uses the given H-representation objects (or indices of the lis…
-
Hello,
In [this blog post](https://laustep.github.io/stlahblog/posts/integralPolyhedron.html), using **R**, I calculate an integral on a polyhedron by decomposing this polyhedron into simplices.
…
-
I have been trying this with four threads:
```bash
export JULIA_NUM_THREADS=4
```
Minimal working example:
```julia
using GLPK
using JuMP
using Polyhedra
using QHull
@show Threads.nthreads…
-
The following code:
```
using LazySets
# Setup problem
network = NeuralVerification.read_nnet("./examples/networks/issue_net.nnet")
input_set = LazySets.HPolytope([LazySets.HalfSpace([1.0, 0.…
-
Hello,
I also started a fork of this from Sage [videlec.pplpy](https://github.com/videlec/pplpy). Sadly, I I did not know about your project. I fixed several issues with the Sage implementation:
- ht…