Bonmin
1.7
|
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>
Public Member Functions | |
StrongBranchingSolver (OsiTMINLPInterface *solver) | |
Constructor from solver. | |
StrongBranchingSolver & | operator= (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_ |
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.
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.
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_.
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().
Ipopt::SmartPtr<Bonmin::RegisteredOptions> Bonmin::StrongBranchingSolver::reg_options_ [private] |
Definition at line 62 of file BonStrongBranchingSolver.hpp.
Referenced by RegOptions().
int Bonmin::StrongBranchingSolver::bb_log_level_ [private] |
Definition at line 64 of file BonStrongBranchingSolver.hpp.