1 /* -*- mode: C++; indent-tabs-mode: nil; -*-
3 * This file is a part of LEMON, a generic C++ optimization library.
5 * Copyright (C) 2003-2013
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
22 #include<lemon/config.h>
25 #ifdef LEMON_HAVE_GLPK
26 #include <lemon/glpk.h>
27 #elif LEMON_HAVE_CPLEX
28 #include <lemon/cplex.h>
29 #elif LEMON_HAVE_SOPLEX
30 #include <lemon/soplex.h>
32 #include <lemon/clp.h>
36 ///\brief Defines a default LP solver
41 ///The default LP solver identifier
43 ///The default LP solver identifier.
46 ///Currently, the possible values are \c GLPK, \c CPLEX,
47 ///\c SOPLEX or \c CLP
48 #define LEMON_DEFAULT_LP SOLVER
49 ///The default LP solver
51 ///The default LP solver.
54 ///Currently, it is either \c GlpkLp, \c CplexLp, \c SoplexLp or \c ClpLp
57 ///The default MIP solver identifier
59 ///The default MIP solver identifier.
62 ///Currently, the possible values are \c GLPK, \c CPLEX or \c CBC
63 #define LEMON_DEFAULT_MIP SOLVER
64 ///The default MIP solver.
66 ///The default MIP solver.
69 ///Currently, it is either \c GlpkMip, \c CplexMip , \c CbcMip
72 #if LEMON_DEFAULT_LP == GLPK
74 #elif LEMON_DEFAULT_LP == CPLEX
76 #elif LEMON_DEFAULT_LP == SOPLEX
78 #elif LEMON_DEFAULT_LP == CLP
81 #if LEMON_DEFAULT_MIP == GLPK
83 #elif LEMON_DEFAULT_MIP == CPLEX
85 #elif LEMON_DEFAULT_MIP == CBC