equal
deleted
inserted
replaced
21 |
21 |
22 #include<lemon/config.h> |
22 #include<lemon/config.h> |
23 |
23 |
24 #ifdef HAVE_GLPK |
24 #ifdef HAVE_GLPK |
25 #include <lemon/lp_glpk.h> |
25 #include <lemon/lp_glpk.h> |
|
26 #include <lemon/mip_glpk.h> |
26 #elif HAVE_CPLEX |
27 #elif HAVE_CPLEX |
27 #include <lemon/lp_cplex.h> |
28 #include <lemon/lp_cplex.h> |
28 #endif |
29 #endif |
29 |
30 |
30 ///\file |
31 ///\file |
52 ///The default LP solver identifier string. |
53 ///The default LP solver identifier string. |
53 ///\ingroup gen_opt_group |
54 ///\ingroup gen_opt_group |
54 /// |
55 /// |
55 ///Currently, the possible values are "GLPK" or "CPLEX" |
56 ///Currently, the possible values are "GLPK" or "CPLEX" |
56 const char default_solver_name[]="SOLVER"; |
57 const char default_solver_name[]="SOLVER"; |
|
58 |
|
59 ///The default ILP solver. |
|
60 |
|
61 ///The default ILP solver. |
|
62 ///\ingroup gen_opt_group |
|
63 /// |
|
64 ///Currently, it is either \c LpGlpk or \c LpCplex |
|
65 typedef MipGlpk Mip; |
57 #else |
66 #else |
58 #ifdef HAVE_GLPK |
67 #ifdef HAVE_GLPK |
59 #define DEFAULT_LP GLPK |
68 #define DEFAULT_LP GLPK |
60 typedef LpGlpk Lp; |
69 typedef LpGlpk Lp; |
|
70 typedef MipGlpk Mip; |
61 const char default_solver_name[]="GLPK"; |
71 const char default_solver_name[]="GLPK"; |
62 #elif HAVE_CPLEX |
72 #elif HAVE_CPLEX |
63 #define DEFAULT_LP CPLEX |
73 #define DEFAULT_LP CPLEX |
64 typedef LpCplex Lp; |
74 typedef LpCplex Lp; |
65 const char default_solver_name[]="CPLEX"; |
75 const char default_solver_name[]="CPLEX"; |