equal
deleted
inserted
replaced
40 lx_glpk_test_prog=' |
40 lx_glpk_test_prog=' |
41 extern "C" { |
41 extern "C" { |
42 #include <glpk.h> |
42 #include <glpk.h> |
43 } |
43 } |
44 |
44 |
|
45 #if (GLP_MAJOR_VERSION < 4) \ |
|
46 || (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION < 33) |
|
47 #error Supported GLPK versions: 4.33 or above |
|
48 #endif |
|
49 |
45 int main(int argc, char** argv) |
50 int main(int argc, char** argv) |
46 { |
51 { |
47 LPX *lp; |
52 LPX *lp; |
48 lp = lpx_create_prob(); |
53 lp = lpx_create_prob(); |
49 lpx_delete_prob(lp); |
54 lpx_delete_prob(lp); |