isl_lp.h File Reference

#include <isl_map.h>

Go to the source code of this file.

Enumerations

enum  isl_lp_result { isl_lp_error = -1, isl_lp_ok = 0, isl_lp_unbounded, isl_lp_empty }

Functions

enum isl_lp_result isl_solve_lp (struct isl_basic_map *bmap, int maximize, isl_int *f, isl_int denom, isl_int *opt, isl_int *opt_denom)


Enumeration Type Documentation

Enumerator:
isl_lp_error 
isl_lp_ok 
isl_lp_unbounded 
isl_lp_empty 

Definition at line 6 of file isl_lp.h.

00006                    {
00007         isl_lp_error = -1,
00008         isl_lp_ok = 0,
00009         isl_lp_unbounded,
00010         isl_lp_empty
00011 };


Function Documentation

enum isl_lp_result isl_solve_lp ( struct isl_basic_map bmap,
int  maximize,
isl_int f,
isl_int  denom,
isl_int opt,
isl_int opt_denom 
)

Definition at line 39 of file isl_lp.c.

00042 {
00043         if (!bmap)
00044                 return isl_lp_error;
00045 
00046         switch (bmap->ctx->lp_solver) {
00047         case ISL_LP_PIP:
00048                 return isl_pip_solve_lp(bmap, maximize, f, d, opt, opt_denom);
00049         case ISL_LP_TAB:
00050                 return isl_tab_solve_lp(bmap, maximize, f, d, opt, opt_denom);
00051         default:
00052                 return isl_lp_error;
00053         }
00054 }


Generated on Fri Jul 17 16:32:57 2009 for CLooG / ISL by  doxygen 1.5.9