Initial version of the integer set library
[platform/upstream/isl.git] / isl_lp.c
1 #include "isl_ctx.h"
2 #include "isl_lp.h"
3 #ifdef ISL_PIPLIB
4 #include "isl_lp_piplib.h"
5 #endif
6
7 enum isl_lp_result isl_solve_lp(struct isl_basic_map *bmap, int maximize,
8                                       isl_int *f, isl_int denom, isl_int *opt)
9 {
10 #ifdef ISL_PIPLIB
11         return isl_pip_solve_lp(bmap, maximize, f, denom, opt);
12 #else
13         return isl_lp_error;
14 #endif
15 }