/build/buildd/coinor-cbc-2.5.0/debian/tmp/usr/include/coin/CbcHeuristicDiveLineSearch.hpp
Go to the documentation of this file.
00001 /* $Id: CbcHeuristicDiveLineSearch.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 CbcHeuristicDiveLineSearch_H
00005 #define CbcHeuristicDiveLineSearch_H
00006 
00007 #include "CbcHeuristicDive.hpp"
00008 
00012 class CbcHeuristicDiveLineSearch : public CbcHeuristicDive {
00013 public:
00014 
00015     // Default Constructor
00016     CbcHeuristicDiveLineSearch ();
00017 
00018     // Constructor with model - assumed before cuts
00019     CbcHeuristicDiveLineSearch (CbcModel & model);
00020 
00021     // Copy constructor
00022     CbcHeuristicDiveLineSearch ( const CbcHeuristicDiveLineSearch &);
00023 
00024     // Destructor
00025     ~CbcHeuristicDiveLineSearch ();
00026 
00028     virtual CbcHeuristicDiveLineSearch * clone() const;
00029 
00031     CbcHeuristicDiveLineSearch & operator=(const CbcHeuristicDiveLineSearch& 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