#include <BonBabInfos.hpp>
Inheritance diagram for Bonmin::BabInfo:
Public Member Functions | |
BabInfo (int type) | |
Default constructor. | |
BabInfo (const OsiBabSolver &other) | |
Constructor from OsiBabSolver. | |
BabInfo (const BabInfo &other) | |
Copy constructor. | |
virtual | ~BabInfo () |
Destructor. | |
virtual OsiAuxInfo * | clone () const |
Virtual copy constructor. | |
void | setBabPtr (Bab *babPtr) |
Set pointer to the branch-and-bound algorithm (to access CbcModel). | |
Bab * | babPtr () |
Pointer to the branch-and-bound algorithm (to access CbcModel). | |
bool | hasSolution () const |
Protected Attributes | |
Bab * | babPtr_ |
Pointer to branch-and-bound algorithm. |
Definition at line 19 of file BonBabInfos.hpp.
Bonmin::BabInfo::BabInfo | ( | int | type | ) |
Bonmin::BabInfo::BabInfo | ( | const OsiBabSolver & | other | ) |
Bonmin::BabInfo::BabInfo | ( | const BabInfo & | other | ) |
Bonmin::BabInfo::~BabInfo | ( | ) | [virtual] |
OsiAuxInfo * Bonmin::BabInfo::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Reimplemented from Bonmin::AuxInfo.
Reimplemented in Bonmin::CouenneInfo.
Definition at line 38 of file BonBabInfos.cpp.
References BabInfo().
void Bonmin::BabInfo::setBabPtr | ( | Bab * | babPtr | ) | [inline] |
Set pointer to the branch-and-bound algorithm (to access CbcModel).
Definition at line 38 of file BonBabInfos.hpp.
References babPtr(), and babPtr_.
Referenced by Bonmin::Bab::branchAndBound().
Bab* Bonmin::BabInfo::babPtr | ( | ) | [inline] |
Pointer to the branch-and-bound algorithm (to access CbcModel).
Definition at line 44 of file BonBabInfos.hpp.
References babPtr_.
Referenced by Bonmin::OaNlpOptim::generateCuts(), Bonmin::OaDecompositionBase::generateCuts(), Bonmin::EcpCuts::generateCuts(), and setBabPtr().
bool Bonmin::BabInfo::hasSolution | ( | ) | const [inline] |
Definition at line 49 of file BonBabInfos.hpp.
Referenced by Bonmin::OaDecompositionBase::generateCuts().
Bab* Bonmin::BabInfo::babPtr_ [protected] |
Pointer to branch-and-bound algorithm.
Definition at line 53 of file BonBabInfos.hpp.
Referenced by babPtr(), and setBabPtr().