Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::PostStep Class Referenceabstract

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

Public Member Functions

 PostStep (const char *p_name, int nR=0, int nC=0)
 constructor. More...
 
 PostStep (const PostStep &old)
 copy constructor. More...
 
PostStepoperator= (const PostStep &)
 assignment operator More...
 
virtual ~PostStep ()
 destructor. More...
 
virtual const char * getName () const
 get name of simplifying step. More...
 
virtual PostStepclone () const =0
 clone function for polymorphism More...
 
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. More...
 
virtual bool checkBasisDim (DataArray< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
 

Static Public Member Functions

static R eps ()
 

Private Attributes

const char * m_name
 name of the simplifier More...
 
int nCols
 number of cols More...
 
int nRows
 number of rows More...
 

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 75 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ PostStep() [1/2]

PostStep ( const char *  p_name,
int  nR = 0,
int  nC = 0 
)

constructor.

Definition at line 87 of file spxmainsm.h.

◆ PostStep() [2/2]

PostStep ( const PostStep old)

copy constructor.

Definition at line 93 of file spxmainsm.h.

◆ ~PostStep()

virtual ~PostStep ( )
virtual

destructor.

Definition at line 104 of file spxmainsm.h.

Member Function Documentation

◆ checkBasisDim()

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

◆ clone()

◆ eps()

static R eps ( )
static

◆ execute()

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
pure virtual

◆ getName()

virtual const char* getName ( ) const
virtual

◆ operator=()

Member Data Documentation

◆ m_name

const char* m_name
private

name of the simplifier

Definition at line 79 of file spxmainsm.h.

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

◆ nCols

int nCols
private

number of cols

Definition at line 81 of file spxmainsm.h.

◆ nRows

int nRows
private

number of rows

Definition at line 83 of file spxmainsm.h.