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) More... | |
QpBranchingSolver (const QpBranchingSolver &) | |
Copy constructor. More... | |
QpBranchingSolver & | operator= (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... | |
![]() | |
StrongBranchingSolver (OsiTMINLPInterface *solver) | |
Constructor from solver. More... | |
StrongBranchingSolver & | operator= (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< BranchingTQP > | branching_tqp_ |
Ipopt::SmartPtr< TNLPSolver > | tqp_solver_ |
bool | first_solve_ |
Additional Inherited Members | |
![]() | |
Ipopt::SmartPtr < Ipopt::Journalist > & | Jnlst () |
Ipopt::SmartPtr < Ipopt::OptionsList > & | Options () |
Ipopt::SmartPtr < RegisteredOptions > & | RegOptions () |
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)
Definition at line 20 of file BonQpBranchingSolver.cpp.
Bonmin::QpBranchingSolver::QpBranchingSolver | ( | const QpBranchingSolver & | rhs | ) |
Copy constructor.
Definition at line 25 of file BonQpBranchingSolver.cpp.
|
virtual |
Destructor.
Definition at line 38 of file BonQpBranchingSolver.cpp.
|
private |
Default Constructor.
QpBranchingSolver & Bonmin::QpBranchingSolver::operator= | ( | const QpBranchingSolver & | rhs | ) |
Assignment operator.
Definition at line 30 of file BonQpBranchingSolver.cpp.
|
virtual |
Called to initialize solver before a bunch of strong branching solves.
Implements Bonmin::StrongBranchingSolver.
Definition at line 51 of file BonQpBranchingSolver.cpp.
|
virtual |
Called to solve the current TMINLP (with changed bound information)
Implements Bonmin::StrongBranchingSolver.
Definition at line 97 of file BonQpBranchingSolver.cpp.
|
virtual |
Called after all strong branching solves in a node.
Implements Bonmin::StrongBranchingSolver.
Definition at line 85 of file BonQpBranchingSolver.cpp.
|
private |
Definition at line 55 of file BonQpBranchingSolver.hpp.
|
private |
Definition at line 57 of file BonQpBranchingSolver.hpp.
|
private |
Definition at line 63 of file BonQpBranchingSolver.hpp.