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

Postsolves aggregation. More...

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

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
 
AggregationPSoperator= (const AggregationPS &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_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]

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

◆ AggregationPS() [2/2]

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

copy constructor

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

References SPxMainSM< R >::AggregationPS, 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 >
AggregationPS & operator= ( const AggregationPS & rhs)

Member Data Documentation

◆ m_col

template<class R >
DSVectorBase<R> m_col
private

Definition at line 1101 of file spxmainsm.h.

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

◆ m_i

template<class R >
const int m_i
private

Definition at line 1091 of file spxmainsm.h.

◆ m_j

template<class R >
const int m_j
private

Definition at line 1090 of file spxmainsm.h.

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

◆ m_lower

template<class R >
const R m_lower
private

Definition at line 1095 of file spxmainsm.h.

◆ m_obj

template<class R >
const R m_obj
private

Definition at line 1096 of file spxmainsm.h.

◆ m_old_i

template<class R >
const int m_old_i
private

Definition at line 1093 of file spxmainsm.h.

◆ m_old_j

template<class R >
const int m_old_j
private

Definition at line 1092 of file spxmainsm.h.

◆ m_oldlower

template<class R >
const R m_oldlower
private

Definition at line 1098 of file spxmainsm.h.

◆ m_oldupper

template<class R >
const R m_oldupper
private

Definition at line 1097 of file spxmainsm.h.

◆ m_rhs

template<class R >
const R m_rhs
private

Definition at line 1099 of file spxmainsm.h.

◆ m_row

template<class R >
DSVectorBase<R> m_row
private

◆ m_upper

template<class R >
const R m_upper
private

Definition at line 1094 of file spxmainsm.h.