COIN-OR::LEMON - Graph Library

Changeset 485:9b082b3fb33f in lemon for lemon/cplex.h


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

Rename Lp*/Mip* to *Lp/*Mip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cplex.h

    r484 r485  
    161161  /// This class implements an interface for the CPLEX LP solver.
    162162  ///\ingroup lp_group
    163   class LpCplex : public CplexBase, public LpSolver {
    164   public:
    165     /// \e
    166     LpCplex();
    167     /// \e
    168     LpCplex(const CplexEnv&);
    169     /// \e
    170     LpCplex(const LpCplex&);
    171     /// \e
    172     virtual ~LpCplex();
     163  class CplexLp : public CplexBase, public LpSolver {
     164  public:
     165    /// \e
     166    CplexLp();
     167    /// \e
     168    CplexLp(const CplexEnv&);
     169    /// \e
     170    CplexLp(const CplexLp&);
     171    /// \e
     172    virtual ~CplexLp();
    173173
    174174  private:
     
    187187  protected:
    188188
    189     virtual LpCplex* _cloneSolver() const;
    190     virtual LpCplex* _newSolver() const;
     189    virtual CplexLp* _cloneSolver() const;
     190    virtual CplexLp* _newSolver() const;
    191191
    192192    virtual const char* _solverName() const;
     
    223223  /// This class implements an interface for the CPLEX MIP solver.
    224224  ///\ingroup lp_group
    225   class MipCplex : public CplexBase, public MipSolver {
    226   public:
    227     /// \e
    228     MipCplex();
    229     /// \e
    230     MipCplex(const CplexEnv&);
    231     /// \e
    232     MipCplex(const MipCplex&);
    233     /// \e
    234     virtual ~MipCplex();
    235 
    236   protected:
    237 
    238     virtual MipCplex* _cloneSolver() const;
    239     virtual MipCplex* _newSolver() const;
     225  class CplexMip : public CplexBase, public MipSolver {
     226  public:
     227    /// \e
     228    CplexMip();
     229    /// \e
     230    CplexMip(const CplexEnv&);
     231    /// \e
     232    CplexMip(const CplexMip&);
     233    /// \e
     234    virtual ~CplexMip();
     235
     236  protected:
     237
     238    virtual CplexMip* _cloneSolver() const;
     239    virtual CplexMip* _newSolver() const;
    240240
    241241    virtual const char* _solverName() const;
Note: See TracChangeset for help on using the changeset viewer.