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)
 
 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, 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 bool checkBasisDim (DataArray< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) 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
 

Additional Inherited Members

- Static Public Member Functions inherited from SPxMainSM< R >::PostStep
static R eps ()
 

Detailed Description

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

Postsolves row singletons.

Definition at line 282 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 
)

Definition at line 303 of file spxmainsm.h.

◆ RowSingletonPS() [2/2]

RowSingletonPS ( const RowSingletonPS old)

copy constructor

Definition at line 323 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 353 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::execute(), and SPxMainSM< R >::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 342 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 294 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 285 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 287 of file spxmainsm.h.

◆ m_lhs

const R m_lhs
private

Definition at line 288 of file spxmainsm.h.

◆ m_maxSense

const bool m_maxSense
private

Definition at line 292 of file spxmainsm.h.

◆ m_newLo

const R m_newLo
private

Definition at line 295 of file spxmainsm.h.

◆ m_newUp

const R m_newUp
private

Definition at line 296 of file spxmainsm.h.

◆ m_obj

const R m_obj
private

Definition at line 293 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 286 of file spxmainsm.h.

◆ m_oldLo

const R m_oldLo
private

Definition at line 297 of file spxmainsm.h.

◆ m_oldUp

const R m_oldUp
private

Definition at line 298 of file spxmainsm.h.

◆ m_rhs

const R m_rhs
private

Definition at line 289 of file spxmainsm.h.

◆ m_row_obj

const R m_row_obj
private

Definition at line 299 of file spxmainsm.h.

◆ m_strictLo

const bool m_strictLo
private

Definition at line 290 of file spxmainsm.h.

◆ m_strictUp

const bool m_strictUp
private

Definition at line 291 of file spxmainsm.h.