diff options
Diffstat (limited to 'native/include')
| -rw-r--r-- | native/include/linprog/solver.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/native/include/linprog/solver.h b/native/include/linprog/solver.h index 0129903..eb873b8 100644 --- a/native/include/linprog/solver.h +++ b/native/include/linprog/solver.h | |||
| @@ -24,15 +24,15 @@ public: | |||
| 24 | } | 24 | } |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | #if defined(CONFIG_HAVE_GLPK) | 27 | #if defined(CONFIG_HAVE_CPLEX) |
| 28 | 28 | ||
| 29 | #include "linprog/glpk.h" | 29 | #include "linprog/cplex.h" |
| 30 | #define linprog_solve(lp, vars) glpk_solve((lp), (vars)) | 30 | #define linprog_solve(lp, vars) cpx_solve((lp), (vars)) |
| 31 | 31 | ||
| 32 | #elif defined(CONFIG_HAVE_CPLEX) | 32 | #elif defined(CONFIG_HAVE_GLPK) |
| 33 | 33 | ||
| 34 | #include "linprog/cplex.h" | 34 | #include "linprog/glpk.h" |
| 35 | #define linprog_solve(lp, vars) cplex_solve((lp), (vars)) | 35 | #define linprog_solve(lp, vars) glpk_solve((lp), (vars)) |
| 36 | 36 | ||
| 37 | #else | 37 | #else |
| 38 | 38 | ||
