Public Member Functions | Private Member Functions | Private Attributes | List of all members
Bonmin::QpBranchingSolver Class Reference

This class chooses a variable to branch on. More...

#include <BonQpBranchingSolver.hpp>

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

Public Member Functions

 QpBranchingSolver (OsiTMINLPInterface *solver)
 Constructor from solver (so we can set up arrays etc) More...
 
 QpBranchingSolver (const QpBranchingSolver &)
 Copy constructor. More...
 
QpBranchingSolveroperator= (const QpBranchingSolver &rhs)
 Assignment operator. More...
 
virtual ~QpBranchingSolver ()
 Destructor. More...
 
virtual void markHotStart (OsiTMINLPInterface *tminlp_interface)
 Called to initialize solver before a bunch of strong branching solves. More...
 
virtual TNLPSolver::ReturnStatus solveFromHotStart (OsiTMINLPInterface *tminlp_interface)
 Called to solve the current TMINLP (with changed bound information) More...
 
virtual void unmarkHotStart (OsiTMINLPInterface *tminlp_interface)
 Called after all strong branching solves in a node. More...
 
- Public Member Functions inherited from Bonmin::StrongBranchingSolver
 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...
 

Private Member Functions

 QpBranchingSolver ()
 Default Constructor. More...
 

Private Attributes

Ipopt::SmartPtr< BranchingTQPbranching_tqp_
 
Ipopt::SmartPtr< TNLPSolvertqp_solver_
 
bool first_solve_
 

Additional Inherited Members

- Protected Member Functions inherited from Bonmin::StrongBranchingSolver
Ipopt::SmartPtr
< Ipopt::Journalist > & 
Jnlst ()
 
Ipopt::SmartPtr
< Ipopt::OptionsList > & 
Options ()
 
Ipopt::SmartPtr
< RegisteredOptions > & 
RegOptions ()
 

Detailed Description

This class chooses a variable to branch on.

This implementation solves the Qp model for different branches (strong branching).

Definition at line 24 of file BonQpBranchingSolver.hpp.

Constructor & Destructor Documentation

Bonmin::QpBranchingSolver::QpBranchingSolver ( OsiTMINLPInterface solver)

Constructor from solver (so we can set up arrays etc)

Definition at line 20 of file BonQpBranchingSolver.cpp.

Bonmin::QpBranchingSolver::QpBranchingSolver ( const QpBranchingSolver rhs)

Copy constructor.

Definition at line 25 of file BonQpBranchingSolver.cpp.

Bonmin::QpBranchingSolver::~QpBranchingSolver ( )
virtual

Destructor.

Definition at line 38 of file BonQpBranchingSolver.cpp.

Bonmin::QpBranchingSolver::QpBranchingSolver ( )
private

Default Constructor.

Member Function Documentation

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

Assignment operator.

Definition at line 30 of file BonQpBranchingSolver.cpp.

void Bonmin::QpBranchingSolver::markHotStart ( OsiTMINLPInterface tminlp_interface)
virtual

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

Implements Bonmin::StrongBranchingSolver.

Definition at line 51 of file BonQpBranchingSolver.cpp.

TNLPSolver::ReturnStatus Bonmin::QpBranchingSolver::solveFromHotStart ( OsiTMINLPInterface tminlp_interface)
virtual

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

Implements Bonmin::StrongBranchingSolver.

Definition at line 97 of file BonQpBranchingSolver.cpp.

void Bonmin::QpBranchingSolver::unmarkHotStart ( OsiTMINLPInterface tminlp_interface)
virtual

Called after all strong branching solves in a node.

Implements Bonmin::StrongBranchingSolver.

Definition at line 85 of file BonQpBranchingSolver.cpp.

Member Data Documentation

Ipopt::SmartPtr<BranchingTQP> Bonmin::QpBranchingSolver::branching_tqp_
private

Definition at line 55 of file BonQpBranchingSolver.hpp.

Ipopt::SmartPtr<TNLPSolver> Bonmin::QpBranchingSolver::tqp_solver_
private

Definition at line 57 of file BonQpBranchingSolver.hpp.

bool Bonmin::QpBranchingSolver::first_solve_
private

Definition at line 63 of file BonQpBranchingSolver.hpp.


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