#include <CouenneBab.hpp>
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_ |
Definition at line 21 of file CouenneBab.hpp.
Couenne::CouenneBab::CouenneBab | ( | ) |
Constructor.
virtual Couenne::CouenneBab::~CouenneBab | ( | ) | [virtual] |
Destructor.
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().
CouenneProblem* Couenne::CouenneBab::problem_ [protected] |
Definition at line 46 of file CouenneBab.hpp.