Bonmin
1.7
|
This class chooses a variable to branch on. More...
#include <BonQpBranchingSolver.hpp>
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 | |
Ipopt::SmartPtr< BranchingTQP > | branching_tqp_ |
Ipopt::SmartPtr< TNLPSolver > | tqp_solver_ |
bool | first_solve_ |
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.
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] |
Called after all strong branching solves in a node.
Implements Bonmin::StrongBranchingSolver.
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.