Bonmin  1.7
BonPumpForMinlp.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 : 02/18/2009
00008 
00009 #ifndef BonPumpForMinlp_H
00010 #define BonPumpForMinlp_H
00011 #include "BonLocalSolverBasedHeuristic.hpp"
00012 
00013 namespace Bonmin {
00014   class PumpForMinlp:public LocalSolverBasedHeuristic {
00015     public:
00017      PumpForMinlp();
00019     PumpForMinlp(BonminSetup * setup);
00020 
00022      PumpForMinlp(const PumpForMinlp &other);
00024      virtual CbcHeuristic * clone() const{
00025       return new PumpForMinlp(*this);
00026      }
00027 
00029      virtual ~PumpForMinlp();
00030 
00032      int solution(double & objectiveValue,
00033                   double * newSolution);
00035    static void registerOptions(Ipopt::SmartPtr<Bonmin::RegisteredOptions> roptions);
00036 
00038    virtual void setupDefaults(Ipopt::SmartPtr<Ipopt::OptionsList> options);
00040    void Initialize(Ipopt::SmartPtr<Ipopt::OptionsList> options);
00041   };
00042 
00043 }/* Ends Bonmin namepace.*/
00044 #endif
00045