add isl_polyhedron_minimize application
[isl.git] / include / isl_lp.h
blob19a8c66d74e5d96f21606ddc06ed5fad35ee137e
1 #ifndef ISL_LP_H
2 #define ISL_LP_H
4 #include <isl_map.h>
5 #include <isl_set.h>
7 enum isl_lp_result {
8 isl_lp_error = -1,
9 isl_lp_ok = 0,
10 isl_lp_unbounded,
11 isl_lp_empty
14 #if defined(__cplusplus)
15 extern "C" {
16 #endif
18 enum isl_lp_result isl_basic_map_solve_lp(struct isl_basic_map *bmap, int max,
19 isl_int *f, isl_int denom, isl_int *opt,
20 isl_int *opt_denom,
21 struct isl_vec **sol);
22 enum isl_lp_result isl_basic_set_solve_lp(struct isl_basic_set *bset, int max,
23 isl_int *f, isl_int denom, isl_int *opt,
24 isl_int *opt_denom,
25 struct isl_vec **sol);
27 #if defined(__cplusplus)
29 #endif
31 #endif