# Couenne::CouenneBab Class Reference

`#include <CouenneBab.hpp>`

List of all members.

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

## 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:

- CouenneBab.hpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines