GamsHeuristic.hpp

Go to the documentation of this file.
00001 // Copyright (C) GAMS Development 2007
00002 // All Rights Reserved.
00003 // This code is published under the Common Public License.
00004 //
00005 // $Id: GamsHeuristic.hpp 374 2008-03-02 12:02:50Z stefan $
00006 //
00007 // Author: Stefan Vigerske
00008 
00009 #ifndef GAMSHEURISTIC_HPP_
00010 #define GAMSHEURISTIC_HPP_
00011 
00012 #include "GAMSlinksConfig.h"
00013 // from CoinUtils
00014 #include "CoinPragma.hpp"
00015 
00016 #include "GamsBCH.hpp"
00017 #include "CbcHeuristic.hpp"
00018 #include "CbcModel.hpp"
00019 
00020 class GamsHeuristic : public CbcHeuristic {
00021 private:
00022         GamsBCH& bch;
00023         
00024 
00025 public:
00026         GamsHeuristic(GamsBCH& bch_);
00027         
00028         CbcHeuristic* clone() const;
00029         
00030         void resetModel(CbcModel *model);
00031         
00036         int solution(double &objectiveValue, double *newSolution);
00037         
00038         using CbcHeuristic::solution;
00039 };
00040 
00041 #endif /*GAMSHEURISTIC_HPP_*/

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