CbcHeuristicPivotAndFix.hpp
Go to the documentation of this file.
1 /* $Id: CbcHeuristicPivotAndFix.hpp 1173 2009-06-04 09:44:10Z forrest $ */
2 // Copyright (C) 2008, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 #ifndef CbcHeuristicPivotAndFix_H
5 #define CbcHeuristicPivotAndFix_H
6 
7 #include "CbcHeuristic.hpp"
12 public:
13 
14  // Default Constructor
16 
17  /* Constructor with model - assumed before cuts
18  Initial version does not do Lps
19  */
21 
22  // Copy constructor
24 
25  // Destructor
27 
29  virtual CbcHeuristic * clone() const;
30 
33 
35  virtual void generateCpp( FILE * fp) ;
36 
38  virtual void resetModel(CbcModel * model);
39 
41  virtual void setModel(CbcModel * model);
42 
48  virtual int solution(double & objectiveValue,
49  double * newSolution);
50 
51 protected:
52 };
53 
54 
55 #endif
56 
virtual CbcHeuristic * clone() const
Clone.
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution.
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual int solution(double &objectiveValue, double *newSolution)=0
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets sol...
CbcHeuristicPivotAndFix & operator=(const CbcHeuristicPivotAndFix &rhs)
Assignment operator.
virtual void resetModel(CbcModel *model)
Resets stuff if model changes.
Heuristic base class.
virtual void setModel(CbcModel *model)
update model (This is needed if cliques update matrix etc)
Simple Branch and bound class.
Definition: CbcModel.hpp:98