Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::MultiAggregationPS Class Reference

Postsolves multi aggregation. More...

Public Member Functions

 MultiAggregationPS (const SPxLPBase< R > &lp, SPxMainSM &simplifier, int _i, int _j, R constant, std::shared_ptr< Tolerances > tols)
 
 MultiAggregationPS (const MultiAggregationPS &old)
 copy constructor More...
 
MultiAggregationPSoperator= (const MultiAggregationPS &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_const
 
const bool m_onLhs
 
const bool m_eqCons
 
DSVectorBase< R > m_row
 
DSVectorBase< R > m_col
 

Detailed Description

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

Postsolves multi aggregation.

Definition at line 1167 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ MultiAggregationPS() [1/2]

MultiAggregationPS ( const SPxLPBase< R > &  lp,
SPxMainSM simplifier,
int  _i,
int  _j,
constant,
std::shared_ptr< Tolerances tols 
)

Definition at line 1185 of file spxmainsm.h.

◆ MultiAggregationPS() [2/2]

copy constructor

Definition at line 1205 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 1233 of file spxmainsm.h.

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

Member Data Documentation

◆ m_col

DSVectorBase<R> m_col
private

Definition at line 1181 of file spxmainsm.h.

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

◆ m_const

const R m_const
private

Definition at line 1177 of file spxmainsm.h.

◆ m_eqCons

const bool m_eqCons
private

Definition at line 1179 of file spxmainsm.h.

◆ m_i

const int m_i
private

Definition at line 1171 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 1170 of file spxmainsm.h.

◆ m_lower

const R m_lower
private

Definition at line 1175 of file spxmainsm.h.

◆ m_obj

const R m_obj
private

Definition at line 1176 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 1173 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 1172 of file spxmainsm.h.

◆ m_onLhs

const bool m_onLhs
private

Definition at line 1178 of file spxmainsm.h.

◆ m_row

DSVectorBase<R> m_row
private

Definition at line 1180 of file spxmainsm.h.

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

◆ m_upper

const R m_upper
private

Definition at line 1174 of file spxmainsm.h.