add isl_basic_map_universe_like
[platform/upstream/isl.git] / include / isl_lp.h
1 #ifndef ISL_LP_H
2 #define ISL_LP_H
3
4 #include <isl_map.h>
5 #include <isl_set.h>
6
7 enum isl_lp_result {
8         isl_lp_error = -1,
9         isl_lp_ok = 0,
10         isl_lp_unbounded,
11         isl_lp_empty
12 };
13
14 #if defined(__cplusplus)
15 extern "C" {
16 #endif
17
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);
26
27 #if defined(__cplusplus)
28 }
29 #endif
30
31 #endif