Changeset 1286 for branches/sandbox/Cbc/src/CbcHeuristicRandRound.hpp
 Timestamp:
 Nov 9, 2009 6:33:07 PM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/sandbox/Cbc/src/CbcHeuristicRandRound.hpp
r1271 r1286 12 12 public: 13 13 14 // Default Constructor15 CbcHeuristicRandRound ();14 // Default Constructor 15 CbcHeuristicRandRound (); 16 16 17 /* Constructor with model  assumed before cuts 18 Initial version does not do Lps 19 */ 20 CbcHeuristicRandRound (CbcModel & model); 21 22 // Copy constructor 23 CbcHeuristicRandRound ( const CbcHeuristicRandRound &); 24 25 // Destructor 26 ~CbcHeuristicRandRound (); 27 28 /// Clone 29 virtual CbcHeuristic * clone() const; 17 /* Constructor with model  assumed before cuts 18 Initial version does not do Lps 19 */ 20 CbcHeuristicRandRound (CbcModel & model); 30 21 31 /// Assignment operator32 CbcHeuristicRandRound & operator=(const CbcHeuristicRandRound& rhs);22 // Copy constructor 23 CbcHeuristicRandRound ( const CbcHeuristicRandRound &); 33 24 34 /// Create C++ lines to get to current state35 virtual void generateCpp( FILE * fp);25 // Destructor 26 ~CbcHeuristicRandRound (); 36 27 37 /// Resets stuff if model changes38 virtual void resetModel(CbcModel * model);28 /// Clone 29 virtual CbcHeuristic * clone() const; 39 30 40 /// update model (This is needed if cliques update matrix etc) 41 virtual void setModel(CbcModel * model); 42 43 using CbcHeuristic::solution ; 44 /** returns 0 if no solution, 1 if valid solution. 45 Sets solution values if good, sets objective value (only if good) 46 needs comments 47 */ 48 virtual int solution(double & objectiveValue, 49 double * newSolution); 31 /// Assignment operator 32 CbcHeuristicRandRound & operator=(const CbcHeuristicRandRound& rhs); 33 34 /// Create C++ lines to get to current state 35 virtual void generateCpp( FILE * fp) ; 36 37 /// Resets stuff if model changes 38 virtual void resetModel(CbcModel * model); 39 40 /// update model (This is needed if cliques update matrix etc) 41 virtual void setModel(CbcModel * model); 42 43 using CbcHeuristic::solution ; 44 /** returns 0 if no solution, 1 if valid solution. 45 Sets solution values if good, sets objective value (only if good) 46 needs comments 47 */ 48 virtual int solution(double & objectiveValue, 49 double * newSolution); 50 50 51 51 protected:
Note: See TracChangeset
for help on using the changeset viewer.