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

Implementation of BonChooseVariable for curvature-based braching. More...

#include <BonCurvBranchingSolver.hpp>

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

Public Member Functions

 CurvBranchingSolver (OsiTMINLPInterface *solver)
 Constructor from solver (so we can set up arrays etc) More...
 
 CurvBranchingSolver (const CurvBranchingSolver &)
 Copy constructor. More...
 
CurvBranchingSolveroperator= (const CurvBranchingSolver &rhs)
 Assignment operator. More...
 
virtual ~CurvBranchingSolver ()
 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

 CurvBranchingSolver ()
 Default Constructor. More...
 

Private Attributes

SmartPtr< CurvatureEstimatorcur_estimator_
 
Stuff for the curvature estimator
bool new_bounds_
 
bool new_x_
 
bool new_mults_
 
double * orig_d_
 
double * projected_d_
 
Number * x_l_orig_
 
Number * x_u_orig_
 
Number * g_l_orig_
 
Number * g_u_orig_
 
Information about the problem
int numCols_
 
int numRows_
 
const double * solution_
 
const double * duals_
 
double obj_value_
 

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

Implementation of BonChooseVariable for curvature-based braching.

Definition at line 18 of file BonCurvBranchingSolver.hpp.

Constructor & Destructor Documentation

Bonmin::CurvBranchingSolver::CurvBranchingSolver ( OsiTMINLPInterface solver)

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

Definition at line 10 of file BonCurvBranchingSolver.cpp.

Bonmin::CurvBranchingSolver::CurvBranchingSolver ( const CurvBranchingSolver rhs)

Copy constructor.

Definition at line 22 of file BonCurvBranchingSolver.cpp.

Bonmin::CurvBranchingSolver::~CurvBranchingSolver ( )
virtual

Destructor.

Definition at line 44 of file BonCurvBranchingSolver.cpp.

Bonmin::CurvBranchingSolver::CurvBranchingSolver ( )
private

Default Constructor.

Member Function Documentation

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

Assignment operator.

Definition at line 35 of file BonCurvBranchingSolver.cpp.

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

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

Implements Bonmin::StrongBranchingSolver.

Definition at line 57 of file BonCurvBranchingSolver.cpp.

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

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

Implements Bonmin::StrongBranchingSolver.

Definition at line 134 of file BonCurvBranchingSolver.cpp.

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

Called after all strong branching solves in a node.

Implements Bonmin::StrongBranchingSolver.

Definition at line 112 of file BonCurvBranchingSolver.cpp.

Member Data Documentation

SmartPtr<CurvatureEstimator> Bonmin::CurvBranchingSolver::cur_estimator_
private

Definition at line 49 of file BonCurvBranchingSolver.hpp.

bool Bonmin::CurvBranchingSolver::new_bounds_
private

Definition at line 53 of file BonCurvBranchingSolver.hpp.

bool Bonmin::CurvBranchingSolver::new_x_
private

Definition at line 54 of file BonCurvBranchingSolver.hpp.

bool Bonmin::CurvBranchingSolver::new_mults_
private

Definition at line 55 of file BonCurvBranchingSolver.hpp.

double* Bonmin::CurvBranchingSolver::orig_d_
private

Definition at line 56 of file BonCurvBranchingSolver.hpp.

double* Bonmin::CurvBranchingSolver::projected_d_
private

Definition at line 57 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::x_l_orig_
private

Definition at line 58 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::x_u_orig_
private

Definition at line 59 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::g_l_orig_
private

Definition at line 60 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::g_u_orig_
private

Definition at line 61 of file BonCurvBranchingSolver.hpp.

int Bonmin::CurvBranchingSolver::numCols_
private

Definition at line 66 of file BonCurvBranchingSolver.hpp.

int Bonmin::CurvBranchingSolver::numRows_
private

Definition at line 67 of file BonCurvBranchingSolver.hpp.

const double* Bonmin::CurvBranchingSolver::solution_
private

Definition at line 68 of file BonCurvBranchingSolver.hpp.

const double* Bonmin::CurvBranchingSolver::duals_
private

Definition at line 69 of file BonCurvBranchingSolver.hpp.

double Bonmin::CurvBranchingSolver::obj_value_
private

Definition at line 70 of file BonCurvBranchingSolver.hpp.


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