Cbc  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
CbcHeuristicDiveFractional.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 CbcHeuristicDiveFractional_H
00007 #define CbcHeuristicDiveFractional_H
00008 
00009 #include "CbcHeuristicDive.hpp"
00010 
00014 class CbcHeuristicDiveFractional : public CbcHeuristicDive {
00015 public:
00016 
00017     // Default Constructor
00018     CbcHeuristicDiveFractional ();
00019 
00020     // Constructor with model - assumed before cuts
00021     CbcHeuristicDiveFractional (CbcModel & model);
00022 
00023     // Copy constructor
00024     CbcHeuristicDiveFractional ( const CbcHeuristicDiveFractional &);
00025 
00026     // Destructor
00027     ~CbcHeuristicDiveFractional ();
00028 
00030     virtual CbcHeuristicDiveFractional * clone() const;
00031 
00033     CbcHeuristicDiveFractional & operator=(const CbcHeuristicDiveFractional& 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 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines