isl_map_coalesce: fix some regressions introduced by recent extensions
[isl.git] / include / isl_lp.h
blob1e70ba655b3b41241f09c48192bb3cf075cdf029
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #ifndef ISL_LP_H
11 #define ISL_LP_H
13 #include <isl_map.h>
14 #include <isl_set.h>
16 enum isl_lp_result {
17 isl_lp_error = -1,
18 isl_lp_ok = 0,
19 isl_lp_unbounded,
20 isl_lp_empty
23 #if defined(__cplusplus)
24 extern "C" {
25 #endif
27 enum isl_lp_result isl_basic_map_solve_lp(struct isl_basic_map *bmap, int max,
28 isl_int *f, isl_int denom, isl_int *opt,
29 isl_int *opt_denom,
30 struct isl_vec **sol);
31 enum isl_lp_result isl_basic_set_solve_lp(struct isl_basic_set *bset, int max,
32 isl_int *f, isl_int denom, isl_int *opt,
33 isl_int *opt_denom,
34 struct isl_vec **sol);
36 #if defined(__cplusplus)
38 #endif
40 #endif