Dip  0.92.4
Public Member Functions | Public Attributes | List of all members
DecompNodeStats Class Reference

#include <DecompStats.h>

Public Member Functions

void init ()
 
void printObjHistoryBound (std::ostream *os=&std::cout) const
 
void resetCutRound ()
 
void resetPriceRound ()
 
void resetBestLB ()
 
DecompObjBoundgetLastBound ()
 
double getLastBoundThis ()
 
 DecompNodeStats ()
 

Public Attributes

std::vector< DecompObjBoundobjHistoryBound
 Storage of the bounds. More...
 
std::pair< double, double > objBest
 The global lower (.first) and upper (.second) bound. More...
 
int nodeIndex
 The node index (in the branch-and-bound tree). More...
 
int cutsThisRound
 Number of cuts generated in this round of cut calls. More...
 
int varsThisRound
 Number of vars generated in this round of pricing calls. More...
 
int cutsThisCall
 Number of cuts generated in this particular cut call. More...
 
int varsThisCall
 Number of vars generated in this particular price call. More...
 
int cutCallsTotal
 Number of cut calls in this node in total. More...
 
int priceCallsTotal
 Number of price calls in this node in total. More...
 
int cutCallsRound
 Number of cut calls in this round. More...
 
int priceCallsRound
 Number of price calls in this round. More...
 
double m_infinity
 Value of infinity. More...
 

Detailed Description

Definition at line 93 of file DecompStats.h.

Constructor & Destructor Documentation

DecompNodeStats::DecompNodeStats ( )
inline

Definition at line 221 of file DecompStats.h.

References init().

Member Function Documentation

void DecompNodeStats::init ( )
inline
void DecompNodeStats::printObjHistoryBound ( std::ostream *  os = &std::cout) const
void DecompNodeStats::resetCutRound ( )
inline

Definition at line 189 of file DecompStats.h.

References cutCallsRound, and cutsThisRound.

void DecompNodeStats::resetPriceRound ( )
inline

Definition at line 193 of file DecompStats.h.

References priceCallsRound, and varsThisRound.

void DecompNodeStats::resetBestLB ( )
inline

Definition at line 197 of file DecompStats.h.

References m_infinity, and objBest.

DecompObjBound* DecompNodeStats::getLastBound ( )
inline

Definition at line 200 of file DecompStats.h.

References objHistoryBound.

Referenced by getLastBoundThis(), and DecompAlgo::setObjBoundIP().

double DecompNodeStats::getLastBoundThis ( )
inline

Definition at line 209 of file DecompStats.h.

References getLastBound(), m_infinity, and DecompObjBound::thisBound.

Member Data Documentation

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 114 of file DecompStats.h.

Referenced by getLastBound(), DecompAlgo::getNodeLPGap(), init(), DecompAlgo::setObjBound(), and DecompAlgo::setObjBoundIP().

std::pair<double, double> DecompNodeStats::objBest
int DecompNodeStats::nodeIndex

The node index (in the branch-and-bound tree).

Definition at line 124 of file DecompStats.h.

Referenced by DecompAlgo::getNodeIndex(), and init().

int DecompNodeStats::cutsThisRound

Number of cuts generated in this round of cut calls.

Definition at line 129 of file DecompStats.h.

Referenced by init(), and resetCutRound().

int DecompNodeStats::varsThisRound

Number of vars generated in this round of pricing calls.

Definition at line 134 of file DecompStats.h.

Referenced by init(), and resetPriceRound().

int DecompNodeStats::cutsThisCall

Number of cuts generated in this particular cut call.

Definition at line 139 of file DecompStats.h.

Referenced by init(), and DecompAlgo::isDone().

int DecompNodeStats::varsThisCall

Number of vars generated in this particular price call.

Definition at line 144 of file DecompStats.h.

Referenced by init(), and DecompAlgo::isDone().

int DecompNodeStats::cutCallsTotal

Number of cut calls in this node in total.

Definition at line 149 of file DecompStats.h.

Referenced by DecompAlgo::getCutCallsTotal(), init(), and DecompAlgo::setObjBound().

int DecompNodeStats::priceCallsTotal

Number of price calls in this node in total.

Definition at line 154 of file DecompStats.h.

Referenced by DecompAlgo::getPriceCallsTotal(), init(), and DecompAlgo::setObjBound().

int DecompNodeStats::cutCallsRound

Number of cut calls in this round.

Definition at line 159 of file DecompStats.h.

Referenced by init(), and resetCutRound().

int DecompNodeStats::priceCallsRound

Number of price calls in this round.

Definition at line 164 of file DecompStats.h.

Referenced by init(), and resetPriceRound().

double DecompNodeStats::m_infinity

Value of infinity.

Definition at line 169 of file DecompStats.h.

Referenced by getLastBoundThis(), init(), and resetBestLB().


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