Mixed volume -> edge matrix is singular?
Posted: 13 Aug 2021, 23:23
Hi, a colleague and I are trying to compute the mixed volume of 5 polygons but got the following error:
We don't really know what to make of this
We are relatively new to polygons and mixed volumes; they were popping up in connection to quantum chemistry and we wanted to see if any numerics can be done.
This is the code snippet for the polygons and the attempt to compute the mixed volume:
Since we are new, we used the online version and ran it from our browser.
Thanks for your help!
Code: Select all
polymake: ERROR: mixed_volume: calculation failed, edge matrix is singular.
We are relatively new to polygons and mixed volumes; they were popping up in connection to quantum chemistry and we wanted to see if any numerics can be done.
This is the code snippet for the polygons and the attempt to compute the mixed volume:
Code: Select all
$p1 = new Polytope(POINTS=>[[1,0,0,0,0,0],[1,0,1,0,0,0],[1,0,0,1,0,0],[1,0,0,0,1,0],[1,0,0,0,0,1],[1,0,1,1,0,0],[1,2,0,0,0,0],[1,1,1,0,0,0],[1,1,0,1,0,0],[1,1,0,0,0,1],[1,2,0,0,1,0],[1,1,1,1,0,0]]);
$p2 = new Polytope(POINTS=>[[1,0,0,0,0,0],[1,1,0,0,0,0],[1,0,0,1,0,0],[1,0,0,0,1,0],[1,0,0,0,0,1],[1,1,0,0,1,0],[1,0,2,0,0,0],[1,1,1,0,0,0],[1,0,1,0,1,0],[1,0,1,0,0,1],[1,1,1,0,1,0],[1,0,2,1,0,0]]);
$p3 = new Polytope(POINTS=>[[1,0,0,0,0,0],[1,1,0,0,0,0],[1,0,1,0,0,0],[1,0,0,0,1,0],[1,0,0,0,0,1],[1,1,0,0,1,0],[1,0,0,2,0,0],[1,1,0,1,0,0],[1,0,0,1,1,0],[1,0,0,1,0,1],[1,1,0,1,1,0],[1,0,1,2,0,0]]);
$p4 = new Polytope(POINTS=>[[1,0,0,0,0,0],[1,1,0,0,0,0],[1,0,1,0,0,0],[1,0,0,1,0,0],[1,0,0,0,0,1],[1,0,1,1,0,0],[1,0,0,0,2,0],[1,0,1,0,1,0],[1,0,0,1,1,0],[1,0,0,0,1,1],[1,1,0,0,2,0],[1,0,1,1,1,0]]);
$p5 = new Polytope(POINTS=>[[1,0,0,0,0,0],[1,2,0,0,0,0],[1,0,2,0,0,0],[1,0,0,2,0,0],[1,0,0,0,2,0],[1,0,0,0,0,2],[1,1,1,1,0,0],[1,1,1,0,1,0],[1,0,1,1,1,0],[1,0,1,1,0,1],[1,1,0,1,1,0],[1,1,0,0,1,1],[1,2,0,0,1,0],[1,1,0,0,2,0],[1,0,1,2,0,0],[1,0,2,1,0,0]]);
mixed_volume($p1, $p2, $p3, $p4, $p5)
Thanks for your help!