summaryrefslogtreecommitdiff
path: root/newstructure/thirdparty/linux/include/coin/BonOACutGenerator2.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/BonOACutGenerator2.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/BonOACutGenerator2.hpp')
-rw-r--r--newstructure/thirdparty/linux/include/coin/BonOACutGenerator2.hpp56
1 files changed, 0 insertions, 56 deletions
diff --git a/newstructure/thirdparty/linux/include/coin/BonOACutGenerator2.hpp b/newstructure/thirdparty/linux/include/coin/BonOACutGenerator2.hpp
deleted file mode 100644
index c098c9b..0000000
--- a/newstructure/thirdparty/linux/include/coin/BonOACutGenerator2.hpp
+++ /dev/null
@@ -1,56 +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 BonOACutGenerator2_HPP
-#define BonOACutGenerator2_HPP
-#include "BonOaDecBase.hpp"
-
-namespace Bonmin
-{
- /** Class to perform OA in its classical form.*/
- class OACutGenerator2 : public OaDecompositionBase
- {
- public:
- /// Constructor with basic setup
- OACutGenerator2(BabSetupBase & b);
-
- /// Copy constructor
- OACutGenerator2(const OACutGenerator2 &copy)
- :
- OaDecompositionBase(copy),
- subMip_(new SubMipSolver (*copy.subMip_))
- {}
- /// Destructor
- ~OACutGenerator2();
-
- void setStrategy(const CbcStrategy & strategy)
- {
- parameters_.setStrategy(strategy);
- }
-
- virtual CglCutGenerator * clone() const
- {
- return new OACutGenerator2(*this);
- }
- /** Register OA options.*/
- static void registerOptions(Ipopt::SmartPtr<Bonmin::RegisteredOptions> roptions);
-
- protected:
- /// virtual method which performs the OA algorithm by modifying lp and nlp.
- virtual double performOa(OsiCuts & cs, solverManip &lpManip,
- BabInfo * babInfo, double &cutoff, const CglTreeInfo & info) const;
- /// virutal method to decide if local search is performed
- virtual bool doLocalSearch(BabInfo * babInfo) const;
-
- private:
- SubMipSolver * subMip_;
- };
-}
-#endif