Cbc  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
CbcHeuristicDiveGuided.hpp
Go to the documentation of this file.
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 CbcHeuristicDiveGuided_H
00007 #define CbcHeuristicDiveGuided_H
00008 
00009 #include "CbcHeuristicDive.hpp"
00010 
00014 class CbcHeuristicDiveGuided : public CbcHeuristicDive {
00015 public:
00016 
00017     // Default Constructor
00018     CbcHeuristicDiveGuided ();
00019 
00020     // Constructor with model - assumed before cuts
00021     CbcHeuristicDiveGuided (CbcModel & model);
00022 
00023     // Copy constructor
00024     CbcHeuristicDiveGuided ( const CbcHeuristicDiveGuided &);
00025 
00026     // Destructor
00027     ~CbcHeuristicDiveGuided ();
00028 
00030     virtual CbcHeuristicDiveGuided * clone() const;
00031 
00033     CbcHeuristicDiveGuided & operator=(const CbcHeuristicDiveGuided& rhs);
00034 
00036     virtual void generateCpp( FILE * fp) ;
00037 
00039     virtual bool canHeuristicRun();
00040 
00042 
00047     virtual bool selectVariableToBranch(OsiSolverInterface* solver,
00048                                         const double* newSolution,
00049                                         int& bestColumn,
00050                                         int& bestRound);
00051 
00052 };
00053 
00054 #endif
00055 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines