Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::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 (DVector &x, DVector &y, DVector &s, DVector &r, DataArray< SPxSolver::VarStatus > &cBasis, DataArray< SPxSolver::VarStatus > &rBasis, bool isOptimal) const =0
 executes the postsolving. More...
 
virtual bool checkBasisDim (DataArray< SPxSolver::VarStatus > rows, DataArray< SPxSolver::VarStatus > cols) const
 

Static Public Member Functions

static Real 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

Base class for postsolving operations.

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

Definition at line 73 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 85 of file spxmainsm.h.

◆ PostStep() [2/2]

PostStep ( const PostStep old)

copy constructor.

Definition at line 91 of file spxmainsm.h.

◆ ~PostStep()

virtual ~PostStep ( )
virtual

destructor.

Definition at line 102 of file spxmainsm.h.

Member Function Documentation

◆ checkBasisDim()

◆ clone()

◆ eps()

◆ execute()

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

Referenced by SPxMainSM::PostStep::getName().

◆ nCols

int nCols
private

number of cols

Definition at line 79 of file spxmainsm.h.

Referenced by SPxMainSM::PostStep::checkBasisDim().

◆ nRows

int nRows
private

number of rows

Definition at line 81 of file spxmainsm.h.

Referenced by SPxMainSM::PostStep::checkBasisDim().