Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::DoubletonEquationPS Class Reference

Postsolves doubleton equations combined with a column singleton. More...

Public Member Functions

 DoubletonEquationPS (const SPxLPBase< R > &lp, int _j, int _k, int _i, R oldLo, R oldUp, std::shared_ptr< Tolerances > tols)
 
 DoubletonEquationPS (const DoubletonEquationPS &old)
 copy constructor More...
 
DoubletonEquationPSoperator= (const DoubletonEquationPS &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_k
 
const int m_i
 
const bool m_maxSense
 
const bool m_jFixed
 
const R m_jObj
 
const R m_kObj
 
const R m_aij
 
const bool m_strictLo
 
const bool m_strictUp
 
const R m_newLo
 
const R m_newUp
 
const R m_oldLo
 
const R m_oldUp
 
const R m_Lo_j
 
const R m_Up_j
 
const R m_lhs
 
const R m_rhs
 
DSVectorBase< R > m_col
 

Detailed Description

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

Postsolves doubleton equations combined with a column singleton.

Definition at line 825 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ DoubletonEquationPS() [1/2]

DoubletonEquationPS ( const SPxLPBase< R > &  lp,
int  _j,
int  _k,
int  _i,
oldLo,
oldUp,
std::shared_ptr< Tolerances tols 
)

Definition at line 850 of file spxmainsm.h.

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

◆ DoubletonEquationPS() [2/2]

copy constructor

Definition at line 874 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 908 of file spxmainsm.h.

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

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

DoubletonEquationPS & operator= ( const DoubletonEquationPS rhs)

assignment operator

Definition at line 897 of file spxmainsm.h.

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

Member Data Documentation

◆ m_aij

const R m_aij
private

Definition at line 835 of file spxmainsm.h.

◆ m_col

DSVectorBase<R> m_col
private

Definition at line 846 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 830 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 828 of file spxmainsm.h.

◆ m_jFixed

const bool m_jFixed
private

Definition at line 832 of file spxmainsm.h.

◆ m_jObj

const R m_jObj
private

Definition at line 833 of file spxmainsm.h.

◆ m_k

const int m_k
private

Definition at line 829 of file spxmainsm.h.

◆ m_kObj

const R m_kObj
private

Definition at line 834 of file spxmainsm.h.

◆ m_lhs

const R m_lhs
private

Definition at line 844 of file spxmainsm.h.

◆ m_Lo_j

const R m_Lo_j
private

Definition at line 842 of file spxmainsm.h.

◆ m_maxSense

const bool m_maxSense
private

Definition at line 831 of file spxmainsm.h.

◆ m_newLo

const R m_newLo
private

Definition at line 838 of file spxmainsm.h.

◆ m_newUp

const R m_newUp
private

Definition at line 839 of file spxmainsm.h.

◆ m_oldLo

const R m_oldLo
private

Definition at line 840 of file spxmainsm.h.

◆ m_oldUp

const R m_oldUp
private

Definition at line 841 of file spxmainsm.h.

◆ m_rhs

const R m_rhs
private

Definition at line 845 of file spxmainsm.h.

◆ m_strictLo

const bool m_strictLo
private

Definition at line 836 of file spxmainsm.h.

◆ m_strictUp

const bool m_strictUp
private

Definition at line 837 of file spxmainsm.h.

◆ m_Up_j

const R m_Up_j
private

Definition at line 843 of file spxmainsm.h.