lemon/cplex.h
changeset 598 a3402913cffe
parent 540 9db62975c32b
child 576 745e182d0139
equal deleted inserted replaced
2:e118dae32ec8 3:822055e4b4a1
     1 /* -*- mode: C++; indent-tabs-mode: nil; -*-
     1 /* -*- mode: C++; indent-tabs-mode: nil; -*-
     2  *
     2  *
     3  * This file is a part of LEMON, a generic C++ optimization library.
     3  * This file is a part of LEMON, a generic C++ optimization library.
     4  *
     4  *
     5  * Copyright (C) 2003-2008
     5  * Copyright (C) 2003-2009
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     8  *
     8  *
     9  * Permission to use, modify and distribute this software is granted
     9  * Permission to use, modify and distribute this software is granted
    10  * provided that this copyright notice appears in all copies. For
    10  * provided that this copyright notice appears in all copies. For
    76   };
    76   };
    77 
    77 
    78   /// \brief Base interface for the CPLEX LP and MIP solver
    78   /// \brief Base interface for the CPLEX LP and MIP solver
    79   ///
    79   ///
    80   /// This class implements the common interface of the CPLEX LP and
    80   /// This class implements the common interface of the CPLEX LP and
    81   /// MIP solvers.  
    81   /// MIP solvers.
    82   /// \ingroup lp_group
    82   /// \ingroup lp_group
    83   class CplexBase : virtual public LpBase {
    83   class CplexBase : virtual public LpBase {
    84   protected:
    84   protected:
    85 
    85 
    86     CplexEnv _env;
    86     CplexEnv _env;
   233     /// \e
   233     /// \e
   234     CplexMip(const CplexMip&);
   234     CplexMip(const CplexMip&);
   235     /// \e
   235     /// \e
   236     virtual ~CplexMip();
   236     virtual ~CplexMip();
   237 
   237 
   238   protected:
   238     /// \e
   239 
   239     virtual CplexMip* cloneSolver() const;
   240     virtual CplexMip* _cloneSolver() const;
   240     /// \e
   241     virtual CplexMip* _newSolver() const;
   241     virtual CplexMip* newSolver() const;
       
   242 
       
   243   protected:
       
   244 
   242 
   245 
   243     virtual const char* _solverName() const;
   246     virtual const char* _solverName() const;
   244 
   247 
   245     virtual ColTypes _getColType(int col) const;
   248     virtual ColTypes _getColType(int col) const;
   246     virtual void _setColType(int col, ColTypes col_type);
   249     virtual void _setColType(int col, ColTypes col_type);