[BACK]Return to Rsimp.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / TiGERS_0.9

File: [local] / OpenXM_contrib / TiGERS_0.9 / Attic / Rsimp.h (download)

Revision 1.1.1.1 (vendor branch), Sat Nov 27 10:58:42 1999 UTC (24 years, 5 months ago) by maekawa
Branch: TIGERS
CVS Tags: maekawa-ipv6, VERSION_0_9, RELEASE_20000124, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.1: +0 -0 lines

Import TiGERS 0.9

/*
** Rsimp.h                                 Birk Huber, 2/99 
** -- header file for Rsimp.c with  definitions of linear programming 
** -- data structure and basic implementation of revised simplex method.
**  
**
** TiGERS,  Toric Groebner Basis Enumeration by Reverse Search 
** copyright (c) 1999  Birk Huber
**
*/
#ifndef RSIMP_H
extern int LP_MAX_N;
extern int LP_MAX_M;
extern int LP_N;
extern int LP_M;
extern double **LP_A;
extern double *LP_B;
extern double *LP_C;
extern double *LP_X;
extern int *LP_Basis;
extern int *LP_NonBasis;
extern double **LP_Q;
extern double **LP_R;
extern double *LP_t1; 
extern double *LP_t2;
#endif

#define LP_A(i,j) LP_A[j][i]
#define LP_OPT 0
#define LP_UNBD 1
#define LP_FAIL -1

void LP_get_space(int M, int N);
void LP_free_space();
void LP_print();
int Rsimp(int m, int n, double **A, double *b, double *c,
      double *x, int *basis, int *nonbasis,
      double **R, double **Q, double *t1, double *t2);