Changes in lemon/cplex.h [623:745e182d0139:485:9b082b3fb33f] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/cplex.h
r623 r485 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-200 95 * Copyright (C) 2003-2008 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 79 79 /// 80 80 /// This class implements the common interface of the CPLEX LP and 81 /// MIP solvers. 81 /// MIP solvers. 82 82 /// \ingroup lp_group 83 83 class CplexBase : virtual public LpBase { … … 145 145 virtual void _clear(); 146 146 147 virtual void _messageLevel(MessageLevel level);148 void _applyMessageLevel();149 150 bool _message_enabled;151 152 147 public: 153 148 154 149 /// Returns the used \c CplexEnv instance 155 150 const CplexEnv& env() const { return _env; } 156 157 /// \brief Returns the const cpxenv pointer158 151 /// 159 /// \note The cpxenv might be destructed with the solver.160 152 const cpxenv* cplexEnv() const { return _env.cplexEnv(); } 161 153 162 /// \brief Returns the const cpxenv pointer163 ///164 /// \note The cpxenv might be destructed with the solver.165 cpxenv* cplexEnv() { return _env.cplexEnv(); }166 167 /// Returns the cplex problem object168 154 cpxlp* cplexLp() { return _prob; } 169 /// Returns the cplex problem object170 155 const cpxlp* cplexLp() const { return _prob; } 171 156 … … 176 161 /// This class implements an interface for the CPLEX LP solver. 177 162 ///\ingroup lp_group 178 class CplexLp : public LpSolver, public CplexBase{163 class CplexLp : public CplexBase, public LpSolver { 179 164 public: 180 165 /// \e … … 186 171 /// \e 187 172 virtual ~CplexLp(); 188 189 /// \e190 virtual CplexLp* cloneSolver() const;191 /// \e192 virtual CplexLp* newSolver() const;193 173 194 174 private: … … 206 186 207 187 protected: 188 189 virtual CplexLp* _cloneSolver() const; 190 virtual CplexLp* _newSolver() const; 208 191 209 192 virtual const char* _solverName() const; … … 240 223 /// This class implements an interface for the CPLEX MIP solver. 241 224 ///\ingroup lp_group 242 class CplexMip : public MipSolver, public CplexBase{225 class CplexMip : public CplexBase, public MipSolver { 243 226 public: 244 227 /// \e … … 251 234 virtual ~CplexMip(); 252 235 253 /// \e 254 virtual CplexMip* cloneSolver() const; 255 /// \e 256 virtual CplexMip* newSolver() const; 257 258 protected: 259 236 protected: 237 238 virtual CplexMip* _cloneSolver() const; 239 virtual CplexMip* _newSolver() const; 260 240 261 241 virtual const char* _solverName() const;
Note: See TracChangeset
for help on using the changeset viewer.