00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef GAMSHEURISTIC_HPP_
00010 #define GAMSHEURISTIC_HPP_
00011
00012 #include "GAMSlinksConfig.h"
00013
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