COIN-OR::LEMON - Graph Library

Changeset 1108:e00d7b681d8e in lemon-main


Ignore:
Timestamp:
04/08/14 15:43:12 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Amend:
38356530386365363838383930333838646236316663393863306565326235373233316262373565
Message:

Bugfix in default LP/MIP setting (#465)

The bug was introduced in [fc3854d936f7]

Location:
lemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/config.h.in

    r1088 r1108  
    11#define LEMON_VERSION "@PROJECT_VERSION@"
    22#cmakedefine LEMON_HAVE_LONG_LONG 1
     3
    34#cmakedefine LEMON_HAVE_LP 1
    45#cmakedefine LEMON_HAVE_MIP 1
     
    89#cmakedefine LEMON_HAVE_CLP 1
    910#cmakedefine LEMON_HAVE_CBC 1
    10 #cmakedefine LEMON_DEFAULT_LP @LEMON_DEFAULT_LP@
    11 #cmakedefine LEMON_DEFAULT_MIP @LEMON_DEFAULT_MIP@
     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
    1221#cmakedefine LEMON_USE_PTHREAD 1
    1322#cmakedefine LEMON_USE_WIN32_THREADS 1
  • lemon/lp.h

    r1105 r1108  
    4646  ///\ingroup lp_group
    4747  ///
    48   ///Currently, the possible values are \c GLPK, \c CPLEX,
    49   ///\c SOPLEX or \c CLP
     48  ///Currently, the possible values are \c _LEMON_GLPK, \c LEMON__CPLEX,
     49  ///\c _LEMON_SOPLEX or \c LEMON__CLP
    5050#define LEMON_DEFAULT_LP SOLVER
    5151  ///The default LP solver
     
    6262  ///\ingroup lp_group
    6363  ///
    64   ///Currently, the possible values are \c GLPK, \c CPLEX or \c CBC
     64  ///Currently, the possible values are \c _LEMON_GLPK, \c LEMON__CPLEX
     65  ///or \c _LEMON_CBC
    6566#define LEMON_DEFAULT_MIP SOLVER
    6667  ///The default MIP solver.
     
    7273  typedef GlpkMip Mip;
    7374#else
    74 #if LEMON_DEFAULT_LP == GLPK
     75#if LEMON_DEFAULT_LP == _LEMON_GLPK
    7576  typedef GlpkLp Lp;
    76 #elif LEMON_DEFAULT_LP == CPLEX
     77#elif LEMON_DEFAULT_LP == _LEMON_CPLEX
    7778  typedef CplexLp Lp;
    78 #elif LEMON_DEFAULT_LP == SOPLEX
     79#elif LEMON_DEFAULT_LP == _LEMON_SOPLEX
    7980  typedef SoplexLp Lp;
    80 #elif LEMON_DEFAULT_LP == CLP
     81#elif LEMON_DEFAULT_LP == _LEMON_CLP
    8182  typedef ClpLp Lp;
    8283#endif
    83 #if LEMON_DEFAULT_MIP == GLPK
     84#if LEMON_DEFAULT_MIP == _LEMON_GLPK
    8485  typedef GlpkMip Mip;
    85 #elif LEMON_DEFAULT_MIP == CPLEX
     86#elif LEMON_DEFAULT_MIP == _LEMON_CPLEX
    8687  typedef CplexMip Mip;
    87 #elif LEMON_DEFAULT_MIP == CBC
     88#elif LEMON_DEFAULT_MIP == _LEMON_CBC
    8889  typedef CbcMip Mip;
    8990#endif
Note: See TracChangeset for help on using the changeset viewer.