summaryrefslogtreecommitdiff
path: root/newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp
diff options
context:
space:
mode:
authorHarpreet2016-09-03 00:36:51 +0530
committerHarpreet2016-09-03 00:36:51 +0530
commita0d9443af147e949c1e6a01ac24749d12593ec5b (patch)
tree1a1955c5482ae608fd7f618b06f4ecc6a0d39a23 /newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp
parent4b64cf486f5c999fd8167758cae27839f3b50848 (diff)
downloadFOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.gz
FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.bz2
FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.zip
cbcintlinprog added
Diffstat (limited to 'newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp')
-rw-r--r--newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp53
1 files changed, 0 insertions, 53 deletions
diff --git a/newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp b/newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp
deleted file mode 100644
index 5c3d7fa..0000000
--- a/newstructure/thirdparty/linux/include/coin/BonDummyHeuristic.hpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// (C) Copyright Carnegie Mellon University 2005
-// All Rights Reserved.
-// This code is published under the Eclipse Public License.
-//
-// Authors :
-// P. Bonami, Carnegie Mellon University
-//
-// Date : 05/26/2005
-
-#ifndef BonDummyHeuristic_HPP
-#define BonDummyHeuristic_HPP
-#include "BonOsiTMINLPInterface.hpp"
-
-#include "CbcHeuristic.hpp"
-namespace Bonmin
-{
- class DummyHeuristic : public CbcHeuristic
- {
- public:
- /// Default constructor
- DummyHeuristic(OsiTMINLPInterface * si = NULL);
- /// Usefull constructor
- DummyHeuristic(CbcModel &model, OsiTMINLPInterface * si = NULL);
- ///Copy constructor
- DummyHeuristic( const DummyHeuristic &copy):
- CbcHeuristic(copy),
- nlp_(copy.nlp_),
- knowsSolution(copy.knowsSolution)
- {}
- /// Set nlp_
- void setNlp(OsiTMINLPInterface * si);
- /// heuristic method
- virtual int solution(double &solutionValue, double *betterSolution);
- virtual int solution(double &solutionValue, double *betterSolution, OsiCuts & cs)
- {
- return solution(solutionValue, betterSolution);
- }
- virtual CbcHeuristic * clone()const
- {
- return new DummyHeuristic(*this);
- }
- virtual void resetModel(CbcModel*)
- {}
- virtual bool shouldHeurRun(int whereFrom){
- return true;}
- private:
- /// Pointer to the Ipopt interface
- OsiTMINLPInterface * nlp_;
- /// Do I have a solution?
- bool knowsSolution;
- };
-}
-#endif