Couenne
0.2
|
#include <CouenneBab.hpp>
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 | |
CouenneProblem * | problem_ |
Definition at line 21 of file CouenneBab.hpp.
Couenne::CouenneBab::CouenneBab | ( | ) |
Constructor.
|
virtual |
Destructor.
void Couenne::CouenneBab::setProblem | ( | CouenneProblem * | p | ) |
|
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().
|
inline |
return the best known lower bound on the objective value
Definition at line 42 of file CouenneBab.hpp.
References bestObj().
|
protected |
Definition at line 46 of file CouenneBab.hpp.