Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::ZeroObjColSingletonPS Class Reference

Postsolves column singletons with zero objective. More...

Public Member Functions

 ZeroObjColSingletonPS (const SPxLPBase< R > &lp, const SPxMainSM &, int _j, int _i, std::shared_ptr< Tolerances > tols)
 
 ZeroObjColSingletonPS (const ZeroObjColSingletonPS &old)
 copy constructor More...
 
ZeroObjColSingletonPSoperator= (const ZeroObjColSingletonPS &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_j
 
const int m_i
 
const int m_old_j
 
const R m_lhs
 
const R m_rhs
 
const R m_lower
 
const R m_upper
 
DSVectorBase< R > m_row
 

Detailed Description

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

Postsolves column singletons with zero objective.

Definition at line 689 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ZeroObjColSingletonPS() [1/2]

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

Definition at line 703 of file spxmainsm.h.

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

◆ ZeroObjColSingletonPS() [2/2]

copy constructor

Definition at line 716 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 739 of file spxmainsm.h.

References soplex::spx_alloc(), and SPxMainSM< R >::ZeroObjColSingletonPS::ZeroObjColSingletonPS().

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

ZeroObjColSingletonPS & operator= ( const ZeroObjColSingletonPS rhs)

assignment operator

Definition at line 728 of file spxmainsm.h.

References SPxMainSM< R >::ZeroObjColSingletonPS::m_row, and SPxMainSM< R >::PostStep::operator=().

Member Data Documentation

◆ m_i

const int m_i
private

Definition at line 693 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 692 of file spxmainsm.h.

◆ m_lhs

const R m_lhs
private

Definition at line 695 of file spxmainsm.h.

◆ m_lower

const R m_lower
private

Definition at line 697 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 694 of file spxmainsm.h.

◆ m_rhs

const R m_rhs
private

Definition at line 696 of file spxmainsm.h.

◆ m_row

DSVectorBase<R> m_row
private

Definition at line 699 of file spxmainsm.h.

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

◆ m_upper

const R m_upper
private

Definition at line 698 of file spxmainsm.h.