83 if (w < 0.0 || w > 1.0) {
84 throw CoinError(
"weight is not in range [0,1]",
"setWeight",
92 const double parentObjValue,
93 const double objValue,
94 const double solValue);
99 const double solValue);
BlisPseudocost()
Default constructor.
int getDownCount()
Get down branching count.
void setWeight(double w)
Set weigth.
double getUpCost()
Get up branching cost.
BlisPseudocost(double uc, int un, double dc, int dn, double s)
Useful constructor.
double getDownCost()
Get down branching cost.
double upCost_
Average object change when branching up.
int getUpCount()
Get up branching count.
double score_
The estimated importance.
int downCount_
How many times being branched down.
double downCost_
Average object change when branching down.
int upCount_
How many times being branched up.
void update(const int dir, const double parentObjValue, const double objValue, const double solValue)
Update pseudocost.
Error Class thrown by an exception.
double weight_
Use to calculate score.
double getScore()
Get importance.