COIN-OR::LEMON - Graph Library

Changeset 461:08d495d48089 in lemon-1.2 for lemon/lp.h


Ignore:
Timestamp:
01/12/09 13:26:01 (15 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Remove lp_ prefix from the solver's header name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp.h

    r459 r461  
    2424
    2525#ifdef HAVE_GLPK
    26 #include <lemon/lp_glpk.h>
     26#include <lemon/glpk.h>
    2727#elif HAVE_CPLEX
    28 #include <lemon/lp_cplex.h>
     28#include <lemon/cplex.h>
    2929#elif HAVE_SOPLEX
    30 #include <lemon/lp_soplex.h>
     30#include <lemon/soplex.h>
    3131#elif HAVE_CLP
    32 #include <lemon/lp_clp.h>
     32#include <lemon/clp.h>
    3333#endif
    3434
     
    4444  ///\ingroup lp_group
    4545  ///
    46   ///Currently, the possible values are \c LP_GLPK, \c LP_CPLEX, \c
    47   ///LP_SOPLEX or \c LP_CLP
     46  ///Currently, the possible values are \c GLPK, \c CPLEX,
     47  ///\c SOPLEX or \c CLP
    4848#define LEMON_DEFAULT_LP SOLVER
    4949  ///The default LP solver
     
    6060  ///\ingroup lp_group
    6161  ///
    62   ///Currently, the possible values are \c MIP_GLPK or \c MIP_CPLEX
     62  ///Currently, the possible values are \c GLPK or \c CPLEX
    6363#define LEMON_DEFAULT_MIP SOLVER
    6464  ///The default MIP solver.
     
    7171#else
    7272#ifdef HAVE_GLPK
    73 # define LEMON_DEFAULT_LP LP_GLPK
     73# define LEMON_DEFAULT_LP GLPK
    7474  typedef LpGlpk Lp;
    75 # define LEMON_DEFAULT_MIP MIP_GLPK
     75# define LEMON_DEFAULT_MIP GLPK
    7676  typedef MipGlpk Mip;
    7777#elif HAVE_CPLEX
    78 # define LEMON_DEFAULT_LP LP_CPLEX
     78# define LEMON_DEFAULT_LP CPLEX
    7979  typedef LpCplex Lp;
    80 # define LEMON_DEFAULT_MIP MIP_CPLEX
     80# define LEMON_DEFAULT_MIP CPLEX
    8181  typedef MipCplex Mip;
    8282#elif HAVE_SOPLEX
    83 # define DEFAULT_LP LP_SOPLEX
     83# define DEFAULT_LP SOPLEX
    8484  typedef LpSoplex Lp;
    8585#elif HAVE_CLP
    86 # define DEFAULT_LP LP_CLP
     86# define DEFAULT_LP CLP
    8787  typedef LpClp Lp; 
    8888#endif
Note: See TracChangeset for help on using the changeset viewer.