Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Couenne::CouenneBTPerfIndicator Class Reference

#include <CouenneBTPerfIndicator.hpp>

Public Member Functions

 CouenneBTPerfIndicator (CouenneProblem *p, const std::string &name)
 Should stats be printed at the end? Copied from problem_ -> Jnlst () -> ProduceOutput (ERROR, BOUNDTIGHTENING) More...
 
 ~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 More...
 
void update (const CouNumber *lb, const CouNumber *ub, int depth) const
 

Protected Attributes

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

Detailed Description

Definition at line 23 of file CouenneBTPerfIndicator.hpp.

Constructor & Destructor Documentation

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

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

Couenne::CouenneBTPerfIndicator::~CouenneBTPerfIndicator ( )
Couenne::CouenneBTPerfIndicator::CouenneBTPerfIndicator ( const CouenneBTPerfIndicator rhs)

Member Function Documentation

CouenneBTPerfIndicator& Couenne::CouenneBTPerfIndicator::operator= ( const CouenneBTPerfIndicator rhs)
void Couenne::CouenneBTPerfIndicator::setOldBounds ( const CouNumber lb,
const CouNumber ub 
) const
void Couenne::CouenneBTPerfIndicator::addToTimer ( double  time) const

add to timer

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

Member Data Documentation

std::string Couenne::CouenneBTPerfIndicator::name_
protected

Definition at line 27 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::nFixed_
mutableprotected

Whose performance is this?

Definition at line 29 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::boundRatio_
mutableprotected

number of fixed variables

Definition at line 30 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::shrunkInf_
mutableprotected

average bound width shrinkage

Definition at line 31 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::shrunkDoubleInf_
mutableprotected

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

Definition at line 32 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::nProvedInfeas_
mutableprotected

average # bounds that went from doubly infinite to infinite

Definition at line 33 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::weightSum_
mutableprotected

average # proofs of infeasibility

Definition at line 35 of file CouenneBTPerfIndicator.hpp.

double* Couenne::CouenneBTPerfIndicator::oldLB_
mutableprotected

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_
mutableprotected

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

Definition at line 38 of file CouenneBTPerfIndicator.hpp.

double Couenne::CouenneBTPerfIndicator::totalTime_
mutableprotected

old upper bounds

Definition at line 40 of file CouenneBTPerfIndicator.hpp.

int Couenne::CouenneBTPerfIndicator::nRuns_
mutableprotected

CPU time spent on this.

Definition at line 42 of file CouenneBTPerfIndicator.hpp.

CouenneProblem* Couenne::CouenneBTPerfIndicator::problem_
protected

number of runs

Definition at line 44 of file CouenneBTPerfIndicator.hpp.

bool Couenne::CouenneBTPerfIndicator::stats_
protected

Couenne problem info.

Definition at line 46 of file CouenneBTPerfIndicator.hpp.


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