lemon/lp.h
changeset 542 fc6c7aab4b8d
parent 461 08d495d48089
child 627 20dac2104519
equal deleted inserted replaced
2:8d87b06bafa6 3:f920cda991dd
    49   ///The default LP solver
    49   ///The default LP solver
    50 
    50 
    51   ///The default LP solver.
    51   ///The default LP solver.
    52   ///\ingroup lp_group
    52   ///\ingroup lp_group
    53   ///
    53   ///
    54   ///Currently, it is either \c LpGlpk, \c LpCplex, \c LpSoplex or \c LpClp
    54   ///Currently, it is either \c GlpkLp, \c CplexLp, \c SoplexLp or \c ClpLp
    55   typedef LpGlpk Lp;
    55   typedef GlpkLp Lp;
    56 
    56 
    57   ///The default MIP solver identifier
    57   ///The default MIP solver identifier
    58 
    58 
    59   ///The default MIP solver identifier.
    59   ///The default MIP solver identifier.
    60   ///\ingroup lp_group
    60   ///\ingroup lp_group
    64   ///The default MIP solver.
    64   ///The default MIP solver.
    65 
    65 
    66   ///The default MIP solver.
    66   ///The default MIP solver.
    67   ///\ingroup lp_group
    67   ///\ingroup lp_group
    68   ///
    68   ///
    69   ///Currently, it is either \c MipGlpk or \c MipCplex
    69   ///Currently, it is either \c GlpkMip or \c CplexMip
    70   typedef MipGlpk Mip;
    70   typedef GlpkMip Mip;
    71 #else
    71 #else
    72 #ifdef HAVE_GLPK
    72 #ifdef HAVE_GLPK
    73 # define LEMON_DEFAULT_LP GLPK
    73 # define LEMON_DEFAULT_LP GLPK
    74   typedef LpGlpk Lp;
    74   typedef GlpkLp Lp;
    75 # define LEMON_DEFAULT_MIP GLPK
    75 # define LEMON_DEFAULT_MIP GLPK
    76   typedef MipGlpk Mip;
    76   typedef GlpkMip Mip;
    77 #elif HAVE_CPLEX
    77 #elif HAVE_CPLEX
    78 # define LEMON_DEFAULT_LP CPLEX
    78 # define LEMON_DEFAULT_LP CPLEX
    79   typedef LpCplex Lp;
    79   typedef CplexLp Lp;
    80 # define LEMON_DEFAULT_MIP CPLEX
    80 # define LEMON_DEFAULT_MIP CPLEX
    81   typedef MipCplex Mip;
    81   typedef CplexMip Mip;
    82 #elif HAVE_SOPLEX
    82 #elif HAVE_SOPLEX
    83 # define DEFAULT_LP SOPLEX
    83 # define DEFAULT_LP SOPLEX
    84   typedef LpSoplex Lp;
    84   typedef SoplexLp Lp;
    85 #elif HAVE_CLP
    85 #elif HAVE_CLP
    86 # define DEFAULT_LP CLP
    86 # define DEFAULT_LP CLP
    87   typedef LpClp Lp;  
    87   typedef ClpLp Lp;  
    88 #endif
    88 #endif
    89 #endif
    89 #endif
    90 
    90 
    91 } //namespace lemon
    91 } //namespace lemon
    92 
    92