1 #include <barvinok/basis_reduction.h>
2 #include <barvinok/options.h>
6 Matrix
*glpk_Polyhedron_Reduced_Basis(Polyhedron
*P
)
12 #ifndef HAVE_LIBCDDGMP
13 Matrix
*cdd_Polyhedron_Reduced_Basis(Polyhedron
*P
)
19 Matrix
*Polyhedron_Reduced_Basis(Polyhedron
*P
, struct barvinok_options
*options
)
21 if (options
->gbr_lp_solver
== BV_GBR_GLPK
)
22 return glpk_Polyhedron_Reduced_Basis(P
);
23 else if (options
->gbr_lp_solver
== BV_GBR_CDD
)
24 return cdd_Polyhedron_Reduced_Basis(P
);