#include <CouenneBab.hpp>
Public Member Functions | |
CouenneBab () | |
Integer optimization return codes. | |
virtual | ~CouenneBab () |
Destructor. | |
void | setProblem (CouenneProblem *p) |
virtual void | branchAndBound (Bonmin::BabSetupBase &s) |
Carry out branch and bound. | |
const double * | bestSolution () const |
operator() performs the branchAndBound | |
double | bestObj () const |
return objective value of the bestSolution | |
double | bestBound () |
return Mip Status | |
Protected Attributes | |
CouenneProblem * | problem_ |
return the total number of nodes explored. |
Definition at line 25 of file CouenneBab.hpp.
Couenne::CouenneBab::CouenneBab | ( | ) |
Integer optimization return codes.
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 |
operator() performs the branchAndBound
operator() performs the branchAndBound 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 Mip Status
return the best known lower bound on the objective value
Definition at line 66 of file CouenneBab.hpp.
References bestObj().
CouenneProblem* Couenne::CouenneBab::problem_ [protected] |
return the total number of nodes explored.
return the total number of iterations in the last mip solved. returns the value of the continuous relaxation. virtual callback function to eventually modify objects for integer variable (replace with user set). This is called after CbcModel::findIntegers Get cbc model used to solve. Get cbc model used to solve as non-const, in case we want to change options before things happen Say that algorithm is using Couenne. Get value of usingCouenne variable.
Definition at line 118 of file CouenneBab.hpp.