summaryrefslogtreecommitdiff
path: root/build/Bonmin/include/coin/CbcPartialNodeInfo.hpp
diff options
context:
space:
mode:
authorHarpreet2016-09-03 00:34:27 +0530
committerHarpreet2016-09-03 00:34:27 +0530
commit4b64cf486f5c999fd8167758cae27839f3b50848 (patch)
treed9d06639fb7fa61aef59be0363655e4747105ec7 /build/Bonmin/include/coin/CbcPartialNodeInfo.hpp
parentd19794fb80a271a4c885ed90f97cfc12baa012f2 (diff)
downloadFOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.tar.gz
FOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.tar.bz2
FOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.zip
Structure updated and intqpipopt files added
Diffstat (limited to 'build/Bonmin/include/coin/CbcPartialNodeInfo.hpp')
-rw-r--r--build/Bonmin/include/coin/CbcPartialNodeInfo.hpp110
1 files changed, 0 insertions, 110 deletions
diff --git a/build/Bonmin/include/coin/CbcPartialNodeInfo.hpp b/build/Bonmin/include/coin/CbcPartialNodeInfo.hpp
deleted file mode 100644
index 446a3eb..0000000
--- a/build/Bonmin/include/coin/CbcPartialNodeInfo.hpp
+++ /dev/null
@@ -1,110 +0,0 @@
-// $Id: CbcPartialNodeInfo.hpp 1899 2013-04-09 18:12:08Z stefan $
-// Copyright (C) 2002, International Business Machines
-// Corporation and others. All Rights Reserved.
-// This code is licensed under the terms of the Eclipse Public License (EPL).
-
-// Edwin 11/24/09 carved from CbcNode
-
-#ifndef CbcPartialNodeInfo_H
-#define CbcPartialNodeInfo_H
-
-#include <string>
-#include <vector>
-
-#include "CoinWarmStartBasis.hpp"
-#include "CoinSearchTree.hpp"
-#include "CbcBranchBase.hpp"
-#include "CbcNodeInfo.hpp"
-
-class OsiSolverInterface;
-class OsiSolverBranch;
-
-class OsiCuts;
-class OsiRowCut;
-class OsiRowCutDebugger;
-class CoinWarmStartBasis;
-class CbcCountRowCut;
-class CbcModel;
-class CbcNode;
-class CbcSubProblem;
-class CbcGeneralBranchingObject;
-/** \brief Holds information for recreating a subproblem by incremental change
- from the parent.
-
- A CbcPartialNodeInfo object contains changes to the bounds and basis, and
- additional cuts, required to recreate a subproblem by modifying and
- augmenting the parent subproblem.
-*/
-
-class CbcPartialNodeInfo : public CbcNodeInfo {
-
-public:
-
- /** \brief Modify model according to information at node
-
- The routine modifies the model according to bound and basis change
- information at node and adds any cuts to the addCuts array.
- */
- virtual void applyToModel (CbcModel *model, CoinWarmStartBasis *&basis,
- CbcCountRowCut **addCuts,
- int &currentNumberCuts) const ;
-
- /// Just apply bounds to one variable - force means overwrite by lower,upper (1=>infeasible)
- virtual int applyBounds(int iColumn, double & lower, double & upper, int force) ;
- /** Builds up row basis backwards (until original model).
- Returns NULL or previous one to apply .
- Depends on Free being 0 and impossible for cuts
- */
- virtual CbcNodeInfo * buildRowBasis(CoinWarmStartBasis & basis ) const ;
- // Default Constructor
- CbcPartialNodeInfo ();
-
- // Constructor from current state
- CbcPartialNodeInfo (CbcNodeInfo * parent, CbcNode * owner,
- int numberChangedBounds, const int * variables,
- const double * boundChanges,
- const CoinWarmStartDiff *basisDiff) ;
-
- // Copy constructor
- CbcPartialNodeInfo ( const CbcPartialNodeInfo &);
-
- // Destructor
- ~CbcPartialNodeInfo ();
-
- /// Clone
- virtual CbcNodeInfo * clone() const;
- /// Basis diff information
- inline const CoinWarmStartDiff *basisDiff() const {
- return basisDiff_ ;
- }
- /// Which variable (top bit if upper bound changing)
- inline const int * variables() const {
- return variables_;
- }
- // New bound
- inline const double * newBounds() const {
- return newBounds_;
- }
- /// Number of bound changes
- inline int numberChangedBounds() const {
- return numberChangedBounds_;
- }
-protected:
- /* Data values */
-
- /// Basis diff information
- CoinWarmStartDiff *basisDiff_ ;
- /// Which variable (top bit if upper bound changing)
- int * variables_;
- // New bound
- double * newBounds_;
- /// Number of bound changes
- int numberChangedBounds_;
-private:
-
- /// Illegal Assignment operator
- CbcPartialNodeInfo & operator=(const CbcPartialNodeInfo& rhs);
-};
-
-#endif //CbcPartialNodeInfo_H
-