COIN-OR::LEMON - Graph Library

Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r1305 r1300  
    1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
     1CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
    22
    33SET(PROJECT_NAME "LEMON")
  • lemon/config.h.in

    r1306 r1264  
    11#define LEMON_VERSION "@PROJECT_VERSION@"
    22#cmakedefine LEMON_HAVE_LONG_LONG 1
    3 
    43#cmakedefine LEMON_HAVE_LP 1
    54#cmakedefine LEMON_HAVE_MIP 1
     
    98#cmakedefine LEMON_HAVE_CLP 1
    109#cmakedefine LEMON_HAVE_CBC 1
    11 
    12 #define _LEMON_CPLEX 1
    13 #define _LEMON_CLP 2
    14 #define _LEMON_GLPK 3
    15 #define _LEMON_SOPLEX 4
    16 #define _LEMON_CBC 5
    17 
    18 #cmakedefine LEMON_DEFAULT_LP _LEMON_@LEMON_DEFAULT_LP@
    19 #cmakedefine LEMON_DEFAULT_MIP _LEMON_@LEMON_DEFAULT_MIP@
    20 
     10#cmakedefine LEMON_DEFAULT_LP @LEMON_DEFAULT_LP@
     11#cmakedefine LEMON_DEFAULT_MIP @LEMON_DEFAULT_MIP@
    2112#cmakedefine LEMON_USE_PTHREAD 1
    2213#cmakedefine LEMON_USE_WIN32_THREADS 1
  • lemon/lp.h

    r1306 r1300  
    4646  ///\ingroup lp_group
    4747  ///
    48   ///Currently, the possible values are \c _LEMON_GLPK, \c LEMON__CPLEX,
    49   ///\c _LEMON_SOPLEX or \c LEMON__CLP
     48  ///Currently, the possible values are \c GLPK, \c CPLEX,
     49  ///\c SOPLEX or \c CLP
    5050#define LEMON_DEFAULT_LP SOLVER
    5151  ///The default LP solver
     
    6262  ///\ingroup lp_group
    6363  ///
    64   ///Currently, the possible values are \c _LEMON_GLPK, \c LEMON__CPLEX
    65   ///or \c _LEMON_CBC
     64  ///Currently, the possible values are \c GLPK, \c CPLEX or \c CBC
    6665#define LEMON_DEFAULT_MIP SOLVER
    6766  ///The default MIP solver.
     
    7372  typedef GlpkMip Mip;
    7473#else
    75 #if LEMON_DEFAULT_LP == _LEMON_GLPK
     74#if LEMON_DEFAULT_LP == GLPK
    7675  typedef GlpkLp Lp;
    77 #elif LEMON_DEFAULT_LP == _LEMON_CPLEX
     76#elif LEMON_DEFAULT_LP == CPLEX
    7877  typedef CplexLp Lp;
    79 #elif LEMON_DEFAULT_LP == _LEMON_SOPLEX
     78#elif LEMON_DEFAULT_LP == SOPLEX
    8079  typedef SoplexLp Lp;
    81 #elif LEMON_DEFAULT_LP == _LEMON_CLP
     80#elif LEMON_DEFAULT_LP == CLP
    8281  typedef ClpLp Lp;
    8382#endif
    84 #if LEMON_DEFAULT_MIP == _LEMON_GLPK
     83#if LEMON_DEFAULT_MIP == GLPK
    8584  typedef GlpkMip Mip;
    86 #elif LEMON_DEFAULT_MIP == _LEMON_CPLEX
     85#elif LEMON_DEFAULT_MIP == CPLEX
    8786  typedef CplexMip Mip;
    88 #elif LEMON_DEFAULT_MIP == _LEMON_CBC
     87#elif LEMON_DEFAULT_MIP == CBC
    8988  typedef CbcMip Mip;
    9089#endif
Note: See TracChangeset for help on using the changeset viewer.