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)
 
 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, 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_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
 

Additional Inherited Members

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

Detailed Description

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

Postsolves aggregation.

Definition at line 1062 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ AggregationPS() [1/2]

AggregationPS ( const SPxLPBase< R > &  lp,
int  _i,
int  _j,
rhs,
oldupper,
oldlower 
)

Definition at line 1080 of file spxmainsm.h.

◆ AggregationPS() [2/2]

AggregationPS ( const AggregationPS old)

copy constructor

Definition at line 1098 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 1126 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 1076 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 1066 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 1065 of file spxmainsm.h.

◆ m_lower

const R m_lower
private

Definition at line 1070 of file spxmainsm.h.

◆ m_obj

const R m_obj
private

Definition at line 1071 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 1068 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 1067 of file spxmainsm.h.

◆ m_oldlower

const R m_oldlower
private

Definition at line 1073 of file spxmainsm.h.

◆ m_oldupper

const R m_oldupper
private

Definition at line 1072 of file spxmainsm.h.

◆ m_rhs

const R m_rhs
private

Definition at line 1074 of file spxmainsm.h.

◆ m_row

DSVectorBase<R> m_row
private

Definition at line 1075 of file spxmainsm.h.

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

◆ m_upper

const R m_upper
private

Definition at line 1069 of file spxmainsm.h.