#include <BonQpBranchingSolver.hpp>
Inheritance diagram for Bonmin::QpBranchingSolver:
Public Member Functions | |
QpBranchingSolver (OsiTMINLPInterface *solver) | |
Constructor from solver (so we can set up arrays etc). | |
QpBranchingSolver (const QpBranchingSolver &) | |
Copy constructor. | |
QpBranchingSolver & | operator= (const QpBranchingSolver &rhs) |
Assignment operator. | |
virtual | ~QpBranchingSolver () |
Destructor. | |
virtual void | markHotStart (OsiTMINLPInterface *tminlp_interface) |
Called to initialize solver before a bunch of strong branching solves. | |
virtual TNLPSolver::ReturnStatus | solveFromHotStart (OsiTMINLPInterface *tminlp_interface) |
Called to solve the current TMINLP (with changed bound information). | |
virtual void | unmarkHotStart (OsiTMINLPInterface *tminlp_interface) |
Called after all strong branching solves in a node. | |
Private Member Functions | |
QpBranchingSolver () | |
Default Constructor. | |
Private Attributes | |
SmartPtr< BranchingTQP > | branching_tqp_ |
SmartPtr< TNLPSolver > | tqp_solver_ |
bool | first_solve_ |
This implementation solves the Qp model for different branches (strong branching).
Definition at line 18 of file BonQpBranchingSolver.hpp.
Bonmin::QpBranchingSolver::QpBranchingSolver | ( | OsiTMINLPInterface * | solver | ) |
Constructor from solver (so we can set up arrays etc).
Bonmin::QpBranchingSolver::QpBranchingSolver | ( | const QpBranchingSolver & | ) |
Copy constructor.
virtual Bonmin::QpBranchingSolver::~QpBranchingSolver | ( | ) | [virtual] |
Destructor.
Bonmin::QpBranchingSolver::QpBranchingSolver | ( | ) | [private] |
Default Constructor.
QpBranchingSolver& Bonmin::QpBranchingSolver::operator= | ( | const QpBranchingSolver & | rhs | ) |
Assignment operator.
virtual void Bonmin::QpBranchingSolver::markHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called to initialize solver before a bunch of strong branching solves.
Implements Bonmin::StrongBranchingSolver.
virtual TNLPSolver::ReturnStatus Bonmin::QpBranchingSolver::solveFromHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Called to solve the current TMINLP (with changed bound information).
Implements Bonmin::StrongBranchingSolver.
virtual void Bonmin::QpBranchingSolver::unmarkHotStart | ( | OsiTMINLPInterface * | tminlp_interface | ) | [virtual] |
Definition at line 49 of file BonQpBranchingSolver.hpp.
Definition at line 51 of file BonQpBranchingSolver.hpp.
bool Bonmin::QpBranchingSolver::first_solve_ [private] |
Definition at line 53 of file BonQpBranchingSolver.hpp.