#include <DecompStats.h>
Public Member Functions | |
void | init () |
void | printObjHistoryBound (std::ostream *os=&std::cout) const |
void | resetCutRound () |
void | resetPriceRound () |
void | resetBestLB () |
DecompObjBound * | getLastBound () |
double | getLastBoundThis () |
DecompNodeStats () | |
Public Attributes | |
std::vector< DecompObjBound > | objHistoryBound |
Storage of the bounds. | |
std::pair< double, double > | objBest |
The global lower (.first) and upper (.second) bound. | |
int | nodeIndex |
The node index (in the branch-and-bound tree). | |
int | cutsThisRound |
Number of cuts generated in this round of cut calls. | |
int | varsThisRound |
Number of vars generated in this round of pricing calls. | |
int | cutsThisCall |
Number of cuts generated in this particular cut call. | |
int | varsThisCall |
Number of vars generated in this particular price call. | |
int | cutCallsTotal |
Number of cut calls in this node in total. | |
int | priceCallsTotal |
Number of price calls in this node in total. | |
int | cutCallsRound |
Number of cut calls in this round. | |
int | priceCallsRound |
Number of price calls in this round. |
Definition at line 94 of file DecompStats.h.
DecompNodeStats::DecompNodeStats | ( | ) | [inline] |
Definition at line 217 of file DecompStats.h.
References init().
void DecompNodeStats::init | ( | ) | [inline] |
Definition at line 168 of file DecompStats.h.
References cutCallsRound, cutCallsTotal, cutsThisCall, cutsThisRound, DecompInf, nodeIndex, objBest, objHistoryBound, priceCallsRound, priceCallsTotal, varsThisCall, and varsThisRound.
Referenced by DecompNodeStats().
void DecompNodeStats::printObjHistoryBound | ( | std::ostream * | os = &std::cout |
) | const |
void DecompNodeStats::resetCutRound | ( | ) | [inline] |
Definition at line 185 of file DecompStats.h.
References cutCallsRound, and cutsThisRound.
void DecompNodeStats::resetPriceRound | ( | ) | [inline] |
Definition at line 189 of file DecompStats.h.
References priceCallsRound, and varsThisRound.
void DecompNodeStats::resetBestLB | ( | ) | [inline] |
Definition at line 193 of file DecompStats.h.
DecompObjBound* DecompNodeStats::getLastBound | ( | ) | [inline] |
Definition at line 196 of file DecompStats.h.
References objHistoryBound.
Referenced by getLastBoundThis(), and DecompAlgo::setObjBoundIP().
double DecompNodeStats::getLastBoundThis | ( | ) | [inline] |
Definition at line 205 of file DecompStats.h.
References DecompInf, getLastBound(), and DecompObjBound::thisBound.
std::vector< DecompObjBound > DecompNodeStats::objHistoryBound |
Storage of the bounds.
For the continuous part: CPM : Bounds on the objective of optimal master linear relaxation. Typically, this is an LP solved to optimality, so, LB = zCP = UB. PC/RC: Given bounds on the objective of optimal restricted master linear relaxation zPC_LB <= zPC* <= zPC_UB and a lower bound on the most negative reduced cost (RC_LB) extreme point (ray) from the subproblem polytope (for the associated master duals). LB = zPC_LB + RC_LB <= zPC* <= zPC_UB = UB
Definition at line 115 of file DecompStats.h.
Referenced by getLastBound(), DecompAlgo::getNodeLPGap(), init(), DecompAlgo::setObjBound(), and DecompAlgo::setObjBoundIP().
std::pair<double, double> DecompNodeStats::objBest |
The global lower (.first) and upper (.second) bound.
Definition at line 120 of file DecompStats.h.
Referenced by DecompAlgo::getObjBestBoundLB(), DecompAlgo::getObjBestBoundUB(), init(), resetBestLB(), DecompAlgoPC::setObjBound(), DecompAlgo::setObjBound(), DecompAlgoD::setObjBoundIP(), and DecompAlgo::setObjBoundIP().
The node index (in the branch-and-bound tree).
Definition at line 125 of file DecompStats.h.
Referenced by DecompAlgo::getNodeIndex(), and init().
Number of cuts generated in this round of cut calls.
Definition at line 130 of file DecompStats.h.
Referenced by init(), and resetCutRound().
Number of vars generated in this round of pricing calls.
Definition at line 135 of file DecompStats.h.
Referenced by init(), and resetPriceRound().
Number of cuts generated in this particular cut call.
Definition at line 140 of file DecompStats.h.
Referenced by init(), and DecompAlgo::isDone().
Number of vars generated in this particular price call.
Definition at line 145 of file DecompStats.h.
Referenced by init(), and DecompAlgo::isDone().
Number of cut calls in this node in total.
Definition at line 150 of file DecompStats.h.
Referenced by DecompAlgo::getCutCallsTotal(), init(), and DecompAlgo::setObjBound().
Number of price calls in this node in total.
Definition at line 155 of file DecompStats.h.
Referenced by DecompAlgo::getPriceCallsTotal(), init(), and DecompAlgo::setObjBound().
Number of cut calls in this round.
Definition at line 160 of file DecompStats.h.
Referenced by init(), and resetCutRound().
Number of price calls in this round.
Definition at line 165 of file DecompStats.h.
Referenced by init(), and resetPriceRound().