Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::RowObjPS Class Reference

Postsolves row objectives. More...

Public Member Functions

 RowObjPS (const SPxLPBase< R > &lp, int _i, int _j, std::shared_ptr< Tolerances > tols)
 
 RowObjPS (const RowObjPS &old)
 copy constructor More...
 
RowObjPSoperator= (const RowObjPS &rhs)
 assignment operator 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
 
virtual PostStepclone () const
 clone function for polymorphism More...
 
- Public Member Functions inherited from SPxMainSM< R >::PostStep
 PostStep (const char *p_name, std::shared_ptr< Tolerances > tols, 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
 
virtual R feastol () const
 
virtual R epsilon () const
 

Private Attributes

int m_i
 row index More...
 
int m_j
 slack column index More...
 

Detailed Description

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

Postsolves row objectives.

Definition at line 158 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ RowObjPS() [1/2]

RowObjPS ( const SPxLPBase< R > &  lp,
int  _i,
int  _j,
std::shared_ptr< Tolerances tols 
)

Definition at line 166 of file spxmainsm.h.

Referenced by SPxMainSM< R >::RowObjPS::clone().

◆ RowObjPS() [2/2]

RowObjPS ( const RowObjPS old)

copy constructor

Definition at line 172 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 193 of file spxmainsm.h.

References SPxMainSM< R >::RowObjPS::RowObjPS().

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

◆ operator=()

RowObjPS & operator= ( const RowObjPS rhs)

assignment operator

Definition at line 178 of file spxmainsm.h.

References SPxMainSM< R >::RowObjPS::m_i, and SPxMainSM< R >::RowObjPS::m_j.

Member Data Documentation

◆ m_i

int m_i
private

row index

Definition at line 161 of file spxmainsm.h.

Referenced by SPxMainSM< R >::RowObjPS::operator=().

◆ m_j

int m_j
private

slack column index

Definition at line 162 of file spxmainsm.h.

Referenced by SPxMainSM< R >::RowObjPS::operator=().