Annotation of OpenXM/src/Ti/Rsimp.h, Revision 1.1.1.1
1.1 maekawa 1: /*
2: ** Rsimp.h Birk Huber, 2/99
3: ** -- header file for Rsimp.c with definitions of linear programming
4: ** -- data structure and basic implementation of revised simplex method.
5: **
6: **
7: ** TiGERS, Toric Groebner Basis Enumeration by Reverse Search
8: ** copyright (c) 1999 Birk Huber
9: **
10: */
11: #ifndef RSIMP_H
12: extern int LP_MAX_N;
13: extern int LP_MAX_M;
14: extern int LP_N;
15: extern int LP_M;
16: extern double **LP_A;
17: extern double *LP_B;
18: extern double *LP_C;
19: extern double *LP_X;
20: extern int *LP_Basis;
21: extern int *LP_NonBasis;
22: extern double **LP_Q;
23: extern double **LP_R;
24: extern double *LP_t1;
25: extern double *LP_t2;
26: #endif
27:
28: #define LP_A(i,j) LP_A[j][i]
29: #define LP_OPT 0
30: #define LP_UNBD 1
31: #define LP_FAIL -1
32:
33: void LP_get_space(int M, int N);
34: void LP_free_space();
35: void LP_print();
36: int Rsimp(int m, int n, double **A, double *b, double *c,
37: double *x, int *basis, int *nonbasis,
38: double **R, double **Q, double *t1, double *t2);
39:
40:
41:
42:
43:
44:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>