GAMSlinks
0.4
Main Page
Classes
Files
File List
File Members
GAMSlinks
src
Cbc
GamsHeuristic.hpp
Go to the documentation of this file.
1
// Copyright (C) GAMS Development 2007
2
// All Rights Reserved.
3
// This code is published under the Common Public License.
4
//
5
// $Id: GamsHeuristic.hpp 374 2008-03-02 12:02:50Z stefan $
6
//
7
// Author: Stefan Vigerske
8
9
#ifndef GAMSHEURISTIC_HPP_
10
#define GAMSHEURISTIC_HPP_
11
12
#include "
GAMSlinksConfig.h
"
13
// from CoinUtils
14
#include "CoinPragma.hpp"
15
16
#include "
GamsBCH.hpp
"
17
#include "CbcHeuristic.hpp"
18
#include "CbcModel.hpp"
19
20
class
GamsHeuristic
:
public
CbcHeuristic {
21
private
:
22
GamsBCH
&
bch
;
23
24
25
public
:
26
GamsHeuristic
(
GamsBCH
& bch_);
27
28
CbcHeuristic*
clone
()
const
;
29
30
void
resetModel
(CbcModel *model);
31
36
int
solution
(
double
&objectiveValue,
double
*newSolution);
37
38
using
CbcHeuristic::solution;
39
};
40
41
#endif
/*GAMSHEURISTIC_HPP_*/
GAMSlinksConfig.h
GamsBCH.hpp
GamsHeuristic::bch
GamsBCH & bch
Definition:
GamsHeuristic.hpp:22
GamsHeuristic::solution
int solution(double &objectiveValue, double *newSolution)
Sets solution values if good, sets objective value.
GamsHeuristic::GamsHeuristic
GamsHeuristic(GamsBCH &bch_)
GamsHeuristic::clone
CbcHeuristic * clone() const
GamsHeuristic
Definition:
GamsHeuristic.hpp:20
GamsHeuristic::resetModel
void resetModel(CbcModel *model)
GamsBCH
Interface to GAMS BCH facility.
Definition:
GamsBCH.hpp:24
Generated by
1.8.5