GamsCutGenerator.hpp

Go to the documentation of this file.
00001 // Copyright (C) GAMS Development 2006
00002 // All Rights Reserved.
00003 // This code is published under the Common Public License.
00004 //
00005 // $Id: GamsCutGenerator.hpp 297 2008-01-03 18:15:55Z stefan $
00006 //
00007 // Author: Stefan Vigerske
00008 
00009 #ifndef GAMSCUTGENERATOR_HPP_
00010 #define GAMSCUTGENERATOR_HPP_
00011 
00012 #include "GAMSlinksConfig.h"
00013 // from CoinUtils
00014 #include "CoinPragma.hpp"
00015 
00016 #include "GamsBCH.hpp"
00017 #include "CglCutGenerator.hpp"
00018 #include "CbcModel.hpp"
00019 
00020 class GamsCutGenerator : public CglCutGenerator {
00021 private:
00022         GamsBCH& bch;
00023         
00024         CbcModel*& modelptr;
00025 
00026 public:
00027         GamsCutGenerator(GamsBCH& bch_, CbcModel*& modelptr_);
00028         
00029         void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info) const;
00030         
00031         CglCutGenerator* clone() const; 
00032 };
00033 
00034 #endif /*GAMSCUTGENERATOR_HPP_*/

Generated on Tue Dec 30 03:01:24 2008 for GAMSlinks by  doxygen 1.4.7