SoPlex Documentation
Loading...
Searching...
No Matches
SPxMainSM< R >::PostStep Class Referenceabstract

Base class for postsolving operations. More...

Inheritance diagram for SPxMainSM< R >::PostStep:
SPxMainSM< R >::AggregationPS SPxMainSM< R >::DoubletonEquationPS SPxMainSM< R >::DuplicateColsPS SPxMainSM< R >::DuplicateRowsPS SPxMainSM< R >::EmptyConstraintPS SPxMainSM< R >::FixBoundsPS SPxMainSM< R >::FixVariablePS SPxMainSM< R >::ForceConstraintPS SPxMainSM< R >::FreeColSingletonPS SPxMainSM< R >::FreeConstraintPS SPxMainSM< R >::FreeZeroObjVariablePS SPxMainSM< R >::MultiAggregationPS SPxMainSM< R >::RowObjPS SPxMainSM< R >::RowSingletonPS SPxMainSM< R >::TightenBoundsPS SPxMainSM< R >::ZeroObjColSingletonPS

Public Member Functions

 PostStep (const char *p_name, std::shared_ptr< Tolerances > tols, int nR=0, int nC=0)
 constructor.
 
 PostStep (const PostStep &old)
 copy constructor.
 
PostStepoperator= (const PostStep &)
 assignment operator
 
virtual ~PostStep ()
 destructor.
 
virtual const char * getName () const
 get name of simplifying step.
 
virtual PostStepclone () const =0
 clone function for polymorphism
 
virtual void execute (VectorBase< R > &x, VectorBase< R > &y, VectorBase< R > &s, VectorBase< R > &r, DataArray< typename SPxSolverBase< R >::VarStatus > &cBasis, DataArray< typename SPxSolverBase< R >::VarStatus > &rBasis, bool isOptimal) const =0
 executes the postsolving.
 
virtual bool checkBasisDim (DataArray< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
 
virtual R feastol () const
 
virtual R epsilon () const
 

Private Attributes

const char * m_name
 name of the simplifier
 
int nCols
 number of cols
 
int nRows
 number of rows
 
std::shared_ptr< Tolerances_tolerances
 0-epsilon of this poststep
 

Detailed Description

template<class R>
class soplex::SPxMainSM< R >::PostStep

Base class for postsolving operations.

Class PostStep is an abstract base class providing the interface for operations in the postsolving process.

Definition at line 84 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ PostStep() [1/2]

template<class R >
PostStep ( const char * p_name,
std::shared_ptr< Tolerances > tols,
int nR = 0,
int nC = 0 )

constructor.

Definition at line 98 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::_tolerances.

◆ PostStep() [2/2]

template<class R >
PostStep ( const PostStep & old)

copy constructor.

Definition at line 106 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::_tolerances.

◆ ~PostStep()

template<class R >
virtual ~PostStep ( )
virtual

destructor.

Definition at line 119 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::m_name.

Member Function Documentation

◆ checkBasisDim()

template<class R >
virtual bool checkBasisDim ( DataArray< typename SPxSolverBase< R >::VarStatus > rows,
DataArray< typename SPxSolverBase< R >::VarStatus > cols ) const
virtual

◆ clone()

◆ epsilon()

template<class R >
virtual R epsilon ( ) const
virtual

Definition at line 149 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::_tolerances.

◆ execute()

◆ feastol()

template<class R >
virtual R feastol ( ) const
virtual

Definition at line 144 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::_tolerances.

◆ getName()

template<class R >
virtual const char * getName ( ) const
virtual

get name of simplifying step.

Definition at line 124 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::m_name.

◆ operator=()

Member Data Documentation

◆ _tolerances

template<class R >
std::shared_ptr<Tolerances> _tolerances
private

◆ m_name

template<class R >
const char* m_name
private

name of the simplifier

Definition at line 88 of file spxmainsm.h.

Referenced by SPxMainSM< R >::PostStep::getName(), and SPxMainSM< R >::PostStep::~PostStep().

◆ nCols

template<class R >
int nCols
private

number of cols

Definition at line 90 of file spxmainsm.h.

◆ nRows

template<class R >
int nRows
private

number of rows

Definition at line 92 of file spxmainsm.h.