Bonmin  1.7
BonDummyPump.hpp
Go to the documentation of this file.
00001 // (C) Copyright CNRS
00002 // This code is published under the Common Public License.
00003 //
00004 // Authors :
00005 // Pierre Bonami, LIF Université de la Méditérannée-CNRS
00006 //
00007 // Date : 06/18/2008
00008 
00009 #ifndef BonDummyPump_H
00010 #define BonDummyPump_H
00011 #include "BonLocalSolverBasedHeuristic.hpp"
00012 
00013 namespace Bonmin {
00014   class DummyPump:public LocalSolverBasedHeuristic {
00015     public:
00017      DummyPump();
00019     DummyPump(BonminSetup * setup);
00020 
00022      DummyPump(const DummyPump &other);
00024      virtual CbcHeuristic * clone() const{
00025       return new DummyPump(*this);
00026      }
00027 
00029      virtual ~DummyPump();
00030 
00032      int solution(double & objectiveValue,
00033                   double * newSolution);
00035    static void registerOptions(Ipopt::SmartPtr<Bonmin::RegisteredOptions> roptions);
00036 
00038    void Initialize(Ipopt::SmartPtr<Ipopt::OptionsList> options);
00039   };
00040 
00041 }/* Ends Bonmin namepace.*/
00042 #endif
00043