bernstein: add piecewise_lst::is_equal
[barvinok.git] / cone_integer_hull.c
blobf9f04da74169fe48e06f24581811b26b005ef3d6
1 #include <barvinok/polylib.h>
2 #include <barvinok/options.h>
3 #include "hilbert.h"
5 int main(int argc, char **argv)
7 Matrix *M;
8 Polyhedron *C;
9 struct barvinok_options *options = barvinok_options_new_with_defaults();
11 M = Matrix_Read();
12 C = Constraints2Polyhedron(M, options->MaxRays);
13 Matrix_Free(M);
15 M = Cone_Integer_Hull(C, options);
17 Polyhedron_Free(C);
19 Matrix_Print(stdout, P_VALUE_FMT, M);
20 Matrix_Free(M);
22 barvinok_options_free(options);
23 return 0;