Scippy

SoPlex

Sequential object-oriented simPlex

SoPlexBase< R >::Statistics< R > Class Template Reference

#include <statistics.h>

Public Member Functions

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

Public Attributes

Data
TimerreadingTime
 reading time not included in solving time More...
 
TimersolvingTime
 solving time More...
 
TimerpreprocessingTime
 preprocessing time More...
 
TimersimplexTime
 simplex time More...
 
TimersyncTime
 time for synchronization between real and rational LP (included in solving time) More...
 
TimertransformTime
 time for transforming LPs (included in solving time) More...
 
TimerrationalTime
 time for rational LP solving (included in solving time) More...
 
TimerinitialPrecisionTime
 solving time with initial precision (included in solving time) More...
 
TimerextendedPrecisionTime
 solving time with extended precision (included in solving time) More...
 
TimerreconstructionTime
 time for rational reconstructions More...
 
TimerboostingStepTime
 time for the precision boosting step: boost, load LP, load basis, decrease tols (included in solving time) More...
 
Timer::TYPE timerType
 type of timer (user or wallclock) More...
 
Real multTimeSparse
 time for computing A*x exploiting sparsity (setupPupdate(), PRICE step) More...
 
Real multTimeFull
 time for computing A*x ignoring sparsity (setupPupdate(), PRICE step) More...
 
Real multTimeColwise
 time for computing A*x columnwise (setupPupdate(), PRICE step) More...
 
Real multTimeUnsetup
 time for computing A*x w/o sparsity information (setupPupdate(), PRICE step) More...
 
int multSparseCalls
 number of products A*x exploiting sparsity (setupPupdate(), PRICE step) More...
 
int multFullCalls
 number of products A*x ignoring sparsity (setupPupdate(), PRICE step) More...
 
int multColwiseCalls
 number of products A*x columnwise (setupPupdate(), PRICE step) More...
 
int multUnsetupCalls
 number of products A*x w/o sparsity information (setupPupdate(), PRICE step) More...
 
Real luFactorizationTimeReal
 time for factorizing bases matrices in real precision More...
 
Real luSolveTimeReal
 time for solving linear systems in real precision More...
 
Real luFactorizationTimeRational
 time for factorizing bases matrices in rational precision More...
 
Real luSolveTimeRational
 time for solving linear systems in rational precision More...
 
Real fpTime
 time for first floating-point LP solve More...
 
int iterations
 number of iterations/pivots More...
 
int iterationsPrimal
 number of iterations with Primal More...
 
int iterationsFromBasis
 number of iterations from Basis More...
 
int iterationsPolish
 number of iterations during solution polishing More...
 
int iterationsFP
 number of iterations/pivots in first floating-point solve More...
 
int boundflips
 number of dual bound flips More...
 
int boostedIterations
 number of iterations/pivots in extended precision More...
 
int boostedIterationsPrimal
 number of iterations with Primal More...
 
int boostedIterationsFromBasis
 number of iterations from Basis More...
 
int boostedIterationsPolish
 number of iterations during solution polishing More...
 
int boostedBoundflips
 number of dual bound flips More...
 
int luFactorizationsReal
 number of basis matrix factorizations in real precision More...
 
int luSolvesReal
 number of (forward and backward) solves with basis matrix in real precision More...
 
int luFactorizationsRational
 number of basis matrix factorizations in rational precision More...
 
int rationalReconstructions
 number of rational reconstructions performed More...
 
int refinements
 number of refinement steps More...
 
int stallRefinements
 number of refinement steps without pivots More...
 
int pivotRefinements
 number of refinement steps until final basis is reached More...
 
int feasRefinements
 number of refinement steps during infeasibility test More...
 
int unbdRefinements
 number of refinement steps during undboundedness test More...
 
int precBoosts
 number of precision boosts More...
 
int stallPrecBoosts
 number of precision boosts without pivots More...
 
int pivotPrecBoosts
 number of precision boosts until final basis is reached More...
 
int feasPrecBoosts
 number of precision boosts during infeasibility test More...
 
int unbdPrecBoosts
 number of precision boosts during undboundedness test More...
 
int callsReducedProb
 number of times the reduced problem is solved. This includes the initial solve. More...
 
int iterationsInit
 number of iterations in the initial LP More...
 
int iterationsRedProb
 number of iterations of the reduced problem More...
 
int iterationsCompProb
 number of iterations of the complementary problem More...
 
int numRedProbRows
 number of rows in the reduced problem More...
 
int numRedProbCols
 number of columns in the reduced problem More...
 
int degenPivotsPrimal
 number of primal degenerate pivots More...
 
int degenPivotsDual
 number of dual degenerate pivots More...
 
int degenPivotCandPrimal
 number of pivoting candidates that will produce a degenerate step in the primal More...
 
int degenPivotCandDual
 number of pivoting candidates that will produce a degenerate step in the dual More...
 
sumDualDegen
 the sum of the rate of dual degeneracy at each iteration More...
 
sumPrimalDegen
 the sum of the rate of primal degeneracy at each iteration More...
 
totalBoundViol
 the sum of the bound violations in the original problem using the red prob sol More...
 
totalRowViol
 the sum of the row violations in the original problem using the red prob sol More...
 
maxBoundViol
 the max bound violation in the original problem using the red prob sol More...
 
maxRowViol
 the max row violations in the original problem using the red prob sol More...
 
int redProbStatus
 status of the reduced problem More...
 
int compProbStatus
 status of the complementary problem More...
 
finalCompObj
 the final objective function of the complementary problem More...
 
finalBasisCondition
 condition number estimate of the optimal basis matrix More...
 

Detailed Description

template<class R>
template<class R>
class soplex::SoPlexBase< R >::Statistics< R >

Definition at line 43 of file statistics.h.

Constructor & Destructor Documentation

◆ Statistics() [1/2]

default constructor

◆ Statistics() [2/2]

Statistics ( const Statistics< R > &  base)

copy constructor

◆ ~Statistics()

~Statistics ( )

destructor

Definition at line 62 of file statistics.h.

References print(), and soplex::spx_free().

Member Function Documentation

◆ clearAllData()

void clearAllData ( )

clears all statistics

◆ clearSolvingData()

void clearSolvingData ( )

clears statistics on solving process

◆ operator=()

Statistics& operator= ( const Statistics< R > &  rhs)

assignment operator

◆ print()

void print ( std::ostream &  os)

prints statistics

Member Data Documentation

◆ boostedBoundflips

int boostedBoundflips

number of dual bound flips

Definition at line 142 of file statistics.h.

◆ boostedIterations

int boostedIterations

number of iterations/pivots in extended precision

Definition at line 138 of file statistics.h.

◆ boostedIterationsFromBasis

int boostedIterationsFromBasis

number of iterations from Basis

Definition at line 140 of file statistics.h.

◆ boostedIterationsPolish

int boostedIterationsPolish

number of iterations during solution polishing

Definition at line 141 of file statistics.h.

◆ boostedIterationsPrimal

int boostedIterationsPrimal

number of iterations with Primal

Definition at line 139 of file statistics.h.

◆ boostingStepTime

Timer* boostingStepTime

time for the precision boosting step: boost, load LP, load basis, decrease tols (included in solving time)

Definition at line 115 of file statistics.h.

◆ boundflips

int boundflips

number of dual bound flips

Definition at line 137 of file statistics.h.

◆ callsReducedProb

int callsReducedProb

number of times the reduced problem is solved. This includes the initial solve.

Definition at line 159 of file statistics.h.

◆ compProbStatus

int compProbStatus

status of the complementary problem

Definition at line 176 of file statistics.h.

◆ degenPivotCandDual

int degenPivotCandDual

number of pivoting candidates that will produce a degenerate step in the dual

Definition at line 168 of file statistics.h.

◆ degenPivotCandPrimal

int degenPivotCandPrimal

number of pivoting candidates that will produce a degenerate step in the primal

Definition at line 167 of file statistics.h.

◆ degenPivotsDual

int degenPivotsDual

number of dual degenerate pivots

Definition at line 166 of file statistics.h.

◆ degenPivotsPrimal

int degenPivotsPrimal

number of primal degenerate pivots

Definition at line 165 of file statistics.h.

◆ extendedPrecisionTime

Timer* extendedPrecisionTime

solving time with extended precision (included in solving time)

Definition at line 113 of file statistics.h.

◆ feasPrecBoosts

int feasPrecBoosts

number of precision boosts during infeasibility test

Definition at line 155 of file statistics.h.

◆ feasRefinements

int feasRefinements

number of refinement steps during infeasibility test

Definition at line 150 of file statistics.h.

◆ finalBasisCondition

R finalBasisCondition

condition number estimate of the optimal basis matrix

Definition at line 180 of file statistics.h.

◆ finalCompObj

R finalCompObj

the final objective function of the complementary problem

Definition at line 177 of file statistics.h.

◆ fpTime

Real fpTime

time for first floating-point LP solve

Definition at line 131 of file statistics.h.

◆ initialPrecisionTime

Timer* initialPrecisionTime

solving time with initial precision (included in solving time)

Definition at line 112 of file statistics.h.

◆ iterations

int iterations

number of iterations/pivots

Definition at line 132 of file statistics.h.

◆ iterationsCompProb

int iterationsCompProb

number of iterations of the complementary problem

Definition at line 162 of file statistics.h.

◆ iterationsFP

int iterationsFP

number of iterations/pivots in first floating-point solve

Definition at line 136 of file statistics.h.

◆ iterationsFromBasis

int iterationsFromBasis

number of iterations from Basis

Definition at line 134 of file statistics.h.

◆ iterationsInit

int iterationsInit

number of iterations in the initial LP

Definition at line 160 of file statistics.h.

◆ iterationsPolish

int iterationsPolish

number of iterations during solution polishing

Definition at line 135 of file statistics.h.

◆ iterationsPrimal

int iterationsPrimal

number of iterations with Primal

Definition at line 133 of file statistics.h.

◆ iterationsRedProb

int iterationsRedProb

number of iterations of the reduced problem

Definition at line 161 of file statistics.h.

◆ luFactorizationsRational

int luFactorizationsRational

number of basis matrix factorizations in rational precision

Definition at line 145 of file statistics.h.

◆ luFactorizationsReal

int luFactorizationsReal

number of basis matrix factorizations in real precision

Definition at line 143 of file statistics.h.

◆ luFactorizationTimeRational

Real luFactorizationTimeRational

time for factorizing bases matrices in rational precision

Definition at line 129 of file statistics.h.

◆ luFactorizationTimeReal

Real luFactorizationTimeReal

time for factorizing bases matrices in real precision

Definition at line 127 of file statistics.h.

◆ luSolvesReal

int luSolvesReal

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

Definition at line 144 of file statistics.h.

◆ luSolveTimeRational

Real luSolveTimeRational

time for solving linear systems in rational precision

Definition at line 130 of file statistics.h.

◆ luSolveTimeReal

Real luSolveTimeReal

time for solving linear systems in real precision

Definition at line 128 of file statistics.h.

◆ maxBoundViol

R maxBoundViol

the max bound violation in the original problem using the red prob sol

Definition at line 173 of file statistics.h.

◆ maxRowViol

R maxRowViol

the max row violations in the original problem using the red prob sol

Definition at line 174 of file statistics.h.

◆ multColwiseCalls

int multColwiseCalls

number of products A*x columnwise (setupPupdate(), PRICE step)

Definition at line 124 of file statistics.h.

◆ multFullCalls

int multFullCalls

number of products A*x ignoring sparsity (setupPupdate(), PRICE step)

Definition at line 123 of file statistics.h.

◆ multSparseCalls

int multSparseCalls

number of products A*x exploiting sparsity (setupPupdate(), PRICE step)

Definition at line 122 of file statistics.h.

◆ multTimeColwise

Real multTimeColwise

time for computing A*x columnwise (setupPupdate(), PRICE step)

Definition at line 120 of file statistics.h.

◆ multTimeFull

Real multTimeFull

time for computing A*x ignoring sparsity (setupPupdate(), PRICE step)

Definition at line 119 of file statistics.h.

◆ multTimeSparse

Real multTimeSparse

time for computing A*x exploiting sparsity (setupPupdate(), PRICE step)

Definition at line 118 of file statistics.h.

◆ multTimeUnsetup

Real multTimeUnsetup

time for computing A*x w/o sparsity information (setupPupdate(), PRICE step)

Definition at line 121 of file statistics.h.

◆ multUnsetupCalls

int multUnsetupCalls

number of products A*x w/o sparsity information (setupPupdate(), PRICE step)

Definition at line 125 of file statistics.h.

◆ numRedProbCols

int numRedProbCols

number of columns in the reduced problem

Definition at line 164 of file statistics.h.

◆ numRedProbRows

int numRedProbRows

number of rows in the reduced problem

Definition at line 163 of file statistics.h.

◆ pivotPrecBoosts

int pivotPrecBoosts

number of precision boosts until final basis is reached

Definition at line 154 of file statistics.h.

◆ pivotRefinements

int pivotRefinements

number of refinement steps until final basis is reached

Definition at line 149 of file statistics.h.

◆ precBoosts

int precBoosts

number of precision boosts

Definition at line 152 of file statistics.h.

◆ preprocessingTime

Timer* preprocessingTime

preprocessing time

Definition at line 107 of file statistics.h.

◆ rationalReconstructions

int rationalReconstructions

number of rational reconstructions performed

Definition at line 146 of file statistics.h.

◆ rationalTime

Timer* rationalTime

time for rational LP solving (included in solving time)

Definition at line 111 of file statistics.h.

◆ readingTime

Timer* readingTime

reading time not included in solving time

Definition at line 105 of file statistics.h.

◆ reconstructionTime

Timer* reconstructionTime

time for rational reconstructions

Definition at line 114 of file statistics.h.

◆ redProbStatus

int redProbStatus

status of the reduced problem

Definition at line 175 of file statistics.h.

◆ refinements

int refinements

number of refinement steps

Definition at line 147 of file statistics.h.

◆ simplexTime

Timer* simplexTime

simplex time

Definition at line 108 of file statistics.h.

◆ solvingTime

Timer* solvingTime

solving time

Definition at line 106 of file statistics.h.

◆ stallPrecBoosts

int stallPrecBoosts

number of precision boosts without pivots

Definition at line 153 of file statistics.h.

◆ stallRefinements

int stallRefinements

number of refinement steps without pivots

Definition at line 148 of file statistics.h.

◆ sumDualDegen

R sumDualDegen

the sum of the rate of dual degeneracy at each iteration

Definition at line 169 of file statistics.h.

◆ sumPrimalDegen

R sumPrimalDegen

the sum of the rate of primal degeneracy at each iteration

Definition at line 170 of file statistics.h.

◆ syncTime

Timer* syncTime

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

Definition at line 109 of file statistics.h.

◆ timerType

Timer::TYPE timerType

type of timer (user or wallclock)

Definition at line 116 of file statistics.h.

◆ totalBoundViol

R totalBoundViol

the sum of the bound violations in the original problem using the red prob sol

Definition at line 171 of file statistics.h.

◆ totalRowViol

R totalRowViol

the sum of the row violations in the original problem using the red prob sol

Definition at line 172 of file statistics.h.

◆ transformTime

Timer* transformTime

time for transforming LPs (included in solving time)

Definition at line 110 of file statistics.h.

◆ unbdPrecBoosts

int unbdPrecBoosts

number of precision boosts during undboundedness test

Definition at line 156 of file statistics.h.

◆ unbdRefinements

int unbdRefinements

number of refinement steps during undboundedness test

Definition at line 151 of file statistics.h.