Hello together,
I need your help again
I use the new version 2.10 on openSUSE 11.4. and tried the script „gc_closure“.
Unfortunately it does not work accurately. Every polytope I use as input creates an empty polytope as output without showing an error.
The output polytope has no vertex although the input polytope has some integer vertices (see code example).
script("gc_closure");
$e=new Polytope<Rational>(POINTS=>[[1,0,0,0],[1,1/2,0,0],[1,1/2,0,1],[1,1,0,1/2],[1,1,1/2,1]]);
$q=gc_closure($e);
polymake: used package cddlib
Implementation of the double description method of Motzkin et al.
Copyright by Komei Fukuda.
http://www.ifor.math.ethz.ch/~fukuda/cdd_home/cdd.html
polymake: used package normaliz2
Normaliz is a tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones.
Copyright by Winfried Bruns, Bogdan Ichim, Christof Soeger.
http://www.math.uos.de/normaliz/
print$q->VERTICES;
It creates an empty polytope.
Normally the result after running “gc_closure” one time should be
1 0 0 0
1 1/2 0 1/2
and after running “gc_closure” a second time it should result the integer hull:
1 0 0 0
but it does not work. What could be wrong?
Maybe I forgot to install additional software to make it run? I already installed 4ti2 or normaliz2 in addition to polymake.
I hope you can help me with that