Bonmin
1.7
|
#include <BonChooseVariable.hpp>
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 children |
Definition at line 21 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] |
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] |
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_.
vector<double> Bonmin::HotInfo::infeasibilities_ [private] |
infeasibilities of children
Definition at line 71 of file BonChooseVariable.hpp.
Referenced by downInfeasibility(), setDownInfeasibility(), setUpInfeasibility(), and upInfeasibility().