Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbcHeuristicPivotAndFix.hpp
Go to the documentation of this file.
1 /* $Id: CbcHeuristicPivotAndFix.hpp 1899 2013-04-09 18:12:08Z stefan $ */
2 // Copyright (C) 2008, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef CbcHeuristicPivotAndFix_H
7 #define CbcHeuristicPivotAndFix_H
8 
9 #include "CbcHeuristic.hpp"
14 public:
15 
16  // Default Constructor
18 
19  /* Constructor with model - assumed before cuts
20  Initial version does not do Lps
21  */
23 
24  // Copy constructor
26 
27  // Destructor
29 
31  virtual CbcHeuristic * clone() const;
32 
35 
37  virtual void generateCpp( FILE * fp) ;
38 
40  virtual void resetModel(CbcModel * model);
41 
43  virtual void setModel(CbcModel * model);
44 
50  virtual int solution(double & objectiveValue,
51  double * newSolution);
52 
53 protected:
54 };
55 
56 
57 #endif
58 
CbcHeuristicPivotAndFix & operator=(const CbcHeuristicPivotAndFix &rhs)
Assignment operator.
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual CbcHeuristic * clone() const
Clone.
Heuristic base class.
virtual int solution(double &objectiveValue, double *newSolution)
returns 0 if no solution, 1 if valid solution.
virtual void resetModel(CbcModel *model)
Resets stuff if model changes.
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...
virtual void setModel(CbcModel *model)
update model (This is needed if cliques update matrix etc)
Simple Branch and bound class.
Definition: CbcModel.hpp:101