Cbc  2.10.5
 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 2465 2019-01-03 19:26:52Z unxusr $ */
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  // Default Constructor
17 
18  /* Constructor with model - assumed before cuts
19  Initial version does not do Lps
20  */
22 
23  // Copy constructor
25 
26  // Destructor
28 
30  virtual CbcHeuristic *clone() const;
31 
34 
36  virtual void generateCpp(FILE *fp);
37 
39  virtual void resetModel(CbcModel *model);
40 
42  virtual void setModel(CbcModel *model);
43 
49  virtual int solution(double &objectiveValue,
50  double *newSolution);
51 
52 protected:
53 };
54 
55 #endif
56 
57 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
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:100