SoPlex Documentation
Loading...
Searching...
No Matches
SPxMainSM< R >::FreeColSingletonPS Class Reference

Postsolves free column singletons. More...

Inheritance diagram for SPxMainSM< R >::FreeColSingletonPS:
SPxMainSM< R >::PostStep

Public Member Functions

 FreeColSingletonPS (const SPxLPBase< R > &lp, SPxMainSM &simplifier, int _j, int _i, R slackVal, std::shared_ptr< Tolerances > tols)
 
 FreeColSingletonPS (const FreeColSingletonPS &old)
 copy constructor
 
FreeColSingletonPSoperator= (const FreeColSingletonPS &rhs)
 assignment operator
 
virtual PostStepclone () const
 clone function for polymorphism
 
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.
 
 PostStep (const PostStep &old)
 copy constructor.
 
PostStepoperator= (const PostStep &)
 assignment operator
 
virtual ~PostStep ()
 destructor.
 
virtual const char * getName () const
 get name of simplifying step.
 
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 int m_old_i
 
const R m_obj
 
const R m_lRhs
 
const bool m_onLhs
 
const bool m_eqCons
 
DSVectorBase< R > m_row
 

Detailed Description

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

Postsolves free column singletons.

Definition at line 754 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FreeColSingletonPS() [1/2]

template<class R >
FreeColSingletonPS ( const SPxLPBase< R > & lp,
SPxMainSM & simplifier,
int _j,
int _i,
R slackVal,
std::shared_ptr< Tolerances > tols )

◆ FreeColSingletonPS() [2/2]

template<class R >
FreeColSingletonPS ( const FreeColSingletonPS & old)

copy constructor

Definition at line 786 of file spxmainsm.h.

Member Function Documentation

◆ clone()

template<class R >
virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 810 of file spxmainsm.h.

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

◆ execute()

template<class R >
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=()

template<class R >
FreeColSingletonPS & operator= ( const FreeColSingletonPS & rhs)

assignment operator

Definition at line 799 of file spxmainsm.h.

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

Member Data Documentation

◆ m_eqCons

template<class R >
const bool m_eqCons
private

Definition at line 764 of file spxmainsm.h.

◆ m_i

template<class R >
const int m_i
private

Definition at line 758 of file spxmainsm.h.

◆ m_j

template<class R >
const int m_j
private

Definition at line 757 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeColSingletonPS::FreeColSingletonPS().

◆ m_lRhs

template<class R >
const R m_lRhs
private

Definition at line 762 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeColSingletonPS::FreeColSingletonPS().

◆ m_obj

template<class R >
const R m_obj
private

Definition at line 761 of file spxmainsm.h.

◆ m_old_i

template<class R >
const int m_old_i
private

Definition at line 760 of file spxmainsm.h.

◆ m_old_j

template<class R >
const int m_old_j
private

Definition at line 759 of file spxmainsm.h.

◆ m_onLhs

template<class R >
const bool m_onLhs
private

Definition at line 763 of file spxmainsm.h.

◆ m_row

template<class R >
DSVectorBase<R> m_row
private