lemon/lp.h
branch1.3
changeset 1133 85d6e26096ef
parent 1113 62dba6c90f35
child 1135 5de6a70446f6
equal deleted inserted replaced
8:be0faab99bdf 9:1fd18f19a64c
    43   ///The default LP solver identifier
    43   ///The default LP solver identifier
    44 
    44 
    45   ///The default LP solver identifier.
    45   ///The default LP solver identifier.
    46   ///\ingroup lp_group
    46   ///\ingroup lp_group
    47   ///
    47   ///
    48   ///Currently, the possible values are \c GLPK, \c CPLEX,
    48   ///Currently, the possible values are \c _LEMON_GLPK, \c LEMON__CPLEX,
    49   ///\c SOPLEX or \c CLP
    49   ///\c _LEMON_SOPLEX or \c LEMON__CLP
    50 #define LEMON_DEFAULT_LP SOLVER
    50 #define LEMON_DEFAULT_LP SOLVER
    51   ///The default LP solver
    51   ///The default LP solver
    52 
    52 
    53   ///The default LP solver.
    53   ///The default LP solver.
    54   ///\ingroup lp_group
    54   ///\ingroup lp_group
    59   ///The default MIP solver identifier
    59   ///The default MIP solver identifier
    60 
    60 
    61   ///The default MIP solver identifier.
    61   ///The default MIP solver identifier.
    62   ///\ingroup lp_group
    62   ///\ingroup lp_group
    63   ///
    63   ///
    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
    65 #define LEMON_DEFAULT_MIP SOLVER
    66 #define LEMON_DEFAULT_MIP SOLVER
    66   ///The default MIP solver.
    67   ///The default MIP solver.
    67 
    68 
    68   ///The default MIP solver.
    69   ///The default MIP solver.
    69   ///\ingroup lp_group
    70   ///\ingroup lp_group
    70   ///
    71   ///
    71   ///Currently, it is either \c GlpkMip, \c CplexMip , \c CbcMip
    72   ///Currently, it is either \c GlpkMip, \c CplexMip , \c CbcMip
    72   typedef GlpkMip Mip;
    73   typedef GlpkMip Mip;
    73 #else
    74 #else
    74 #if LEMON_DEFAULT_LP == GLPK
    75 #if LEMON_DEFAULT_LP == _LEMON_GLPK
    75   typedef GlpkLp Lp;
    76   typedef GlpkLp Lp;
    76 #elif LEMON_DEFAULT_LP == CPLEX
    77 #elif LEMON_DEFAULT_LP == _LEMON_CPLEX
    77   typedef CplexLp Lp;
    78   typedef CplexLp Lp;
    78 #elif LEMON_DEFAULT_LP == SOPLEX
    79 #elif LEMON_DEFAULT_LP == _LEMON_SOPLEX
    79   typedef SoplexLp Lp;
    80   typedef SoplexLp Lp;
    80 #elif LEMON_DEFAULT_LP == CLP
    81 #elif LEMON_DEFAULT_LP == _LEMON_CLP
    81   typedef ClpLp Lp;
    82   typedef ClpLp Lp;
    82 #endif
    83 #endif
    83 #if LEMON_DEFAULT_MIP == GLPK
    84 #if LEMON_DEFAULT_MIP == _LEMON_GLPK
    84   typedef GlpkMip Mip;
    85   typedef GlpkMip Mip;
    85 #elif LEMON_DEFAULT_MIP == CPLEX
    86 #elif LEMON_DEFAULT_MIP == _LEMON_CPLEX
    86   typedef CplexMip Mip;
    87   typedef CplexMip Mip;
    87 #elif LEMON_DEFAULT_MIP == CBC
    88 #elif LEMON_DEFAULT_MIP == _LEMON_CBC
    88   typedef CbcMip Mip;
    89   typedef CbcMip Mip;
    89 #endif
    90 #endif
    90 #endif
    91 #endif
    91 
    92 
    92 } //namespace lemon
    93 } //namespace lemon