/home/coin/SVN-release/OS-2.2.0/Bonmin/src/Algorithms/OaGenerators/BonFpForMinlp.hpp

Go to the documentation of this file.
00001 // (C) Copyright CNRS 2008
00002 // All Rights Reserved.
00003 // This code is published under the Common Public License.
00004 //
00005 // Authors :
00006 // P. Bonami, CNRS
00007 //
00008 // Date : 02/13/2009
00009 
00010 #ifndef BonFpForMinlp_H
00011 #define BonFpForMinlp_H
00012 #include "BonOaDecBase.hpp"
00013 
00014 namespace Bonmin{
00015   class MinlpFeasPump : public OaDecompositionBase{
00016    public:
00018     MinlpFeasPump(BabSetupBase & b);
00019 
00021     MinlpFeasPump(const MinlpFeasPump &copy)
00022         :
00023         OaDecompositionBase(copy)
00024     {}
00026     ~MinlpFeasPump();
00027 
00028     void setStrategy(const CbcStrategy & strategy)
00029     {
00030       parameters_.setStrategy(strategy);
00031     }
00032 
00033     virtual CglCutGenerator * clone() const
00034     {
00035       return new MinlpFeasPump(*this);
00036     }
00038     static void registerOptions(Ipopt::SmartPtr<Bonmin::RegisteredOptions> roptions);
00039 
00040   protected:
00042     virtual double performOa(OsiCuts & cs, solverManip &lpManip,
00043         SubMipSolver * &subMip, BabInfo * babInfo, double &cutoff, const CglTreeInfo & info) const;
00045     virtual bool doLocalSearch(BabInfo * babInfo) const;
00047     void set_fp_objective(OsiSolverInterface &si, const double * colsol) const;
00048     
00049   };
00050 
00051 }/* End Namespace.*/
00052 
00053 #endif
00054 
00055 

Generated on Thu Aug 5 03:02:54 2010 by  doxygen 1.4.7