Bonmin  1.7
Public Member Functions | Protected Attributes
Bonmin::BabInfo Class Reference

Bonmin class for passing info between components of branch-and-cuts. More...

#include <BonBabInfos.hpp>

Inheritance diagram for Bonmin::BabInfo:
Bonmin::AuxInfo

List of all members.

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).
BabbabPtr ()
 Pointer to the branch-and-bound algorithm (to access CbcModel).
bool hasSolution () const

Protected Attributes

BabbabPtr_
 Pointer to branch-and-bound algorithm.

Detailed Description

Bonmin class for passing info between components of branch-and-cuts.

Definition at line 19 of file BonBabInfos.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

References babPtr(), and babPtr_.

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.


Member Data Documentation

Pointer to branch-and-bound algorithm.

Definition at line 53 of file BonBabInfos.hpp.

Referenced by babPtr(), and setBabPtr().


The documentation for this class was generated from the following file: