Couenne::CouenneBTPerfIndicator Class Reference

#include <CouenneBTPerfIndicator.hpp>

Collaboration diagram for Couenne::CouenneBTPerfIndicator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CouenneBTPerfIndicator (CouenneProblem *p, const std::string &name)
 Should stats be printed at the end? Copied from problem_ -> Jnlst () -> ProduceOutput (ERROR, BOUNDTIGHTENING).
 ~CouenneBTPerfIndicator ()
 CouenneBTPerfIndicator (const CouenneBTPerfIndicator &rhs)
CouenneBTPerfIndicatoroperator= (const CouenneBTPerfIndicator &rhs)
void setOldBounds (const CouNumber *lb, const CouNumber *ub) const
void addToTimer (double time) const
 add to timer
void update (const CouNumber *lb, const CouNumber *ub, int depth) const

Protected Attributes

std::string name_
double nFixed_
 Whose performance is this?
double boundRatio_
 number of fixed variables
double shrunkInf_
 average bound width shrinkage
double shrunkDoubleInf_
 average # bounds that went from infinite to finite (counts twice if [-inf,inf] to [a,b]
double nProvedInfeas_
 average # bounds that went from doubly infinite to infinite
double weightSum_
 average # proofs of infeasibility
double * oldLB_
 total weight (used to give an average indicator at the end of Couenne)
double * oldUB_
 old lower bounds (initial, i.e. before BT)
double totalTime_
 old upper bounds
int nRuns_
 CPU time spent on this.
CouenneProblemproblem_
 number of runs
bool stats_
 Couenne problem info.

Detailed Description

Definition at line 23 of file CouenneBTPerfIndicator.hpp.


Constructor & Destructor Documentation

CouenneBTPerfIndicator::CouenneBTPerfIndicator ( CouenneProblem p,
const std::string &  name 
)

Should stats be printed at the end? Copied from problem_ -> Jnlst () -> ProduceOutput (ERROR, BOUNDTIGHTENING).

Definition at line 19 of file BTPerfIndicatorConstr.cpp.

CouenneBTPerfIndicator::~CouenneBTPerfIndicator (  ) 

Definition at line 39 of file BTPerfIndicatorConstr.cpp.

CouenneBTPerfIndicator::CouenneBTPerfIndicator ( const CouenneBTPerfIndicator rhs  ) 

Definition at line 60 of file BTPerfIndicatorConstr.cpp.


Member Function Documentation

CouenneBTPerfIndicator & CouenneBTPerfIndicator::operator= ( const CouenneBTPerfIndicator rhs  ) 

Definition at line 78 of file BTPerfIndicatorConstr.cpp.

void CouenneBTPerfIndicator::setOldBounds ( const CouNumber lb,
const CouNumber ub 
) const

Definition at line 99 of file BTPerfIndicatorConstr.cpp.

void CouenneBTPerfIndicator::addToTimer ( double  time  )  const

add to timer

Definition at line 115 of file BTPerfIndicatorConstr.cpp.

void CouenneBTPerfIndicator::update ( const CouNumber lb,
const CouNumber ub,
int  depth 
) const

case 1: variable got fixed

case 2: interval got finite from [-inf,u] or [l,+inf]

case 3: both old and new were finite

case 4: interval became [-inf,u] or [l,+inf] from [-inf,+inf]

Definition at line 20 of file BTPerfIndicator.cpp.


Member Data Documentation

std::string Couenne::CouenneBTPerfIndicator::name_ [protected]

Definition at line 27 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::nFixed_ [mutable, protected]

Whose performance is this?

Definition at line 29 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::boundRatio_ [mutable, protected]

number of fixed variables

Definition at line 30 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::shrunkInf_ [mutable, protected]

average bound width shrinkage

Definition at line 31 of file CouenneBTPerfIndicator.hpp.

average # bounds that went from infinite to finite (counts twice if [-inf,inf] to [a,b]

Definition at line 32 of file CouenneBTPerfIndicator.hpp.

average # bounds that went from doubly infinite to infinite

Definition at line 33 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::weightSum_ [mutable, protected]

average # proofs of infeasibility

Definition at line 35 of file CouenneBTPerfIndicator.hpp.

double* Couenne::CouenneBTPerfIndicator::oldLB_ [mutable, protected]

total weight (used to give an average indicator at the end of Couenne)

Definition at line 37 of file CouenneBTPerfIndicator.hpp.

double* Couenne::CouenneBTPerfIndicator::oldUB_ [mutable, protected]

old lower bounds (initial, i.e. before BT)

Definition at line 38 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::totalTime_ [mutable, protected]

old upper bounds

Definition at line 40 of file CouenneBTPerfIndicator.hpp.

int Couenne::CouenneBTPerfIndicator::nRuns_ [mutable, protected]

CPU time spent on this.

Definition at line 42 of file CouenneBTPerfIndicator.hpp.

number of runs

Definition at line 44 of file CouenneBTPerfIndicator.hpp.

Couenne problem info.

Definition at line 46 of file CouenneBTPerfIndicator.hpp.


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

Generated on 5 Jul 2015 by  doxygen 1.6.1