#include <CouenneBab.hpp>
Public Member Functions | |
CouenneBab () | |
Integer optimization return codes. | |
virtual | ~CouenneBab () |
Destructor. | |
virtual void | branchAndBound (Bonmin::BabSetupBase &s) |
Carry out branch and bound. | |
const double * | bestSolution () const |
operator() performs the branchAndBound | |
void | setProblem (CouenneProblem *p) |
double | bestObj () const |
return objective value of the bestSolution | |
Protected Attributes | |
CouenneProblem * | problem_ |
return Mip Status |
Definition at line 25 of file CouenneBab.hpp.
Couenne::CouenneBab::CouenneBab | ( | ) |
Integer optimization return codes.
Constructor
virtual Couenne::CouenneBab::~CouenneBab | ( | ) | [virtual] |
Destructor.
virtual void Couenne::CouenneBab::branchAndBound | ( | Bonmin::BabSetupBase & | s | ) | [virtual] |
Carry out branch and bound.
const double* Couenne::CouenneBab::bestSolution | ( | ) | const [inline] |
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.
Definition at line 52 of file CouenneBab.hpp.
void Couenne::CouenneBab::setProblem | ( | CouenneProblem * | p | ) |
double Couenne::CouenneBab::bestObj | ( | ) | const [inline] |
return objective value of the bestSolution
Definition at line 60 of file CouenneBab.hpp.
CouenneProblem* Couenne::CouenneBab::problem_ [protected] |
return Mip Status
return the best known lower bound on the objective value 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 124 of file CouenneBab.hpp.