#include <BonChooseVariable.hpp>
Inheritance diagram for Bonmin::HotInfo:
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. | |
HotInfo & | operator= (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 childs |
Definition at line 19 of file BonChooseVariable.hpp.
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.
virtual OsiHotInfo* Bonmin::HotInfo::clone | ( | ) | const [virtual] |
int Bonmin::HotInfo::updateInformation | ( | const OsiSolverInterface * | solver, | |
const OsiBranchingInformation * | info, | |||
OsiChooseVariable * | choose | |||
) |
double Bonmin::HotInfo::upInfeasibility | ( | ) | const [inline] |
double Bonmin::HotInfo::downInfeasibility | ( | ) | const [inline] |
down infeasibility
Definition at line 51 of file BonChooseVariable.hpp.
References infeasibilities_.
void Bonmin::HotInfo::setUpInfeasibility | ( | double | x | ) | [inline] |
Set the down infeasibility.
Definition at line 57 of file BonChooseVariable.hpp.
References OsiHotInfo::branchingObject_, infeasibilities_, and OsiBranchingObject::numberBranches().
void Bonmin::HotInfo::setDownInfeasibility | ( | double | x | ) | [inline] |
Set the down infeasibility.
Definition at line 63 of file BonChooseVariable.hpp.
References OsiHotInfo::branchingObject_, infeasibilities_, and OsiBranchingObject::numberBranches().
vector<double> Bonmin::HotInfo::infeasibilities_ [private] |
infeasibilities of childs
Definition at line 69 of file BonChooseVariable.hpp.
Referenced by downInfeasibility(), setDownInfeasibility(), setUpInfeasibility(), and upInfeasibility().