Bonmin  1.7
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
Bonmin::StrongBranchingSolver Class Reference

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:
Bonmin::CurvBranchingSolver Bonmin::LpBranchingSolver Bonmin::QpBranchingSolver

List of all members.

Public Member Functions

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

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.

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.

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

Copy constructor.

virtual Bonmin::StrongBranchingSolver::~StrongBranchingSolver ( ) [virtual]

Destructor.

Bonmin::StrongBranchingSolver::StrongBranchingSolver ( ) [private]

Default Constructor, forbiden for some reason.


Member Function Documentation

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

Assignment operator.

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 ( ) [inline, protected]

Definition at line 44 of file BonStrongBranchingSolver.hpp.

References jnlst_.

Ipopt::SmartPtr<Ipopt::OptionsList>& Bonmin::StrongBranchingSolver::Options ( ) [inline, protected]

Definition at line 48 of file BonStrongBranchingSolver.hpp.

References options_.

Ipopt::SmartPtr<RegisteredOptions>& Bonmin::StrongBranchingSolver::RegOptions ( ) [inline, protected]

Definition at line 52 of file BonStrongBranchingSolver.hpp.

References reg_options_.


Member Data Documentation

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

Definition at line 60 of file BonStrongBranchingSolver.hpp.

Referenced by Jnlst().

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

Definition at line 61 of file BonStrongBranchingSolver.hpp.

Referenced by Options().

Definition at line 62 of file BonStrongBranchingSolver.hpp.

Referenced by RegOptions().

Definition at line 64 of file BonStrongBranchingSolver.hpp.


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