Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Couenne::CouenneBab Class Reference

#include <CouenneBab.hpp>

Inheritance diagram for Couenne::CouenneBab:

Public Member Functions

 CouenneBab ()
 Constructor. More...
 
virtual ~CouenneBab ()
 Destructor. More...
 
void setProblem (CouenneProblem *p)
 
virtual void branchAndBound (Bonmin::BabSetupBase &s)
 Carry out branch and bound. More...
 
const double * bestSolution () const
 Get the best solution known to the problem (is optimal if MipStatus is FeasibleOptimal). More...
 
double bestObj () const
 Return objective value of the bestSolution. More...
 
double bestBound ()
 return the best known lower bound on the objective value More...
 

Protected Attributes

CouenneProblemproblem_
 

Detailed Description

Definition at line 21 of file CouenneBab.hpp.

Constructor & Destructor Documentation

Couenne::CouenneBab::CouenneBab ( )

Constructor.

virtual Couenne::CouenneBab::~CouenneBab ( )
virtual

Destructor.

Member Function Documentation

void Couenne::CouenneBab::setProblem ( CouenneProblem p)
virtual void Couenne::CouenneBab::branchAndBound ( Bonmin::BabSetupBase &  s)
virtual

Carry out branch and bound.

const double* Couenne::CouenneBab::bestSolution ( ) const

Get the best solution known to the problem (is optimal if MipStatus is FeasibleOptimal).

If no solution is known returns NULL.

double Couenne::CouenneBab::bestObj ( ) const

Return objective value of the bestSolution.

Referenced by bestBound().

double Couenne::CouenneBab::bestBound ( )
inline

return the best known lower bound on the objective value

Definition at line 42 of file CouenneBab.hpp.

References bestObj().

Member Data Documentation

CouenneProblem* Couenne::CouenneBab::problem_
protected

Definition at line 46 of file CouenneBab.hpp.


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