lemon/lp.h
changeset 945 2024bf2ecdd6
parent 462 9b082b3fb33f
child 877 141f9c0db4a3
equal deleted inserted replaced
3:f920cda991dd 4:042de500934d
    20 #define LEMON_LP_H
    20 #define LEMON_LP_H
    21 
    21 
    22 #include<lemon/config.h>
    22 #include<lemon/config.h>
    23 
    23 
    24 
    24 
    25 #ifdef HAVE_GLPK
    25 #ifdef LEMON_HAVE_GLPK
    26 #include <lemon/glpk.h>
    26 #include <lemon/glpk.h>
    27 #elif HAVE_CPLEX
    27 #elif LEMON_HAVE_CPLEX
    28 #include <lemon/cplex.h>
    28 #include <lemon/cplex.h>
    29 #elif HAVE_SOPLEX
    29 #elif LEMON_HAVE_SOPLEX
    30 #include <lemon/soplex.h>
    30 #include <lemon/soplex.h>
    31 #elif HAVE_CLP
    31 #elif LEMON_HAVE_CLP
    32 #include <lemon/clp.h>
    32 #include <lemon/clp.h>
    33 #endif
    33 #endif
    34 
    34 
    35 ///\file
    35 ///\file
    36 ///\brief Defines a default LP solver
    36 ///\brief Defines a default LP solver
    67   ///\ingroup lp_group
    67   ///\ingroup lp_group
    68   ///
    68   ///
    69   ///Currently, it is either \c GlpkMip or \c CplexMip
    69   ///Currently, it is either \c GlpkMip or \c CplexMip
    70   typedef GlpkMip Mip;
    70   typedef GlpkMip Mip;
    71 #else
    71 #else
    72 #ifdef HAVE_GLPK
    72 #ifdef LEMON_HAVE_GLPK
    73 # define LEMON_DEFAULT_LP GLPK
    73 # define LEMON_DEFAULT_LP GLPK
    74   typedef GlpkLp Lp;
    74   typedef GlpkLp Lp;
    75 # define LEMON_DEFAULT_MIP GLPK
    75 # define LEMON_DEFAULT_MIP GLPK
    76   typedef GlpkMip Mip;
    76   typedef GlpkMip Mip;
    77 #elif HAVE_CPLEX
    77 #elif LEMON_HAVE_CPLEX
    78 # define LEMON_DEFAULT_LP CPLEX
    78 # define LEMON_DEFAULT_LP CPLEX
    79   typedef CplexLp Lp;
    79   typedef CplexLp Lp;
    80 # define LEMON_DEFAULT_MIP CPLEX
    80 # define LEMON_DEFAULT_MIP CPLEX
    81   typedef CplexMip Mip;
    81   typedef CplexMip Mip;
    82 #elif HAVE_SOPLEX
    82 #elif LEMON_HAVE_SOPLEX
    83 # define DEFAULT_LP SOPLEX
    83 # define DEFAULT_LP SOPLEX
    84   typedef SoplexLp Lp;
    84   typedef SoplexLp Lp;
    85 #elif HAVE_CLP
    85 #elif LEMON_HAVE_CLP
    86 # define DEFAULT_LP CLP
    86 # define DEFAULT_LP CLP
    87   typedef ClpLp Lp;  
    87   typedef ClpLp Lp;  
    88 #endif
    88 #endif
    89 #endif
    89 #endif
    90 
    90