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

#include <BonChooseVariable.hpp>

List of all members.

Public Member Functions

 HotInfo ()
 Default constructor.
 HotInfo (OsiSolverInterface *solver, const OsiBranchingInformation *info, const OsiObject *const *objects, int whichObject)
 Constructor from usefull information.
 HotInfo (const HotInfo &other)
 Copy constructor.
HotInfooperator= (const HotInfo &rhs)
 Assignment operator.
virtual OsiHotInfo * clone () const
 Clone.
virtual ~HotInfo ()
 Destructor.
int updateInformation (const OsiSolverInterface *solver, const OsiBranchingInformation *info, OsiChooseVariable *choose)
 Fill in some usefull information after a strong branching is done:
double upInfeasibility () const
 up infeasibility
double downInfeasibility () const
 down infeasibility
void setUpInfeasibility (double x)
 Set the down infeasibility.
void setDownInfeasibility (double x)
 Set the down infeasibility.

Private Attributes

vector< double > infeasibilities_
 infeasibilities of children

Detailed Description

Definition at line 21 of file BonChooseVariable.hpp.


Constructor & Destructor Documentation

Bonmin::HotInfo::HotInfo ( )

Default constructor.

Bonmin::HotInfo::HotInfo ( OsiSolverInterface *  solver,
const OsiBranchingInformation *  info,
const OsiObject *const *  objects,
int  whichObject 
)

Constructor from usefull information.

Bonmin::HotInfo::HotInfo ( const HotInfo other)

Copy constructor.

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

Destructor.


Member Function Documentation

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

Assignment operator.

virtual OsiHotInfo* Bonmin::HotInfo::clone ( ) const [virtual]

Clone.

int Bonmin::HotInfo::updateInformation ( const OsiSolverInterface *  solver,
const OsiBranchingInformation *  info,
OsiChooseVariable *  choose 
)

Fill in some usefull information after a strong branching is done:

double Bonmin::HotInfo::upInfeasibility ( ) const [inline]

up infeasibility

Definition at line 48 of file BonChooseVariable.hpp.

References infeasibilities_.

double Bonmin::HotInfo::downInfeasibility ( ) const [inline]

down infeasibility

Definition at line 53 of file BonChooseVariable.hpp.

References infeasibilities_.

void Bonmin::HotInfo::setUpInfeasibility ( double  x) [inline]

Set the down infeasibility.

Definition at line 59 of file BonChooseVariable.hpp.

References infeasibilities_.

void Bonmin::HotInfo::setDownInfeasibility ( double  x) [inline]

Set the down infeasibility.

Definition at line 65 of file BonChooseVariable.hpp.

References infeasibilities_.


Member Data Documentation

infeasibilities of children

Definition at line 71 of file BonChooseVariable.hpp.

Referenced by downInfeasibility(), setDownInfeasibility(), setUpInfeasibility(), and upInfeasibility().


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