3 #include <polylib/polylibgmp.h>
4 #include <barvinok/util.h>
5 #include <barvinok/barvinok.h>
8 #ifdef HAVE_GROWING_CHERNIKOVA
9 #define MAXRAYS POL_NO_DUAL
15 #define getopt_long(a,b,c,d,e) getopt(a,b,c)
18 struct option options
[] = {
19 { "version", no_argument
, 0, 'V' },
24 int main(int argc
, char **argv
)
31 while ((c
= getopt_long(argc
, argv
, "V", options
, &ind
)) != -1) {
34 printf(barvinok_version());
41 A
= Constraints2Polyhedron(M
, MAXRAYS
);
44 Polyhedron_Print(stdout
, P_VALUE_FMT
, A
);
45 barvinok_count(A
, &cb
, MAXRAYS
);
46 value_print(stdout
, P_VALUE_FMT
, cb
);