52 for (i = vec->size - 2; i >= 0; --i)
57int main(
int argc,
char **argv)
75 if (
obj->size != dim + 1)
82 fprintf(stderr,
"error\n");
85 fprintf(stdout,
"empty\n");
88 fprintf(stdout,
"unbounded\n");
isl_ctx * isl_ctx_alloc(void)
void isl_ctx_free(isl_ctx *ctx)
enum isl_lp_result isl_basic_set_solve_ilp(__isl_keep isl_basic_set *bset, int max, isl_int *f, isl_int *opt, __isl_give isl_vec **sol_p)
__isl_give isl_printer * isl_printer_print_isl_int(__isl_take isl_printer *p, isl_int i)
#define isl_int_set_si(r, i)
#define isl_int_swap(i, j)
void isl_seq_cpy(isl_int *dst, isl_int *src, unsigned len)
struct isl_basic_set isl_basic_set
static __isl_give isl_vec * isl_vec_lin_to_aff(__isl_take isl_vec *vec)
static __isl_give isl_vec * vec_ror(__isl_take isl_vec *vec)
__isl_null isl_printer * isl_printer_free(__isl_take isl_printer *printer)
__isl_give isl_printer * isl_printer_to_file(isl_ctx *ctx, FILE *file)
__isl_give isl_printer * isl_printer_end_line(__isl_take isl_printer *p)
isl_size isl_basic_set_dim(__isl_keep isl_basic_set *bset, enum isl_dim_type type)
__isl_give isl_basic_set * isl_basic_set_read_from_file(isl_ctx *ctx, FILE *input)
__isl_null isl_basic_set * isl_basic_set_free(__isl_take isl_basic_set *bset)
__isl_null isl_vec * isl_vec_free(__isl_take isl_vec *vec)
__isl_give isl_printer * isl_printer_print_vec(__isl_take isl_printer *printer, __isl_keep isl_vec *vec)
__isl_give isl_vec * isl_vec_alloc(isl_ctx *ctx, unsigned size)
__isl_give isl_vec * isl_vec_read_from_file(isl_ctx *ctx, FILE *input)