2 #include <barvinok/basis_reduction.h>
3 #include <barvinok/options.h>
7 Matrix
*glpk_Polyhedron_Reduced_Basis(Polyhedron
*P
,
8 struct barvinok_options
*options
)
14 #ifndef HAVE_LIBCDDGMP
15 Matrix
*cdd_Polyhedron_Reduced_Basis(Polyhedron
*P
,
16 struct barvinok_options
*options
)
22 Matrix
*Polyhedron_Reduced_Basis(Polyhedron
*P
, struct barvinok_options
*options
)
24 if (options
->gbr_lp_solver
== BV_GBR_GLPK
)
25 return glpk_Polyhedron_Reduced_Basis(P
, options
);
26 else if (options
->gbr_lp_solver
== BV_GBR_CDD
)
27 return cdd_Polyhedron_Reduced_Basis(P
, options
);
28 else if (options
->gbr_lp_solver
== BV_GBR_PIP
)
29 return pip_Polyhedron_Reduced_Basis(P
, options
);
30 else if (options
->gbr_lp_solver
== BV_GBR_PIP_DUAL
)
31 return pip_dual_Polyhedron_Reduced_Basis(P
, options
);