Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::AggregationPS Class Reference

Postsolves aggregation. More...

Public Member Functions

 AggregationPS (const SPxLPBase< R > &lp, int _i, int _j, R rhs, R oldupper, R oldlower, std::shared_ptr< Tolerances > tols)
 
 AggregationPS (const AggregationPS &old)
 copy constructor More...
 
AggregationPSoperator= (const AggregationPS &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 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_upper
 
const R m_lower
 
const R m_obj
 
const R m_oldupper
 
const R m_oldlower
 
const R m_rhs
 
DSVectorBase< R > m_row
 
DSVectorBase< R > m_col
 

Detailed Description

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

Postsolves aggregation.

Definition at line 1087 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ AggregationPS() [1/2]

AggregationPS ( const SPxLPBase< R > &  lp,
int  _i,
int  _j,
rhs,
oldupper,
oldlower,
std::shared_ptr< Tolerances tols 
)

Definition at line 1105 of file spxmainsm.h.

◆ AggregationPS() [2/2]

AggregationPS ( const AggregationPS old)

copy constructor

Definition at line 1124 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 1152 of file spxmainsm.h.

References SPxMainSM< R >::AggregationPS, SPxMainSM< R >::PostStep::execute(), 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=()

AggregationPS& operator= ( const AggregationPS rhs)

Member Data Documentation

◆ m_col

DSVectorBase<R> m_col
private

Definition at line 1101 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 1091 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 1090 of file spxmainsm.h.

◆ m_lower

const R m_lower
private

Definition at line 1095 of file spxmainsm.h.

◆ m_obj

const R m_obj
private

Definition at line 1096 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 1093 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 1092 of file spxmainsm.h.

◆ m_oldlower

const R m_oldlower
private

Definition at line 1098 of file spxmainsm.h.

◆ m_oldupper

const R m_oldupper
private

Definition at line 1097 of file spxmainsm.h.

◆ m_rhs

const R m_rhs
private

Definition at line 1099 of file spxmainsm.h.

◆ m_row

DSVectorBase<R> m_row
private

Definition at line 1100 of file spxmainsm.h.

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

◆ m_upper

const R m_upper
private

Definition at line 1094 of file spxmainsm.h.