lemon-project-template-glpk
diff deps/glpk/src/amd/amd.h @ 9:33de93886c88
Import GLPK 4.47
author | Alpar Juttner <alpar@cs.elte.hu> |
---|---|
date | Sun, 06 Nov 2011 20:59:10 +0100 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/deps/glpk/src/amd/amd.h Sun Nov 06 20:59:10 2011 +0100 1.3 @@ -0,0 +1,67 @@ 1.4 +/* amd.h */ 1.5 + 1.6 +/* Written by Andrew Makhorin <mao@gnu.org>. */ 1.7 + 1.8 +#ifndef GLPAMD_H 1.9 +#define GLPAMD_H 1.10 + 1.11 +#define AMD_DATE "May 31, 2007" 1.12 +#define AMD_VERSION_CODE(main, sub) ((main) * 1000 + (sub)) 1.13 +#define AMD_MAIN_VERSION 2 1.14 +#define AMD_SUB_VERSION 2 1.15 +#define AMD_SUBSUB_VERSION 0 1.16 +#define AMD_VERSION AMD_VERSION_CODE(AMD_MAIN_VERSION, AMD_SUB_VERSION) 1.17 + 1.18 +#define AMD_CONTROL 5 1.19 +#define AMD_INFO 20 1.20 + 1.21 +#define AMD_DENSE 0 1.22 +#define AMD_AGGRESSIVE 1 1.23 + 1.24 +#define AMD_DEFAULT_DENSE 10.0 1.25 +#define AMD_DEFAULT_AGGRESSIVE 1 1.26 + 1.27 +#define AMD_STATUS 0 1.28 +#define AMD_N 1 1.29 +#define AMD_NZ 2 1.30 +#define AMD_SYMMETRY 3 1.31 +#define AMD_NZDIAG 4 1.32 +#define AMD_NZ_A_PLUS_AT 5 1.33 +#define AMD_NDENSE 6 1.34 +#define AMD_MEMORY 7 1.35 +#define AMD_NCMPA 8 1.36 +#define AMD_LNZ 9 1.37 +#define AMD_NDIV 10 1.38 +#define AMD_NMULTSUBS_LDL 11 1.39 +#define AMD_NMULTSUBS_LU 12 1.40 +#define AMD_DMAX 13 1.41 + 1.42 +#define AMD_OK 0 1.43 +#define AMD_OUT_OF_MEMORY (-1) 1.44 +#define AMD_INVALID (-2) 1.45 +#define AMD_OK_BUT_JUMBLED 1 1.46 + 1.47 +#define amd_order _glp_amd_order 1.48 +int amd_order(int n, const int Ap[], const int Ai[], int P[], 1.49 + double Control[], double Info[]); 1.50 + 1.51 +#define amd_2 _glp_amd_2 1.52 +void amd_2(int n, int Pe[], int Iw[], int Len[], int iwlen, int pfree, 1.53 + int Nv[], int Next[], int Last[], int Head[], int Elen[], 1.54 + int Degree[], int W[], double Control[], double Info[]); 1.55 + 1.56 +#define amd_valid _glp_amd_valid 1.57 +int amd_valid(int n_row, int n_col, const int Ap[], const int Ai[]); 1.58 + 1.59 +#define amd_defaults _glp_amd_defaults 1.60 +void amd_defaults(double Control[]); 1.61 + 1.62 +#define amd_control _glp_amd_control 1.63 +void amd_control(double Control[]); 1.64 + 1.65 +#define amd_info _glp_amd_info 1.66 +void amd_info(double Info[]); 1.67 + 1.68 +#endif 1.69 + 1.70 +/* eof */