Couenne 0.5.8
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Couenne::CouenneBab Class Reference

#include <CouenneBab.hpp>

+ Inheritance diagram for Couenne::CouenneBab:
+ Collaboration diagram for Couenne::CouenneBab:

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...
 
- Public Member Functions inherited from Bonmin::Bab
 Bab ()
 
virtual ~Bab ()
 
virtual void branchAndBound (BabSetupBase &s)
 
virtual void operator() (BabSetupBase &s)
 
virtual void operator() (BabSetupBase *s)
 
const double * bestSolution () const
 
double bestObj () const
 
MipStatuses mipStatus () const
 
double bestBound ()
 
int numNodes () const
 
int iterationCount ()
 
double continuousRelaxation ()
 
virtual void replaceIntegers (OsiObject **objects, int numberObjects)
 
const CbcModelmodel () const
 
CbcModelmodel ()
 

Protected Attributes

CouenneProblemproblem_
 
- Protected Attributes inherited from Bonmin::Bab
double * bestSolution_
 
MipStatuses mipStatus_
 
double bestObj_
 
double bestBound_
 
double continuousRelaxation_
 
int numNodes_
 
int mipIterationCount_
 
CbcModel model_
 
CoinMessageHandlermodelHandler_
 
OsiObject ** objects_
 
int nObjects_
 

Additional Inherited Members

- Public Types inherited from Bonmin::Bab
enum  MipStatuses
 
- Public Attributes inherited from Bonmin::Bab
 FeasibleOptimal
 
 ProvenInfeasible
 
 Feasible
 
 UnboundedOrInfeasible
 
 NoSolutionKnown
 
 NumMipStats
 

Detailed Description

Definition at line 21 of file CouenneBab.hpp.

Constructor & Destructor Documentation

◆ CouenneBab()

Couenne::CouenneBab::CouenneBab ( )

Constructor.

◆ ~CouenneBab()

virtual Couenne::CouenneBab::~CouenneBab ( )
virtual

Destructor.

Member Function Documentation

◆ setProblem()

void Couenne::CouenneBab::setProblem ( CouenneProblem p)

◆ branchAndBound()

virtual void Couenne::CouenneBab::branchAndBound ( Bonmin::BabSetupBase s)
virtual

Carry out branch and bound.

Reimplemented from Bonmin::Bab.

◆ bestSolution()

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.

◆ bestObj()

double Couenne::CouenneBab::bestObj ( ) const

Return objective value of the bestSolution.

◆ bestBound()

double Couenne::CouenneBab::bestBound ( )
inline

return the best known lower bound on the objective value

Definition at line 42 of file CouenneBab.hpp.

Member Data Documentation

◆ problem_

CouenneProblem* Couenne::CouenneBab::problem_
protected

Definition at line 46 of file CouenneBab.hpp.


The documentation for this class was generated from the following file: