Scippy

SoPlex

Sequential object-oriented simPlex

SoPlex::Statistics Class Reference

#include <statistics.h>

Public Member Functions

 Statistics (Timer::TYPE ttype=Timer::USER_TIME)
 default constructor
 
 Statistics (const Statistics &base)
 copy constructor
 
Statisticsoperator= (const Statistics &rhs)
 assignment operator
 
 ~Statistics ()
 destructor
 
void clearAllData ()
 clears all statistics
 
void clearSolvingData ()
 clears statistics on solving process
 
void print (std::ostream &os)
 prints statistics
 

Public Attributes

TimerreadingTime
 reading time not included in solving time
 
TimersolvingTime
 solving time
 
TimerpreprocessingTime
 preprocessing time
 
TimersimplexTime
 simplex time
 
TimersyncTime
 time for synchronization between real and rational LP (included in solving time)
 
TimertransformTime
 time for transforming LPs (included in solving time)
 
TimerrationalTime
 time for rational LP solving (included in solving time)
 
TimerreconstructionTime
 time for rational reconstructions
 
Timer::TYPE timerType
 type of timer (user or wallclock)
 
Real luFactorizationTimeReal
 time for factorizing bases matrices in real precision
 
Real luSolveTimeReal
 time for solving linear systems in real precision
 
Real luFactorizationTimeRational
 time for factorizing bases matrices in rational precision
 
Real luSolveTimeRational
 time for solving linear systems in rational precision
 
int iterations
 number of iterations/pivots
 
int iterationsPrimal
 number of iterations with Primal
 
int iterationsFromBasis
 number of iterations from Basis
 
int boundflips
 number of dual bound flips
 
int luFactorizationsReal
 number of basis matrix factorizations in real precision
 
int luSolvesReal
 number of (forward and backward) solves with basis matrix in real precision
 
int luFactorizationsRational
 number of basis matrix factorizations in rational precision
 
int rationalReconstructions
 number of rational reconstructions performed
 
int refinements
 number of refinement steps
 
int stallRefinements
 number of refinement steps without pivots
 
int pivotRefinements
 number of refinement steps until final basis is reached
 
int feasRefinements
 number of refinement steps during infeasibility test
 
int unbdRefinements
 number of refinement steps during undboundedness test
 

Detailed Description

Definition at line 34 of file statistics.h.

Constructor & Destructor Documentation

Statistics ( const Statistics base)

copy constructor

Definition at line 42 of file statistics.cpp.

References TimerFactory::createTimer(), and SoPlex::Statistics::timerType.

Member Function Documentation

void clearAllData ( )

clears all statistics

Definition at line 90 of file statistics.cpp.

Referenced by SoPlex::_readFileRational(), SoPlex::_readFileReal(), and SoPlex::Statistics::Statistics().

void clearSolvingData ( )

clears statistics on solving process

Definition at line 97 of file statistics.cpp.

Referenced by SoPlex::solve().

void print ( std::ostream &  os)

prints statistics

Definition at line 126 of file statistics.cpp.

Referenced by SoPlex::printSolvingStatistics().

Member Data Documentation

int boundflips

number of dual bound flips

Definition at line 104 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), and SoPlex::Statistics::operator=().

int feasRefinements

number of refinement steps during infeasibility test

Definition at line 112 of file statistics.h.

Referenced by SoPlex::_performFeasIRStable(), and SoPlex::Statistics::operator=().

int iterationsFromBasis

number of iterations from Basis

Definition at line 103 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), and SoPlex::Statistics::operator=().

int iterationsPrimal

number of iterations with Primal

Definition at line 102 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), and SoPlex::Statistics::operator=().

int luFactorizationsRational

number of basis matrix factorizations in rational precision

Definition at line 107 of file statistics.h.

Referenced by SoPlex::_factorizeColumnRational(), and SoPlex::Statistics::operator=().

int luFactorizationsReal

number of basis matrix factorizations in real precision

Definition at line 105 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), SoPlex::Statistics::operator=(), and SoPlex::statisticString().

Real luFactorizationTimeRational

time for factorizing bases matrices in rational precision

Definition at line 99 of file statistics.h.

Referenced by SoPlex::_factorizeColumnRational(), and SoPlex::Statistics::operator=().

Real luFactorizationTimeReal

time for factorizing bases matrices in real precision

Definition at line 97 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), SoPlex::Statistics::operator=(), and SoPlex::statisticString().

int luSolvesReal

number of (forward and backward) solves with basis matrix in real precision

Definition at line 106 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), SoPlex::Statistics::operator=(), and SoPlex::statisticString().

Real luSolveTimeRational

time for solving linear systems in rational precision

Definition at line 100 of file statistics.h.

Referenced by SoPlex::_factorizeColumnRational(), and SoPlex::Statistics::operator=().

Real luSolveTimeReal

time for solving linear systems in real precision

Definition at line 98 of file statistics.h.

Referenced by SoPlex::_solveRealLPAndRecordStatistics(), SoPlex::Statistics::operator=(), and SoPlex::statisticString().

int pivotRefinements

number of refinement steps until final basis is reached

Definition at line 111 of file statistics.h.

Referenced by SoPlex::_performOptIRStable(), and SoPlex::Statistics::operator=().

int rationalReconstructions

number of rational reconstructions performed

Definition at line 108 of file statistics.h.

Referenced by SoPlex::_reconstructSolutionRational(), and SoPlex::Statistics::operator=().

Timer* rationalTime
Timer* reconstructionTime
int stallRefinements

number of refinement steps without pivots

Definition at line 110 of file statistics.h.

Referenced by SoPlex::_isSolveStopped(), SoPlex::_performOptIRStable(), and SoPlex::Statistics::operator=().

Timer* syncTime

time for synchronization between real and rational LP (included in solving time)

Definition at line 92 of file statistics.h.

Referenced by SoPlex::_solveRealForRational(), SoPlex::_syncLPRational(), SoPlex::_syncLPReal(), SoPlex::Statistics::operator=(), SoPlex::Statistics::Statistics(), and SoPlex::Statistics::~Statistics().

Timer::TYPE timerType

type of timer (user or wallclock)

Definition at line 96 of file statistics.h.

Referenced by SoPlex::Statistics::operator=(), and SoPlex::Statistics::Statistics().

int unbdRefinements

number of refinement steps during undboundedness test

Definition at line 113 of file statistics.h.

Referenced by SoPlex::_performUnboundedIRStable(), and SoPlex::Statistics::operator=().