lemon-project-template-glpk

annotate 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
rev   line source
alpar@9 1 /* amd.h */
alpar@9 2
alpar@9 3 /* Written by Andrew Makhorin <mao@gnu.org>. */
alpar@9 4
alpar@9 5 #ifndef GLPAMD_H
alpar@9 6 #define GLPAMD_H
alpar@9 7
alpar@9 8 #define AMD_DATE "May 31, 2007"
alpar@9 9 #define AMD_VERSION_CODE(main, sub) ((main) * 1000 + (sub))
alpar@9 10 #define AMD_MAIN_VERSION 2
alpar@9 11 #define AMD_SUB_VERSION 2
alpar@9 12 #define AMD_SUBSUB_VERSION 0
alpar@9 13 #define AMD_VERSION AMD_VERSION_CODE(AMD_MAIN_VERSION, AMD_SUB_VERSION)
alpar@9 14
alpar@9 15 #define AMD_CONTROL 5
alpar@9 16 #define AMD_INFO 20
alpar@9 17
alpar@9 18 #define AMD_DENSE 0
alpar@9 19 #define AMD_AGGRESSIVE 1
alpar@9 20
alpar@9 21 #define AMD_DEFAULT_DENSE 10.0
alpar@9 22 #define AMD_DEFAULT_AGGRESSIVE 1
alpar@9 23
alpar@9 24 #define AMD_STATUS 0
alpar@9 25 #define AMD_N 1
alpar@9 26 #define AMD_NZ 2
alpar@9 27 #define AMD_SYMMETRY 3
alpar@9 28 #define AMD_NZDIAG 4
alpar@9 29 #define AMD_NZ_A_PLUS_AT 5
alpar@9 30 #define AMD_NDENSE 6
alpar@9 31 #define AMD_MEMORY 7
alpar@9 32 #define AMD_NCMPA 8
alpar@9 33 #define AMD_LNZ 9
alpar@9 34 #define AMD_NDIV 10
alpar@9 35 #define AMD_NMULTSUBS_LDL 11
alpar@9 36 #define AMD_NMULTSUBS_LU 12
alpar@9 37 #define AMD_DMAX 13
alpar@9 38
alpar@9 39 #define AMD_OK 0
alpar@9 40 #define AMD_OUT_OF_MEMORY (-1)
alpar@9 41 #define AMD_INVALID (-2)
alpar@9 42 #define AMD_OK_BUT_JUMBLED 1
alpar@9 43
alpar@9 44 #define amd_order _glp_amd_order
alpar@9 45 int amd_order(int n, const int Ap[], const int Ai[], int P[],
alpar@9 46 double Control[], double Info[]);
alpar@9 47
alpar@9 48 #define amd_2 _glp_amd_2
alpar@9 49 void amd_2(int n, int Pe[], int Iw[], int Len[], int iwlen, int pfree,
alpar@9 50 int Nv[], int Next[], int Last[], int Head[], int Elen[],
alpar@9 51 int Degree[], int W[], double Control[], double Info[]);
alpar@9 52
alpar@9 53 #define amd_valid _glp_amd_valid
alpar@9 54 int amd_valid(int n_row, int n_col, const int Ap[], const int Ai[]);
alpar@9 55
alpar@9 56 #define amd_defaults _glp_amd_defaults
alpar@9 57 void amd_defaults(double Control[]);
alpar@9 58
alpar@9 59 #define amd_control _glp_amd_control
alpar@9 60 void amd_control(double Control[]);
alpar@9 61
alpar@9 62 #define amd_info _glp_amd_info
alpar@9 63 void amd_info(double Info[]);
alpar@9 64
alpar@9 65 #endif
alpar@9 66
alpar@9 67 /* eof */