/home/coin/SVN-release/Cbc-2.4.2/Cbc/src/CbcHeuristicRandRound.hpp

Go to the documentation of this file.
00001 /* $Id: CbcHeuristicRandRound.hpp 1173 2009-06-04 09:44:10Z forrest $ */
00002 // Copyright (C) 2008, International Business Machines
00003 // Corporation and others.  All Rights Reserved.
00004 #ifndef CbcHeuristicRandRound_H
00005 #define CbcHeuristicRandRound_H
00006 
00007 #include "CbcHeuristic.hpp"
00011 class CbcHeuristicRandRound : public CbcHeuristic {
00012 public:
00013 
00014   // Default Constructor 
00015   CbcHeuristicRandRound ();
00016 
00017   /* Constructor with model - assumed before cuts
00018      Initial version does not do Lps
00019   */
00020   CbcHeuristicRandRound (CbcModel & model);
00021   
00022   // Copy constructor 
00023   CbcHeuristicRandRound ( const CbcHeuristicRandRound &);
00024    
00025   // Destructor 
00026   ~CbcHeuristicRandRound ();
00027   
00029   virtual CbcHeuristic * clone() const;
00030 
00032   CbcHeuristicRandRound & operator=(const CbcHeuristicRandRound& rhs);
00033 
00035   virtual void generateCpp( FILE * fp) ;
00036 
00038   virtual void resetModel(CbcModel * model);
00039 
00041   virtual void setModel(CbcModel * model);
00042   
00043   using CbcHeuristic::solution ;
00048   virtual int solution(double & objectiveValue,
00049                        double * newSolution);
00050 
00051 protected:
00052 };
00053 
00054 
00055 #endif

Generated on Sat May 22 03:07:43 2010 by  doxygen 1.4.7