Add soplex support to scripts/bootstrap.sh plus...
it checks whether cbc and soplex are installed at the given prefix.
1 /* -*- mode: C++; indent-tabs-mode: nil; -*-
3 * This file is a part of LEMON, a generic C++ optimization library.
5 * Copyright (C) 2003-2008
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 or \c CPLEX
63 #define LEMON_DEFAULT_MIP SOLVER
64 ///The default MIP solver.
66 ///The default MIP solver.
69 ///Currently, it is either \c GlpkMip or \c CplexMip
72 #ifdef LEMON_HAVE_GLPK
73 # define LEMON_DEFAULT_LP GLPK
75 # define LEMON_DEFAULT_MIP GLPK
77 #elif LEMON_HAVE_CPLEX
78 # define LEMON_DEFAULT_LP CPLEX
80 # define LEMON_DEFAULT_MIP CPLEX
82 #elif LEMON_HAVE_SOPLEX
83 # define DEFAULT_LP SOPLEX
86 # define DEFAULT_LP CLP