Scippy

SoPlex

Sequential object-oriented simPlex

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

Inheritance diagram for SPxMainSM::PostStep:

Public Member Functions

 PostStep (const char *p_name, 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 (DVector &x, DVector &y, DVector &s, DVector &r, DataArray< SPxSolver::VarStatus > &cBasis, DataArray< SPxSolver::VarStatus > &rBasis) const =0
 executes the postsolving.
 
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
 
int nCols
 number of cols
 
int nRows
 number of rows
 

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 ( const char *  p_name,
int  nR = 0,
int  nC = 0 
)

constructor.

Definition at line 85 of file spxmainsm.h.

PostStep ( const PostStep old)

copy constructor.

Definition at line 91 of file spxmainsm.h.

virtual ~PostStep ( )
virtual

destructor.

Definition at line 102 of file spxmainsm.h.

References SPxMainSM::PostStep::m_name.

Member Function Documentation

bool checkBasisDim ( DataArray< SPxSolver::VarStatus rows,
DataArray< SPxSolver::VarStatus cols 
) const
virtual
static Real eps ( )
static

Definition at line 119 of file spxmainsm.h.

Referenced by SPxMainSM::FixBoundsPS::FixBoundsPS().

virtual const char* getName ( ) const
virtual

get name of simplifying step.

Definition at line 107 of file spxmainsm.h.

References SPxMainSM::PostStep::m_name.

Member Data Documentation

const char* m_name
private

name of the simplifier

Definition at line 77 of file spxmainsm.h.

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

int nCols
private

number of cols

Definition at line 79 of file spxmainsm.h.

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

int nRows
private

number of rows

Definition at line 81 of file spxmainsm.h.

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