Exact Integration Experiments
The following contains all the polytopes and polynomials used in the integration (and volume) experiments described in the LattE integrale paper "Software for Exact Integration of Polynomials over Polyhedra" except the cyclic polytopes and simplices. The database files containing the integral and times are also available here.
 Random polytopes of dimension 27 (41 MB); dimension 8 (48 MB); dimension 10 (360 MB)
 Ziegler's database of polytopes with random polynomials (1.1 MB)
 Random polynomials (402 KB)
 Random SQL database (sql)(92 MB)
 Ziegler's SQL database (sql)(1 MB)
Because the number of volume calculations is "small," they are also viewable online here.
Additional tables and figures from the LattE integrale paper
The online supplement for the paper Software for Exact Integration of Polynomials over Polyhedra is available here.
How to read the integration database files
We performed over 100,000 integration and 10,000 volume calculations and stored them using SQLite, a relational database management system. Any relational database should be able to input the above sql files, and you are free to analyze the results using any tool you want, but for the rest of this webpage we will assume you are using SQLite. If SQL sounds unfamiliar to you, please do a quick Internet search for "sql tutorial" and read the sections on the "select," "join," and "where" clause.
As you read the following SQL statements, keep in mind the following facts about SQLite:
 Every table as a unique rowid by default
 The alter table command allows the user to rename a table or to add a new column but it cannot rename a column, remove a column, or add or remove constraints from a table. Hence, some names are badly named and some columns are not used anymore.
The command to recreate the database from the SQL files above is different for each system, but in SQLite it is ".read fileName." All other SQL commands should work in any relational database management system.
Table Schema
Deprecated: Function create_function() is deprecated in /homes/home02/l/latte/public_html/includeFiles/geshi/geshi.php on line 4716
CREATE TABLE polynomial ( degree NUMERIC NOT NULL, dim NUMERIC NOT NULL, filePath text NOT NULL ); CREATE TABLE polytope ( dim NUMERIC NOT NULL, vertexCount NUMERIC NOT NULL, simple NUMERIC NOT NULL, dual NUMERIC, latteFilePath text NOT NULL, polymakeFilePath text, FOREIGN KEY(dual) REFERENCES polytope(rowid) );
The polynomial table has four columns:
 The default rowid column.
 degree: the degree of the polynomial.
 dim: dimension of the polynomial is equal to the number of variables.
 filePath: file path to the polynomial file.
Likewise the polytope table's columns are:
 The default rowid column.
 dim: (full) dimension of the polytope.
 dual: if NULL, the polytope is in the primal space, else this row corresponds to the dual polytope and the primal polytope's rowid is given by the value in dual.
 If dual is NULL
 vertexCount: vertex count of the primal polytope.
 simple: true if the primal polytope is simplicial. If equal to 1, we didn't check this property.
 latteFilePath: file path of the primal polytope.
 polymakeFilePath: the main Polymake file.
 Else dual is not null and links to the primal polytope
 vertexCount: vertex count of the dual polytope.
 simple: true if the dual polytope is simplicial. If equal to 1, we did not check this property.
 latteFilePath: file path of the dual polytope.
 polymakeFilePath: the dual polytope can be read from the primal polytope's Polymake file and so this column has no meaning.
CREATE TABLE integrate ( polynomialID NUMERIC NOT NULL, polytopeID NUMERIC NOT NULL, timeLawrence NUMERIC NOT NULL, timeTriangulate NUMERIC NOT NULL, integral text NOT NULL, flagValue text NOT NULL DEFAULT '1', flagType NUMERIC NOT NULL DEFAULT '1', FOREIGN KEY(polynomialID) REFERENCES polynomial(rowid), FOREIGN KEY(polytopeID) REFERENCES polytope(rowid) ); CREATE TABLE volume ( polytopeID NUMERIC NOT NULL, timeLawrence NUMERIC NOT NULL, timeTriangulate NUMERIC NOT NULL, theVolume text NOT NULL, flagType NUMERIC NOT NULL DEFAULT '1', flagValue text NOT NULL DEFAULT '1', FOREIGN KEY(polytopeID) REFERENCES polytope(rowid) );
The integrate table records an integration test with one polytope and one polynomial, and has eight columns:
 The default rowid column.
 polynomialID: rowid of a row in the polynomial table.
 polytopeID: rowid of a row in the polytope table.
 timeLawrence: time to integrate this polynomialpolytope pair using the cone decomposition method. If negative, the integral has not been computed with this method.
 timeTriangulate: time to integrate this polynomialpolytope pair using the triangulation method. If negative, the integral has not been computed with this method.
 integral: a fraction. If equal to "NA," the integral has not been computed.
 flagType: describes the flagValue. Not used anymore.
 flagValue: the integral is a multiple of this number. Not used anymore.
Finally, the volume table has a schema very similar to the integration table.
Examples of using the database with SQL
What are the degrees of polynomials in five variables?
SELECT DISTINCT p.degree FROM polynomial AS p WHERE p.dim = 5;
Result:
1
2
5
10
20
30
40
50
What are the primal vertex counts for polytopes in dimension five?
SELECT DISTINCT t.vertexCount FROM polytope AS t WHERE t.dual IS NULL AND t.dim = 5
Result:
7
8
9
10
15
20
25
30
How many primal integration cases was computed using both integration methods where the dimension is five, the primal vertex count is seven, and the degree of the monomial is ten?
SELECT COUNT(*) FROM integrate AS i JOIN polynomial AS p ON i.polynomialID = p.rowid JOIN polytope AS t ON i.polytopeID = t.rowid WHERE t.dim = 5 AND t.vertexCount = 7 AND p.degree = 10 AND t.dual IS NULL AND i.timeLawrence >= 0 AND i.timeTriangulate >= 0;
Result:
50
How many dual primal integration cases was computed using both integration methods where the dimension is five, the primal vertex count is seven, and the degree of the monomial is ten? Also compute the average integration times, the max integration time, and the min integration time. (Note that we need to work with two copies of the polytope table because we want to look at dual polytopes where their primal polytope has a set vertex count.)
SELECT COUNT(*), avg(i.timeTriangulate), MIN(i.timeTriangulate), MAX(i.timeTriangulate), avg(i.timeLawrence), MIN(i.timeLawrence), MAX(i.timeLawrence) FROM integrate AS i JOIN polynomial AS p ON i.polynomialID = p.rowid JOIN polytope AS dualP ON i.polytopeID = dualP.rowid JOIN polytope AS primeP ON dualP.dual = primeP.rowid WHERE primeP.dim = 5 AND primeP.vertexCount = 7 AND p.degree = 10 AND primeP.dual IS NULL AND i.timeLawrence >= 0 AND i.timeTriangulate >= 0;
Result:
count  Avg Tri  Min Tri  Max Tri  Avg Cone  Min Cone  Max Cone
50  0.3876  0.12  0.67  0.1098  0.05  0.18
List the latte file, polynomial file, and integration times for primal integration tests where the dimension is five, the primal vertex count is seven, and the degree of the monomial is ten.
SELECT i.rowid, i.timeTriangulate, i.timeLawrence, t.latteFilePath, p.filePath FROM integrate AS i JOIN polynomial AS p ON i.polynomialID = p.rowid JOIN polytope AS t ON i.polytopeID = t.rowid WHERE t.dim = 5 AND t.vertexCount = 7 AND p.degree = 10 AND t.dual IS NULL AND i.timeLawrence >= 0 AND i.timeTriangulate >= 0;
Result:
ID  Tri  Cone  Latte File Path  Polynomial File Path
13101  0.06  0.22  dim5/ext7/polytope5_vertex7_num50.vrep.latte  polynomials/dim5/deg10/poly5_deg10_num50.polynomial
13102  0.06  0.11  dim5/ext7/polytope5_vertex7_num49.vrep.latte  polynomials/dim5/deg10/poly5_deg10_num49.polynomial
...
13149  0.07  0.13  dim5/ext7/polytope5_vertex7_num2.vrep.latte  polynomials/dim5/deg10/poly5_deg10_num2.polynomial
13150  0.06  0.12  dim5/ext7/polytope5_vertex7_num1.vrep.latte  polynomials/dim5/deg10/poly5_deg10_num1.polynomial
(there are 50 rows in total)
