Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::RowSingletonPS Class Reference

Postsolves row singletons. More...

Public Member Functions

 RowSingletonPS (const SPxLPBase< R > &lp, int _i, int _j, bool strictLo, bool strictUp, R newLo, R newUp, R oldLo, R oldUp, std::shared_ptr< Tolerances > tols)
 
 RowSingletonPS (const RowSingletonPS &old)
 copy constructor More...
 
RowSingletonPSoperator= (const RowSingletonPS &rhs)
 assignment operator More...
 
virtual PostStepclone () const
 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
 
- 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

const int m_i
 
const int m_old_i
 
const int m_j
 
const R m_lhs
 
const R m_rhs
 
const bool m_strictLo
 
const bool m_strictUp
 
const bool m_maxSense
 
const R m_obj
 
DSVectorBase< R > m_col
 
const R m_newLo
 
const R m_newUp
 
const R m_oldLo
 
const R m_oldUp
 
const R m_row_obj
 

Detailed Description

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

Postsolves row singletons.

Definition at line 302 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ RowSingletonPS() [1/2]

RowSingletonPS ( const SPxLPBase< R > &  lp,
int  _i,
int  _j,
bool  strictLo,
bool  strictUp,
newLo,
newUp,
oldLo,
oldUp,
std::shared_ptr< Tolerances tols 
)

Definition at line 323 of file spxmainsm.h.

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

◆ RowSingletonPS() [2/2]

RowSingletonPS ( const RowSingletonPS old)

copy constructor

Definition at line 343 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 373 of file spxmainsm.h.

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

◆ 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=()

RowSingletonPS & operator= ( const RowSingletonPS rhs)

assignment operator

Definition at line 362 of file spxmainsm.h.

References SPxMainSM< R >::RowSingletonPS::m_col, and SPxMainSM< R >::PostStep::operator=().

Member Data Documentation

◆ m_col

DSVectorBase<R> m_col
private

Definition at line 314 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 305 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 307 of file spxmainsm.h.

◆ m_lhs

const R m_lhs
private

Definition at line 308 of file spxmainsm.h.

◆ m_maxSense

const bool m_maxSense
private

Definition at line 312 of file spxmainsm.h.

◆ m_newLo

const R m_newLo
private

Definition at line 315 of file spxmainsm.h.

◆ m_newUp

const R m_newUp
private

Definition at line 316 of file spxmainsm.h.

◆ m_obj

const R m_obj
private

Definition at line 313 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 306 of file spxmainsm.h.

◆ m_oldLo

const R m_oldLo
private

Definition at line 317 of file spxmainsm.h.

◆ m_oldUp

const R m_oldUp
private

Definition at line 318 of file spxmainsm.h.

◆ m_rhs

const R m_rhs
private

Definition at line 309 of file spxmainsm.h.

◆ m_row_obj

const R m_row_obj
private

Definition at line 319 of file spxmainsm.h.

◆ m_strictLo

const bool m_strictLo
private

Definition at line 310 of file spxmainsm.h.

◆ m_strictUp

const bool m_strictUp
private

Definition at line 311 of file spxmainsm.h.