00001 /* $Id: CbcHeuristicDiveVectorLength.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 CbcHeuristicDiveVectorLength_H 00005 #define CbcHeuristicDiveVectorLength_H 00006 00007 #include "CbcHeuristicDive.hpp" 00008 00012 class CbcHeuristicDiveVectorLength : public CbcHeuristicDive { 00013 public: 00014 00015 // Default Constructor 00016 CbcHeuristicDiveVectorLength (); 00017 00018 // Constructor with model - assumed before cuts 00019 CbcHeuristicDiveVectorLength (CbcModel & model); 00020 00021 // Copy constructor 00022 CbcHeuristicDiveVectorLength ( const CbcHeuristicDiveVectorLength &); 00023 00024 // Destructor 00025 ~CbcHeuristicDiveVectorLength (); 00026 00028 virtual CbcHeuristicDiveVectorLength * clone() const; 00029 00031 CbcHeuristicDiveVectorLength & operator=(const CbcHeuristicDiveVectorLength& rhs); 00032 00034 virtual void generateCpp( FILE * fp) ; 00035 00037 00042 virtual bool selectVariableToBranch(OsiSolverInterface* solver, 00043 const double* newSolution, 00044 int& bestColumn, 00045 int& bestRound); 00046 00047 }; 00048 00049 #endif 00050