Bonmin  1.7
Public Member Functions | Private Member Functions | Private Attributes
Bonmin::QpBranchingSolver Class Reference

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

#include <BonQpBranchingSolver.hpp>

Inheritance diagram for Bonmin::QpBranchingSolver:
Bonmin::StrongBranchingSolver

List of all members.

Public Member Functions

 QpBranchingSolver (OsiTMINLPInterface *solver)
 Constructor from solver (so we can set up arrays etc)
 QpBranchingSolver (const QpBranchingSolver &)
 Copy constructor.
QpBranchingSolveroperator= (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< BranchingTQPbranching_tqp_
Ipopt::SmartPtr< TNLPSolvertqp_solver_
bool first_solve_

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)

Bonmin::QpBranchingSolver::QpBranchingSolver ( const QpBranchingSolver )

Copy constructor.

virtual Bonmin::QpBranchingSolver::~QpBranchingSolver ( ) [virtual]

Destructor.

Bonmin::QpBranchingSolver::QpBranchingSolver ( ) [private]

Default Constructor.


Member Function Documentation

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.


Member Data Documentation

Definition at line 55 of file BonQpBranchingSolver.hpp.

Definition at line 57 of file BonQpBranchingSolver.hpp.

Definition at line 63 of file BonQpBranchingSolver.hpp.


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