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]
List of all members.

Public Member Functions

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

 CurvBranchingSolver ()
 Default Constructor.

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_
Numberx_l_orig_
Numberx_u_orig_
Numberg_l_orig_
Numberg_u_orig_
Information about the problem
int numCols_
int numRows_
const double * solution_
const double * duals_
double obj_value_

Detailed Description

Implementation of BonChooseVariable for curvature-based braching.

Definition at line 15 of file BonCurvBranchingSolver.hpp.


Constructor & Destructor Documentation

Bonmin::CurvBranchingSolver::CurvBranchingSolver ( OsiTMINLPInterface solver  ) 

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

Bonmin::CurvBranchingSolver::CurvBranchingSolver ( const CurvBranchingSolver  ) 

Copy constructor.

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

Destructor.

Bonmin::CurvBranchingSolver::CurvBranchingSolver (  )  [private]

Default Constructor.


Member Function Documentation

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

Assignment operator.

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

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

Implements Bonmin::StrongBranchingSolver.

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

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

Implements Bonmin::StrongBranchingSolver.

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

Called after all strong branching solves in a node.

Implements Bonmin::StrongBranchingSolver.


Member Data Documentation

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

Definition at line 46 of file BonCurvBranchingSolver.hpp.

bool Bonmin::CurvBranchingSolver::new_bounds_ [private]

Definition at line 50 of file BonCurvBranchingSolver.hpp.

bool Bonmin::CurvBranchingSolver::new_x_ [private]

Definition at line 51 of file BonCurvBranchingSolver.hpp.

bool Bonmin::CurvBranchingSolver::new_mults_ [private]

Definition at line 52 of file BonCurvBranchingSolver.hpp.

double* Bonmin::CurvBranchingSolver::orig_d_ [private]

Definition at line 53 of file BonCurvBranchingSolver.hpp.

double* Bonmin::CurvBranchingSolver::projected_d_ [private]

Definition at line 54 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::x_l_orig_ [private]

Definition at line 55 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::x_u_orig_ [private]

Definition at line 56 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::g_l_orig_ [private]

Definition at line 57 of file BonCurvBranchingSolver.hpp.

Number* Bonmin::CurvBranchingSolver::g_u_orig_ [private]

Definition at line 58 of file BonCurvBranchingSolver.hpp.

int Bonmin::CurvBranchingSolver::numCols_ [private]

Definition at line 63 of file BonCurvBranchingSolver.hpp.

int Bonmin::CurvBranchingSolver::numRows_ [private]

Definition at line 64 of file BonCurvBranchingSolver.hpp.

const double* Bonmin::CurvBranchingSolver::solution_ [private]

Definition at line 65 of file BonCurvBranchingSolver.hpp.

const double* Bonmin::CurvBranchingSolver::duals_ [private]

Definition at line 66 of file BonCurvBranchingSolver.hpp.

double Bonmin::CurvBranchingSolver::obj_value_ [private]

Definition at line 67 of file BonCurvBranchingSolver.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Jun 26 03:20:12 2008 for Bonmin by  doxygen 1.4.7