Bonmin
1.7
|
Bonmin class for passing info between components of branch-and-cuts. More...
#include <BonBabInfos.hpp>
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. |
Bonmin class for passing info between components of branch-and-cuts.
Definition at line 19 of file BonBabInfos.hpp.
Bonmin::BabInfo::BabInfo | ( | int | type | ) |
Default constructor.
Bonmin::BabInfo::BabInfo | ( | const OsiBabSolver & | other | ) |
Constructor from OsiBabSolver.
Bonmin::BabInfo::BabInfo | ( | const BabInfo & | other | ) |
Copy constructor.
virtual Bonmin::BabInfo::~BabInfo | ( | ) | [virtual] |
Destructor.
virtual OsiAuxInfo* Bonmin::BabInfo::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Reimplemented from Bonmin::AuxInfo.
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.
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 setBabPtr().
bool Bonmin::BabInfo::hasSolution | ( | ) | const [inline] |
Definition at line 49 of file BonBabInfos.hpp.
Bab* Bonmin::BabInfo::babPtr_ [protected] |
Pointer to branch-and-bound algorithm.
Definition at line 53 of file BonBabInfos.hpp.
Referenced by babPtr(), and setBabPtr().