CbcHeuristicRENS.hpp

Go to the documentation of this file.
00001 // edwin 12/5/09 carved out of CbcHeuristicRINS
00002 #ifndef CbcHeuristicRENS_H
00003 #define CbcHeuristicRENS_H
00004 
00005 #include "CbcHeuristic.hpp"
00006 
00010 class CbcHeuristicRENS : public CbcHeuristic {
00011 public:
00012 
00013     // Default Constructor
00014     CbcHeuristicRENS ();
00015 
00016     /* Constructor with model - assumed before cuts
00017        Initial version does not do Lps
00018     */
00019     CbcHeuristicRENS (CbcModel & model);
00020 
00021     // Copy constructor
00022     CbcHeuristicRENS ( const CbcHeuristicRENS &);
00023 
00024     // Destructor
00025     ~CbcHeuristicRENS ();
00026 
00028     virtual CbcHeuristic * clone() const;
00029 
00030 
00032     CbcHeuristicRENS & operator=(const CbcHeuristicRENS& rhs);
00033 
00035     virtual void resetModel(CbcModel * model);
00036 
00038     virtual void setModel(CbcModel * model);
00039 
00040     using CbcHeuristic::solution ;
00046     virtual int solution(double & objectiveValue,
00047                          double * newSolution);
00048 
00050     inline void setRensType(int value)
00051     { rensType_ = value;}
00052 
00053 protected:
00054     // Data
00056     int numberTries_;
00064     int rensType_;
00065 };
00066 
00067 #endif
00068 

Generated on Tue Jun 14 23:14:02 2011 for Cbc by  doxygen 1.4.7