lemon/cplex.h
changeset 680 257e91516e09
parent 551 9d0d7e20f76d
child 746 e4554cd6b2bf
equal deleted inserted replaced
3:822055e4b4a1 4:4471f107378e
   142     virtual void _setSense(Sense sense);
   142     virtual void _setSense(Sense sense);
   143     virtual Sense _getSense() const;
   143     virtual Sense _getSense() const;
   144 
   144 
   145     virtual void _clear();
   145     virtual void _clear();
   146 
   146 
       
   147     virtual void _messageLevel(MessageLevel level);
       
   148     void _applyMessageLevel();
       
   149 
       
   150     bool _message_enabled;
       
   151 
   147   public:
   152   public:
   148 
   153 
   149     /// Returns the used \c CplexEnv instance
   154     /// Returns the used \c CplexEnv instance
   150     const CplexEnv& env() const { return _env; }
   155     const CplexEnv& env() const { return _env; }
       
   156 
       
   157     /// \brief Returns the const cpxenv pointer
   151     ///
   158     ///
       
   159     /// \note The cpxenv might be destructed with the solver.
   152     const cpxenv* cplexEnv() const { return _env.cplexEnv(); }
   160     const cpxenv* cplexEnv() const { return _env.cplexEnv(); }
   153 
   161 
       
   162     /// \brief Returns the const cpxenv pointer
       
   163     ///
       
   164     /// \note The cpxenv might be destructed with the solver.
       
   165     cpxenv* cplexEnv() { return _env.cplexEnv(); }
       
   166 
       
   167     /// Returns the cplex problem object
   154     cpxlp* cplexLp() { return _prob; }
   168     cpxlp* cplexLp() { return _prob; }
       
   169     /// Returns the cplex problem object
   155     const cpxlp* cplexLp() const { return _prob; }
   170     const cpxlp* cplexLp() const { return _prob; }
   156 
   171 
   157   };
   172   };
   158 
   173 
   159   /// \brief Interface for the CPLEX LP solver
   174   /// \brief Interface for the CPLEX LP solver