Cbc
trunk
|
00001 /* $Id$ */ 00002 // Copyright (C) 2008, International Business Machines 00003 // Corporation and others. All Rights Reserved. 00004 // This code is licensed under the terms of the Eclipse Public License (EPL). 00005 00006 #ifndef CbcHeuristicDiveCoefficient_H 00007 #define CbcHeuristicDiveCoefficient_H 00008 00009 #include "CbcHeuristicDive.hpp" 00010 00014 class CbcHeuristicDiveCoefficient : public CbcHeuristicDive { 00015 public: 00016 00017 // Default Constructor 00018 CbcHeuristicDiveCoefficient (); 00019 00020 // Constructor with model - assumed before cuts 00021 CbcHeuristicDiveCoefficient (CbcModel & model); 00022 00023 // Copy constructor 00024 CbcHeuristicDiveCoefficient ( const CbcHeuristicDiveCoefficient &); 00025 00026 // Destructor 00027 ~CbcHeuristicDiveCoefficient (); 00028 00030 virtual CbcHeuristicDiveCoefficient * clone() const; 00031 00033 CbcHeuristicDiveCoefficient & operator=(const CbcHeuristicDiveCoefficient& rhs); 00034 00036 virtual void generateCpp( FILE * fp) ; 00037 00039 00044 virtual bool selectVariableToBranch(OsiSolverInterface* solver, 00045 const double* newSolution, 00046 int& bestColumn, 00047 int& bestRound); 00048 00049 }; 00050 00051 #endif 00052