00001 /* $Id: CbcHeuristicPivotAndFix.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 CbcHeuristicPivotAndFix_H 00005 #define CbcHeuristicPivotAndFix_H 00006 00007 #include "CbcHeuristic.hpp" 00011 class CbcHeuristicPivotAndFix : public CbcHeuristic { 00012 public: 00013 00014 // Default Constructor 00015 CbcHeuristicPivotAndFix (); 00016 00017 /* Constructor with model - assumed before cuts 00018 Initial version does not do Lps 00019 */ 00020 CbcHeuristicPivotAndFix (CbcModel & model); 00021 00022 // Copy constructor 00023 CbcHeuristicPivotAndFix ( const CbcHeuristicPivotAndFix &); 00024 00025 // Destructor 00026 ~CbcHeuristicPivotAndFix (); 00027 00029 virtual CbcHeuristic * clone() const; 00030 00032 CbcHeuristicPivotAndFix & operator=(const CbcHeuristicPivotAndFix& 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 00056