Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Bonmin::StrongBranchingSolver Class Referenceabstract

This class is the base class for a solver that can be used in BonOsiSolverInterface to perform the strong branching solves. More...

#include <BonStrongBranchingSolver.hpp>

Inheritance diagram for Bonmin::StrongBranchingSolver:
Inheritance graph
[legend]
Collaboration diagram for Bonmin::StrongBranchingSolver:
Collaboration graph
[legend]

Public Member Functions

 StrongBranchingSolver (OsiTMINLPInterface *solver)
 Constructor from solver. More...
 
StrongBranchingSolveroperator= (const StrongBranchingSolver &rhs)
 Assignment operator. More...
 
 StrongBranchingSolver (const StrongBranchingSolver &rhs)
 Copy constructor. More...
 
virtual ~StrongBranchingSolver ()
 Destructor. More...
 
virtual void markHotStart (OsiTMINLPInterface *tminlp_interface)=0
 Called to initialize solver before a bunch of strong branching solves. More...
 
virtual TNLPSolver::ReturnStatus solveFromHotStart (OsiTMINLPInterface *tminlp_interface)=0
 Called to solve the current TMINLP (with changed bound information) More...
 
virtual void unmarkHotStart (OsiTMINLPInterface *tminlp_interface)=0
 Called after all strong branching solves in a node. More...
 

Protected Member Functions

Ipopt::SmartPtr
< Ipopt::Journalist > & 
Jnlst ()
 
Ipopt::SmartPtr
< Ipopt::OptionsList > & 
Options ()
 
Ipopt::SmartPtr
< RegisteredOptions > & 
RegOptions ()
 

Private Member Functions

 StrongBranchingSolver ()
 Default Constructor, forbiden for some reason. More...
 

Private Attributes

Ipopt::SmartPtr
< Ipopt::Journalist > 
jnlst_
 
Ipopt::SmartPtr
< Ipopt::OptionsList > 
options_
 
Ipopt::SmartPtr
< Bonmin::RegisteredOptions
reg_options_
 
int bb_log_level_
 

Detailed Description

This class is the base class for a solver that can be used in BonOsiSolverInterface to perform the strong branching solves.

Definition at line 17 of file BonStrongBranchingSolver.hpp.

Constructor & Destructor Documentation

Bonmin::StrongBranchingSolver::StrongBranchingSolver ( OsiTMINLPInterface solver)

Constructor from solver.

Definition at line 11 of file BonStrongBranchingSolver.cpp.

Bonmin::StrongBranchingSolver::StrongBranchingSolver ( const StrongBranchingSolver rhs)

Copy constructor.

Definition at line 23 of file BonStrongBranchingSolver.cpp.

Bonmin::StrongBranchingSolver::~StrongBranchingSolver ( )
virtual

Destructor.

Definition at line 43 of file BonStrongBranchingSolver.cpp.

Bonmin::StrongBranchingSolver::StrongBranchingSolver ( )
private

Default Constructor, forbiden for some reason.

Member Function Documentation

StrongBranchingSolver & Bonmin::StrongBranchingSolver::operator= ( const StrongBranchingSolver rhs)

Assignment operator.

Definition at line 32 of file BonStrongBranchingSolver.cpp.

virtual void Bonmin::StrongBranchingSolver::markHotStart ( OsiTMINLPInterface tminlp_interface)
pure virtual

Called to initialize solver before a bunch of strong branching solves.

Implemented in Bonmin::QpBranchingSolver, Bonmin::CurvBranchingSolver, and Bonmin::LpBranchingSolver.

virtual TNLPSolver::ReturnStatus Bonmin::StrongBranchingSolver::solveFromHotStart ( OsiTMINLPInterface tminlp_interface)
pure virtual

Called to solve the current TMINLP (with changed bound information)

Implemented in Bonmin::QpBranchingSolver, Bonmin::CurvBranchingSolver, and Bonmin::LpBranchingSolver.

virtual void Bonmin::StrongBranchingSolver::unmarkHotStart ( OsiTMINLPInterface tminlp_interface)
pure virtual

Called after all strong branching solves in a node.

Implemented in Bonmin::QpBranchingSolver, Bonmin::CurvBranchingSolver, and Bonmin::LpBranchingSolver.

Ipopt::SmartPtr<Ipopt::Journalist>& Bonmin::StrongBranchingSolver::Jnlst ( )
inlineprotected

Definition at line 44 of file BonStrongBranchingSolver.hpp.

Ipopt::SmartPtr<Ipopt::OptionsList>& Bonmin::StrongBranchingSolver::Options ( )
inlineprotected

Definition at line 48 of file BonStrongBranchingSolver.hpp.

Ipopt::SmartPtr<RegisteredOptions>& Bonmin::StrongBranchingSolver::RegOptions ( )
inlineprotected

Definition at line 52 of file BonStrongBranchingSolver.hpp.

Member Data Documentation

Ipopt::SmartPtr<Ipopt::Journalist> Bonmin::StrongBranchingSolver::jnlst_
private

Definition at line 60 of file BonStrongBranchingSolver.hpp.

Ipopt::SmartPtr<Ipopt::OptionsList> Bonmin::StrongBranchingSolver::options_
private

Definition at line 61 of file BonStrongBranchingSolver.hpp.

Ipopt::SmartPtr<Bonmin::RegisteredOptions> Bonmin::StrongBranchingSolver::reg_options_
private

Definition at line 62 of file BonStrongBranchingSolver.hpp.

int Bonmin::StrongBranchingSolver::bb_log_level_
private

Definition at line 64 of file BonStrongBranchingSolver.hpp.


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