Bonmin 1.8.9
Loading...
Searching...
No Matches
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:
+ Collaboration diagram for Bonmin::StrongBranchingSolver:

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.
 
- Public Member Functions inherited from Ipopt::ReferencedObject
 ReferencedObject ()
 
virtual ~ReferencedObject ()
 
Index ReferenceCount () const
 
void AddRef (const Referencer *referencer) const
 
void ReleaseRef (const Referencer *referencer) const
 

Protected Member Functions

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

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

◆ StrongBranchingSolver() [1/2]

Bonmin::StrongBranchingSolver::StrongBranchingSolver ( OsiTMINLPInterface * solver)

Constructor from solver.

◆ StrongBranchingSolver() [2/2]

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

Copy constructor.

◆ ~StrongBranchingSolver()

virtual Bonmin::StrongBranchingSolver::~StrongBranchingSolver ( )
virtual

Destructor.

Member Function Documentation

◆ operator=()

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

Assignment operator.

◆ markHotStart()

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

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

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

◆ solveFromHotStart()

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

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

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

◆ unmarkHotStart()

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

Called after all strong branching solves in a node.

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

◆ Jnlst()

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

Definition at line 44 of file BonStrongBranchingSolver.hpp.

◆ Options()

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

Definition at line 48 of file BonStrongBranchingSolver.hpp.

◆ RegOptions()

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

Definition at line 52 of file BonStrongBranchingSolver.hpp.


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